How tritue2011/imou-homeassistant works
Assist Camera is a Home Assistant integration that turns supported cameras into speakers, phone-to-camera intercom endpoints, and optional Assist satellites. The main flow captures camera microphone audio, feeds Home Assistant’s Assist pipeline, then plays the response through the camera speaker. Setup and device controls are included alongside the distinct speaker, intercom, and Assist paths. The README documents entity and remote-access capabilities beyond the sampled implementation; edges are limited to wiring established by the excerpts and documentation.
Main entry points: speaker.py Speaker playback · __init__.py Camera runtime entry · assist_satellite.py Assist satellite · config_flow.py Integration setup
Components 22
Setup and entities
- Integration setup
custom_components/dahua_talk/config_flow.py - Camera runtime entry
custom_components/dahua_talk/__init__.py - Mic and wake controls
custom_components/dahua_talk/switch.py - Microphone gain
custom_components/dahua_talk/number.py - Assistant selection
custom_components/dahua_talk/select.py
Camera audio
- Speaker media entity
custom_components/dahua_talk/media_player.py - Speaker playback
custom_components/dahua_talk/speaker.py - Imou talk session
custom_components/dahua_talk/talk.py - Imou HTTP talk
custom_components/dahua_talk/http_talk.py - RTSP talk session
custom_components/dahua_talk/rtsp_talk.py - Hikvision talk session
custom_components/dahua_talk/hik_talk.py
Assist satellite
- Assist satellite
custom_components/dahua_talk/assist_satellite.py - Vietnamese wake word
wakeword
Phone intercom
- Intercom source service
custom_components/dahua_talk/__init__.py - RTSP intercom server
custom_components/dahua_talk/rtsp_intercom.py - HTTP intercom receiver
custom_components/dahua_talk/intercom.py
Other components
- Home Assistant user
- Home Assistant
- Camera mic and speaker
- Phone microphone
- go2rtc
- Assist pipeline
Connections 29
- Home Assistant user → Integration setup: configures camera
- Integration setup → Camera runtime entry: creates entry
- Camera runtime entry → Speaker playback: initializes speaker
- Camera runtime entry → Assist satellite: forwards platform setup
- Camera runtime entry → Intercom source service: registers service
- Mic and wake controls → Camera runtime entry: updates mic settings
- Microphone gain → Camera runtime entry: sets gain
- Assistant selection → Assist satellite: selects pipeline
- Camera mic and speaker → Assist satellite: streams microphone audio
- Assist satellite → Assist pipeline: accepts audio and runs
- Assist pipeline → Assist satellite: returns speech output
- Assist satellite → Speaker playback: plays spoken response
- Vietnamese wake word → Assist pipeline: provides wake-word model
- Home Assistant user → Speaker media entity: requests playback
- Speaker media entity → Speaker playback: plays media
- Speaker playback → Imou talk session: opens selected session
- Speaker playback → Imou HTTP talk: opens selected session
- Speaker playback → RTSP talk session: opens selected session
- Speaker playback → Hikvision talk session: opens selected session
- Imou talk session → Camera mic and speaker: sends audio
- Imou HTTP talk → Camera mic and speaker: sends audio
- RTSP talk session → Camera mic and speaker: sends audio
- Hikvision talk session → Camera mic and speaker: sends audio
- Phone microphone → go2rtc: sends microphone audio
- go2rtc → RTSP intercom server: forwards Opus RTP
- RTSP intercom server → Speaker playback: decodes and feeds audio
- Intercom source service → go2rtc: returns stream source
- go2rtc → HTTP intercom receiver: posts audio stream
- HTTP intercom receiver → Speaker playback: feeds PCM audio