Node-Red integration for Doorbird devices.
As this library potentially interacts with devices that are integrated in the security of the building, I want you to be aware of the fact, that you are using it at your own risk. I cannot be held responsible for any damage that occurs by the usage of this library.
Get the current image of the camera as a byte buffer.
Input:
Any message will trigger the request. Payload will be ignored.
Output:
{
"payload": <byte buffer>
}
Get basic information of the Doorbird device. Includes a manual trigger and can provide additional data, such as the available relays.
Input:
Any message will trigger the request. Payload will be ignored.
Output:
{
"payload": {
"BHA": {
"RETURNCODE": "1",
"VERSION": [
{
"FIRMWARE": "<your firmware",
"BUILD_NUMBER": "<your build number>",
"WIFI_MAC_ADDR": "<your wifi mac address>",
"RELAYS": [
"<any active relay>"
],
"DEVICE-TYPE": "<your device type>"
}
]
}
}
}
Turns on the infrared lights for night vision.
Input:
Any message will trigger the lights. Payload will be ignored.
Output:
{
"payload": {
"BHA": {
"RETURNCODE": "1"
}
}
}
Input node for motion detection events.
Output:
{
"payload": {
"intercomId": "<intercom that detected motion>",
"timestamp": "<timestamp of detection>"
}
}
Open a door by enabling any of Doorbird's relays.
Input:
Any message will trigger the relay. Payload will be ignored.
Output:
{
"payload": {
"BHA": {
"RETURNCODE": "1"
}
}
}
Restart the door station.
Input:
Any message will trigger the restart. Payload will be ignored.
Output:
""
The response is usually an empty string.
Input node for ring events.
Output:
{
"paylaod": {
"intercomId": "<intercom that detected motion>",
"event": "<for multiple ring buttons, this identifies it>",
"timestamp": "<timestamp of detection>"
}
}
View an image of the camera in the node-red-dashboard.
Input:
Any message will trigger an update of the image.
Output:
The original input message will be forwarded to the output of the node.
View live video of the camera in the node-red-dashboard.