Integrate a Dahua VTO doorbell into Home Assistant. The instructions are made for a manual Home Assistant installation (without Docker) on a Raspberry Pi 4.
Credits goes to @riogrande75 who wrote that complicated integration Original code can be found in @riogrande75/Dahua
Make some modifications to your Dahua VTO doorbell
- Enable Motion detection (if you want to listen to video detection events)
- Enable the SIP Server. You can specify the same IP address as your doorbell. Only with this option available the script will listen to events when you press the caller button
For the php event handler to work you need to have composer installed. Install the php/mqtt library with: php composer.phar require php-mqtt/client
Dahua event API documentation is part of the repository New firmware can be found here: https://www.dahuasecurity.com/support/downloadCenter/firmware?child=607
- Create and run a service for the event listener script
- Modify the event listener script from @riogrande75 to publish events to a MQTT broker on events and save screenshots to your folder of choice
- create the necassary sensors in Home Assistant
- create the necassary automation(s) in Home Assistant to send you a decent notification when someone presses the your doorbell