Custom doorbell app with Home Assistant and WebRTC
13 days ago
- #Home Automation
- #Smart Doorbell
- #WebRTC
- Upgraded to a Dahua VTO2201F-P smart doorbell for integration with Home Assistant.
- Desired features included adding a camera to Frigate, remote answering, and silencing during sleep.
- Encountered initial frustrations with setup and configuration, leading to a custom solution.
- Custom solution features push notifications, edge-to-edge display, WebRTC, and faster user flow.
- Smart doorbells like Dahua and Hikvision use SIP protocol for communication, similar to telephony.
- Challenges with vendor-specific tweaks to protocols like RTSP, making third-party integration difficult.
- Frigate and go2rtc were key in setting up video feeds and enabling two-way audio.
- Custom UI built using WebRTC to improve latency and user experience over Home Assistant's default.
- Audio quality improvements included noise suppression and advanced voice isolation.
- Final app deployed locally, wrapped in a native app for better display and future feature expansion.
- Future enhancements include Picture-in-Picture support, multi-peer calls, and automated responses.