Refactor wake word detection: Set wake word to "Hey Jarvis" and adjust light behavior on error

This commit is contained in:
Joshua King
2026-03-01 17:54:27 -05:00
parent 9a91f775c9
commit 8bb8f09f64

View File

@@ -150,6 +150,7 @@ micro_wake_word:
- model: hey_jarvis
on_wake_word_detected:
- voice_assistant.start:
wake_word: "Hey Jarvis"
- light.turn_on:
id: led_ww
red: 100%
@@ -162,6 +163,7 @@ voice_assistant:
id: va
microphone: va_mic
speaker: va_speaker
use_wake_word: false
noise_suppression_level: 2.0
auto_gain: 31dBFS
volume_multiplier: 4.0
@@ -178,11 +180,23 @@ voice_assistant:
then:
- light.turn_off: led_ww
on_error:
- micro_wake_word.start:
- light.turn_on:
id: led_ww
red: 100%
green: 0%
blue: 0%
brightness: 30%
effect: fast pulse
- delay: 1s
- light.turn_off: led_ww
on_end:
then:
- light.turn_off: led_ww
- wait_until:
not:
voice_assistant.is_running:
- micro_wake_word.start:
- if:
condition:
switch.is_off: mute
then:
- micro_wake_word.start: