13.07.2020, 14:21
Thx Admin,
This is what i made of it:
and this is what i get as log:
Relay doesn't switch
This is what i made of it:
Code:
--Doorbird Relay aansturen via http
value = grp.getvalue('5/0/2')
if value == true then
http = require('socket.http')
res, err = http.request('http://192.168.xxx.xxx/bha-api/open-door.cgi?r=xxxxxx@2?http-user=xxxxxx0001&http-password=**********')
log(res, err)
end
and this is what i get as log:
Code:
* arg: 1
* string: {
"BHA": {
"RETURNCODE": "0"
}
}
* arg: 2
* number: 503
Relay doesn't switch
Novice DIY with a HL and KNX basics trying to ...