node-red-contrib-doorbird-ultimate

1.4.0 • Public • Published

node-red-contrib-doorbird-ultimate

Apache 2.0 License

Node-Red integration for Doorbird devices.

Sample Flow

Disclaimer

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.

Nodes

Image

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>
}

Info

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>"
                }
            ]
        }
    }
}

Light

Turns on the infrared lights for night vision.

Input:

Any message will trigger the lights. Payload will be ignored.

Output:

{
    "payload": {
        "BHA": {
            "RETURNCODE": "1"
        }
    }
}

Motion

Input node for motion detection events.

Output:

{
    "payload": {
        "intercomId": "<intercom that detected motion>",
        "timestamp": "<timestamp of detection>"
    }
}

Open

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

Restart the door station.

Input:

Any message will trigger the restart. Payload will be ignored.

Output:

""

The response is usually an empty string.

Ring

Input node for ring events.

Output:

{
    "paylaod": {
        "intercomId": "<intercom that detected motion>",
        "event": "<for multiple ring buttons, this identifies it>",
        "timestamp": "<timestamp of detection>"
    }
}

UI: Image

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.

UI: Video

View live video of the camera in the node-red-dashboard.

Package Sidebar

Install

npm i node-red-contrib-doorbird-ultimate

Weekly Downloads

11

Version

1.4.0

License

Apache-2.0

Unpacked Size

91.1 kB

Total Files

47

Last publish

Collaborators

  • ihrigb