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
#1
Hello,

Has anyone succesfully integrated "Doorbird" API into LM? I ask this, because I face a problem and don't understand why it appears. API documentation is here: https://www.doorbird.com/downloads/api_lan.pdf?rev=0.27 I use the "monitor request" function, which gives me a live stream of doorbell and motion sensor events. My problem is sometimes that the log gives: Error code 509, which means that stream is busy (509  Bandwidth Limit Exceeded. 509  Bandwidth Limit Exceeded. Maximum number of clients reached.) - but why? I don't have it opened anywehere else, so I don't understand. If the problem somewhy goes away and there is no 509 error, then the result is just nil. What am I doing wrong? If I'm trying to watch the stream from my browser then everything works fine... Here is my code:

Quote:require('json')
local http = require('socket.http')

res, err = http.request('http://192.168.100.211/bha-api/monitor.cgi?ring=doorbird,motionsensor&http-user=hereItypeUsername&http-password=hereItypePassword', '')

log(res, err)
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: