Hi,
I have connected my DAHUA VTO2022 to my HA.
My door is not directly connected to VTO but to HA with zigbee button.
I would like : When i press “open the door” on DMSS, HA open the door.
How i can see (entity?) when i press the button on DMSS (when i do it, my VTO say “the door is opened” but " [binary_sensor.portier_video_button_pressed]" stay at OFF).
I have seen message with the magnetic sensor but i don’t want to add fire as possible from door to VTO, i don’t want to drill )
Thanks for your answer
I wich you can understand, i’m french and i try to not use a translator
Sample commands are provided for some VTH actions, such as setting alarm status and clearing missed call records. The VTH can be configured to stream video feeds from IP cameras other than the VTO. Does anybody know of a command(s) to make the VTH display one of these preconfigured camera feeds?
My use case would be an automation flow such that a motion detection event, if classified by AI tools as involving a person, would cause the relevant camera’s video stream to be displayed on the VTH.
In my case in DMSS application when I try open the door which is not connected I get BackKeyLight event with State equal 9 (Unlock failed) you can use it to send command which press your zigbee button which will open the door.
Try Dahua VTO All Events or Dahua VTO automation from readme and check if you get this state when you try to open the door with DMSS application.
You copied too much, the readme doesn’t not have configuration - it’s contains different code snippets which you need to use as example to automate your needs. So first try only with sensors definition and after restarting Home Assistant check that sensors in OK state, when add Dahua VTO All Events automation from this example and check events you get, etc
PS: If you a new in Home Assistant YAML programming and you just start integration of Dahua VTO/VTH you can try this integration which is much user friendly.
Hi,
just to inform you I have a VTO9541D running with this integration. Works quite well.
I am just working on an automation to combine it with a nuki doorlock. I think just some small finetuning, and it works like a charm. Well done for this integration.
1st question: does this integration work with hacs 2.x? I am not sure if I should upgrade.
2nd question: my automation currently does not work with face unlock. Does this face unlock use a different return code, different from 8? Or why does my automation not respond as exptected to open the nuki.
Yes, it’s works with HACS 2.x same as before (without GUI configuration).
I’m not familiar with face unlock, but as you thinking it’s can have another BackKeyLight State code, please test it with your code or Dahua VTO All Events automation and let’s me know, if it’s different codes I will update readme. Please check also unlock failed with face unlock.
Hi Guys, im looking at buying either the VTO2211 or VTO3211. Wondering which has better compatibility with HA and this addon for various functions like lock control/video/audio.
Also do others have any suggestions or preference between the 2?
It has to be POE powered and work standalone without an indoor screen
Just wanted to mention that I got this working with my Lorex 2k doorbell (so it should also work with the Amcrest and Dahua doorbells). I was already using DahuaVTO2MQTT to detect doorbell presses (which is all I needed it for), so when I found this integration, I figured I’d try it out.
Since it just blindly parses all messages, I was able to use it for the PhoneCallDetect event which is triggered on button press.
This greatly simplifies my setup by eliminating the need for the docker container and monitoring it to ensure it’s working. I also really like how small and simple the code is… I don’t need video or anything else - literally bare bones just to get doorbell events, so this is perfect.
hello community, I have a VTO 4202f-p-s2 which has more bells ( buttons). How to automate so that a light bulb turns on at home after pressing a button number 3? Thank you!
It retries after a delay (timeout) of 10 seconds by default. It also tries to maintain a connection using a 60s keepalive (scan_interval). Both are configurable.
For those that may have a fully integrated doorbell like I do (Dahua ASI6214S-PW) and were unable to get it working with the custom VTO integration, after reading this thread and not seeing it, here is how I got the doorbell unlocking with home assistant:
Add the following shell command in your configuration.yaml file:
Simplest way would be to use the HA companion app and avoid having to mess with third party integrations. Once you have it set up, you would simply change your automation to this:
- alias: Dahua VTO Ring
mode: queued
trigger:
- platform: event
event_type: dahua_vto
event_data:
Code: BackKeyLight
- choose:
- conditions: >
{{ trigger.event.data.Data.State | int in [0, 1, 2, 5, 6] }}
sequence:
- service: homeassistant.turn_on
entity_id: switch.kitchen_light_switch
- service: notify.mobile_app_your_mobile
data:
message: Someone's at the door
title: Ding Dong
data:
color: blue
ttl: 0
priority: high
PS - You don’t need that choose part since you only have one condition.