Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with Dahua IPC-L26N Floodlight Camera #341

Open
bluezclouds opened this issue Mar 14, 2024 · 1 comment
Open

Working with Dahua IPC-L26N Floodlight Camera #341

bluezclouds opened this issue Mar 14, 2024 · 1 comment

Comments

@bluezclouds
Copy link

bluezclouds commented Mar 14, 2024

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
Copy link
Author

bluezclouds commented Mar 15, 2024

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:
https://[user]:[password]@[IP}/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=1
Light off:
https://[user]:[password]@[IP}/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=0

Siren on:
https://[user]:[password]@[IP}/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=2&info[0].IO=1
Siren off:
https://[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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant