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

Infrared LED issue with VTO2111D-P-S2 #132

Open
mrjack711 opened this issue Jan 2, 2022 · 4 comments
Open

Infrared LED issue with VTO2111D-P-S2 #132

mrjack711 opened this issue Jan 2, 2022 · 4 comments

Comments

@mrjack711
Copy link

mrjack711 commented Jan 2, 2022

Hi,

Thanks for this integration, it almost works perfectly for me.

I've been trying to set it up with a VTO2111D-P-S2 (https://www.dahuasecurity.com/products/productDetail/43037).
The integration finds the devices and sets up the camera entities and sensors but the Infrared switch is not working.

For some reason, this device has infrared LEDs but they do not automatically come on when the light level goes down.
Looking at the following API item:
https://192.168.1.77/cgi-bin/configManager.cgi?action=getConfig&name=Lighting
produces this result:
table.Lighting[0][0].Mode=Off

Running this command:
https://192.168.1.77/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][0].Mode=On
produces this result: table.Lighting[0][0].Mode=On and turns on the LEDs for a few seconds, then they automatically turn off again. The result goes back to table.Lighting[0][0].Mode=Off afterwards.

Running this command:
https://192.168.1.77/cgi-bin/configManager.cgi?action=setConfig&Lighting[0][0].Mode=SmartLight
produces this result: table.Lighting[0][0].Mode=SmartLight and turns on the LEDs for a few seconds, then they automatically turn off again. The result goes back to table.Lighting[0][0].Mode=Off afterwards.

Looking around on this forum ( https://ipcamtalk.com/threads/dahua-vto2111d-wp-information-and-hacking.22940/post-377381 ) it seems the device also turns on the LEDs when a call is made but i don't have a SIP server setup to test this.
Do you know of any other API commands regarding the LEDs that can get around this?

If there are any other logs etc that I can provide for troubleshooting, please let me know.

@dhcpy
Copy link

dhcpy commented Mar 7, 2022

Hello @mrjack711 I have the exact same device. Same problem with the LED.
During a call the LED does turn on. You can install Dahua's android app, DMSS or gDMSS on a cellphone and add the VTO there. Then you press call and it does turn on.

The problem I have, apart from the LED, is that I can't get the button pressed binary sensor to work. How did you get that working?

@itkfilelor
Copy link
Contributor

With my Amcrest floodlight, I needed to turn off the light (turn off SmartMode) from the app first, before I could use API commands. Might be worth a try?

@jcortizronda
Copy link

I have this problem too. Any solution?

@VitalyIak
Copy link

same issue, also infrared doesn't work at following cameras:
Dahua IPC-HDW4431C-A-V2 (Software version - 2.420.0000.22.R,build:2016-12-09)
Dahua IPC-A35 (Software version - 2.460.0000.16.R,build:2018-01-09)
@rroller Please help!

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

5 participants