dahua icon indicating copy to clipboard operation
dahua copied to clipboard

Working with Dahua IPC-L26N Floodlight Camera

Open bluezclouds opened this issue 1 year ago • 1 comments

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!

bluezclouds avatar Mar 14 '24 23:03 bluezclouds

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.)

bluezclouds avatar Mar 15 '24 06:03 bluezclouds