This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Doorbird API
#11
Thx Admin,

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 ...
Reply


Messages In This Thread
Doorbird API - by MantasJ - 10.03.2020, 15:12
RE: Doorbird API - by admin - 10.03.2020, 15:42
RE: Doorbird API - by MantasJ - 10.03.2020, 20:37
RE: Doorbird API - by admin - 11.03.2020, 06:59
RE: Doorbird API - by MantasJ - 11.03.2020, 08:17
RE: Doorbird API - by felixRo - 10.10.2022, 13:48
RE: Doorbird API - by admin - 11.03.2020, 08:57
RE: Doorbird API - by MantasJ - 11.03.2020, 09:17
RE: Doorbird API - by Firechief - 03.07.2020, 17:45
RE: Doorbird API - by Firechief - 13.07.2020, 12:47
RE: Doorbird API - by admin - 13.07.2020, 12:49
RE: Doorbird API - by Firechief - 13.07.2020, 14:21
RE: Doorbird API - by admin - 13.07.2020, 14:28
RE: Doorbird API - by Firechief - 13.07.2020, 14:34
RE: Doorbird API - by admin - 11.10.2022, 09:25

Forum Jump: