Provides a node for grabbing Dahua DVR/NVR (digital video recorder) or IP-camera events like
VideoMotion
, AlarmLocal
, VideoLoss
and VideoBlind
.
Additionally it provides nodes to set Day or Night profile.
Supports digest authentication for the last Dahua firmware devices.
Debian based operation systems
sudo apt-get install build-essential git
Hass.io
Other operation systems
follow instructions https://github.com/nodejs/node-gyp#on-unix
Run the following command in your Node-RED user directory - typically ~/.node-red
npm i node-red-contrib-dahua-device
Configure motion detection on a Dahua device. Drop the Dahua device node to a flow.
If you want to trigger day or night profile, drop the Dahua device day / night node to a flow.