Open mrjack711 opened 2 years ago
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?
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?
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 totable.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 totable.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.