Open bluezclouds opened 4 months ago
I spent a few hours figuring out the GET commands required to control the light and siren. (The API doc was incorrect.) Perhaps they'll be helpful for this model and other Dahua products if these controls are added in a future release.
Light on: http://[user]:[password]@[IP}/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=1 Light off: http://[user]:[password]@[IP}/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=0
Siren on: http://[user]:[password]@[IP}/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=2&info[0].IO=1 Siren off: http://[user]:[password]@[IP}/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=2&info[0].IO=2 (IO=2 is the correct string to turn off the siren.)
Live video (both Main and Sub), Motion Alarm and Alarm Local (not sure what that one is) are working with the Dahua IPC-L26N. Floodlight Camera. Disarming, Infrared and Motion Detection controls are shown.
Missing are light and siren controls.
Thanks for a great integration!