Views
No views yet
1pip install -r requirements.txt
2# Additional dependencies for voice control
3pip install pyaudio keyboardha_control.pypython interactive_ha.py1Press SPACE to start/stop recording
2Recording started...
3Recording stopped
4You said: Turn on the living room lights
5Assistant: I'll turn on the lights for you.
6Executing: {'service': 'light.turn_on', 'target_device': 'light.livingroom'}
7
8Press SPACE to start/stop recording
9Recording started...
10Recording stopped
11You said: Open the bedroom curtains
12Assistant: I'll open the curtains for you.
13Executing: {'service': 'cover.open', 'target_device': 'cover.bedroom'}1You: Turn on the kitchen lights
2Assistant: Turning on the kitchen lights
3Executing: {'service': 'light.turn_on', 'target_device': 'light.kitchen'}1graph TD
2 A[User Voice] --> B(ASR Server)
3 B --> C(HomeAssistant Edge)
4 C --> D{Qwen2.5-1.5B Model}
5 D --> E[Command Parsing]
6 E --> F[Device Control]
7 F --> G[Smart Home Devices]
8
9 H[User Text] --> C