Thanks for creating this integration. I was able to get it working without too much effort.
Just to confirm, it looks like this integration polls the VTO to learn about state changes (e.g. doorbell button), and it’s not an asynchronous solution, correct?
Background is that I am considering the MQTT path because it appears to be truly async, but there’s a bit more to that including running a docker container…
Thanks and I’ve got the MQTT approach going. I like the way it’s asynchronous and think it’s a better design albeit a bit harder to set up for non tech folk.
I just wanted to confirm that the add-on that is the subject of this thread indeed polls the device to determine state.
Dahua VTO to MQTT Broker and this integration use exactly same (asynchronous) way to work with VTOs, subscribe and listen for events, just this integration can work only with Home Assistant but doesn’t requires MQTT and installation in docker container.
Look like your device has different control port, usually it’s 5000 but sometimes can be 37777. You can try to configure your VTO in mobile application DMSS and check if it’s can connect and control your VTO.
Sure it’s can be wrong IP or something block connection to your device from Home Assistant.
I’ve added it to my configuration.yaml. Like this:
sensor:
platform: dahua_vto
name: first_floor_monitor
host: 192.168.1.22
username: admin
password: xxxxx ← this is the password of the device. Default its 123456 I think
What do you want to achieve? I’ve added my VTH panel so I can control the Home Assistant alarm (Alarmo) from the VTH and vice versa. This is in no way connected to the VTO. (for me)