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

"Bad request" turning on illuminator DH-IPC-HDW1430DT-STW #434

Open
gericho opened this issue Dec 8, 2024 · 6 comments
Open

"Bad request" turning on illuminator DH-IPC-HDW1430DT-STW #434

gericho opened this issue Dec 8, 2024 · 6 comments

Comments

@gericho
Copy link

gericho commented Dec 8, 2024

Thank you for your efforts!

I’m encountering an issue with a DH-IPC-HDW1430DT-STW camera. The illuminator dimming function (dahua.xxx_infrared) works fine, but attempting to turn it on or off (dahua.xxx_illuminator) results in an error.

Failed to perform the action light/turn_on. 400, message='Bad Request', url='http://192.168.0.103/cgi-bin/configManager.cgi?action=setConfig&Lighting_V2%5B0%5D%5B0%5D%5B0%5D.Mode=Manual&Lighting_V2%5B0%5D%5B0%5D%5B0%5D.MiddleLight%5B0%5D.Light=39'

Thank you for your help!

@manjump
Copy link

manjump commented Dec 11, 2024

Hi gericho, is it possible to connect with HA??

Thanks

@gericho
Copy link
Author

gericho commented Dec 11, 2024

Thank you for your reply! If you mean if I can watch the stream trough HA, yes it is. kindly see the attachment.
Infrared dimmer works if I force the B/W mode using the camera IP address/conditions/day & night, but I cannot switch from colour to B/W and vice versa in HA using dahua.xxx_illuminator switch.
Thank you!

Screenshot 2024-12-11 220332

@manjump
Copy link

manjump commented Dec 11, 2024

Strange because I can't to configure in HA. Though it works fine with frigate. The human detection works?

@gericho
Copy link
Author

gericho commented Dec 11, 2024

I had to update the camera firmware manually and reset the camera to factory default, reconfigure it without using a backup. Then you need to disable onvif authentication in network/access platform/onvif tab. It's not a good practice in my opinion but a vlan or a good firewall can at least arginate the problem. Otherwise I noticed it works better using the HTTPS certificate and connect to the 443 instead of the 80.

BTW the illuminator switch doesn't work as mentioned on the first post.

And yes, Frigate works flawlessly with object detection too.

@manjump
Copy link

manjump commented Dec 14, 2024

Hello gericho. If you use the caméra alone, with DMSS app, the human détection works??

@gericho
Copy link
Author

gericho commented Dec 14, 2024

Hello gericho. If you use the caméra alone, with DMSS app, the human détection works??

Off-topic: I'm not using DMSS or camera alarms functions since they don't compare to Frigate's computer vision and integration. By the way, I'm not even sure if my model has that functionality.

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

2 participants