-
Notifications
You must be signed in to change notification settings - Fork 73
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
AV-VTA05-22AV2 - Get Button Press #329
Comments
In developer tools go to events and subscribe to dahua_event_received, the press the button and see if an event comes through specific to those buttons |
I can see those events:
I assume Index = 0 first button, index 1 = second button? |
i tested with:
and with
But with no success - sometimes these events are fired even without pressing the doorbell-button... :-/ someone an idea? |
I don't think any of those are related to the buttons, the "InterVideoAccess" event seems to be routinely sent on mine too but is unrelated to a button press. The model you have looks the same as the VTO4202 so I'd assume it works the same. The model I use is the VTO2311R-WP which sends an "Invite" event when the button is pressed, I use this for my doorbell automation..... platform: event You have two different buttons so you might get something different. One thing I have seen before when testing mine was if my VTO was not configured as the SIP server, the events did not come through. How are you using the unit, do you have it registered to a SIP server? If not, I'd make sure you have SIP server ticked in the web browser config of the device. |
thanks for the reply. I purchased mine on https://www.goliath-shop.de but its just rebranded. In the webinterface, SIP Server is enabled. IP 192.168.178.110 is the main device. I also have two of the indoor screens. In Webinterface i can see the two klicks as call-type inbound and status of "accepted" or "missed". The missed one was the test click. The accepted one was a test if someone accepted the call on the display. So somewhere there must be the event which i can capture... (Screenshot in German) |
No one an idea? :-/ |
Since first setting mine up I can see in the documentation that there is an event "BackKeyLight" that relates to VTO events, which should be usable but I guess you don't see these either? You could try editing the config_flow.py file within the dahua folder in your HA and adding the option for All to the "All Events" section and restart HA (backup your original file first). Then delete the integration and readd it, this option should then appear in the list of events to subscribe to and will subscribe your HA to all events from that device rather than specific ones. Then test again using developer tools and see which events come through. |
I was not able to get it working, even with the adjustments to the mentioned config_flow.py file. Nevertheless i had some success. But i used VTO2MQTT (https://github.com/intermittech/hassio-addons) seen on https://blog.quindorian.org/2020/08/the-video-doorbell-that-does-home-assistant-nvr.html/ Topic: DahuaVTO > BackKeyLight > Event > Data > State could be: So but there are still some questions / tests open:
|
Hello,
thanks for the integration!
Im using a AV-VTA05-22AV2 with 2 Bell-Buttons. (2-family House).
How can i get the press of one of the buttons to trigger an automation in Home-Assistant?
Thank you very much.
The text was updated successfully, but these errors were encountered: