10.03.2020, 15:12 (This post was last modified: 10.03.2020, 15:13 by MantasJ.)
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')
Try this resident script (sleep time = 0), change USER and PASS to your auth data. It will log all incoming data (log(line)). This is to check if there are any errors during communication. If everything is working then comment/delete this line.
(11.03.2020, 06:59)admin Wrote: Try this resident script (sleep time = 0), change USER and PASS to your auth data. It will log all incoming data (log(line)). This is to check if there are any errors during communication. If everything is working then comment/delete this line.
Thank You! It seems it does work, but it has a strange behaviour - I get the data fine, but I still get alert: "receive failed:timeout" - is this something I should worry about and check out or I could just comment the alert line and ignore it?
I bought a Doorbird Video Doorstation D1101V wich can open the sliding gate with the integrated relay and the Doorbird IP I/O expansion module wich allows me to also open the 2 garage doors and the front door. For the moment the garage doors are controlled by the remotes and KNX buttons inside the garage over a switch actuator with a script attached: ON - 0.5s delay - OFF.
Is it possible and can someone help me to reconnect the KNX buttons in the garage (trough script or something) so I can control the garage doors as before. It should be possible trough API with
(11.03.2020, 06:59)admin Wrote: Try this resident script (sleep time = 0), change USER and PASS to your auth data. It will log all incoming data (log(line)). This is to check if there are any errors during communication. If everything is working then comment/delete this line.
Hello together, i think the code you provided does not fit for python, so i changed it a bit to make it work.. But i still receive error-code 504 back for this. Could you provide a solution which fits for python?