ioBroker.doorbird
ioBroker.doorbird copied to clipboard
Suggestion to use Doorbird client library
I'd like to suggest to move this implementation to my client library for the Doorbird API: https://github.com/ihrigb/node-doorbird. I will try to find some time to work on a proposal during the holidays.
Good idea!
Hi, is it possible to get the favourites? I se only set favourite and update favourite, but how can I update one if I don't know the id of them? Second question: for doorbell and motion, no favourites are needed anymore, correct?
The library has a listFavorites
method (https://github.com/ihrigb/node-doorbird/blob/main/src/index.ts#L534). Seems like I forgot to document this in the README.
For your second question: The library comes with a UDP socket that listens on either of Doorbird's UDP ports and can handle incoming broadcasts (for ring and motion events). The problem sometimes is that this library is often used in Docker environments with a bridge network. In these circumstances, UDP broadcast messages are not forwarded to the container and hence the message will not reach the socket. For that, either another network configuration (host or macvlan) are necessary, or the registration of a favorite is handy.