Skip to content

Commit

Permalink
add stop wake word model (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrendt authored Oct 16, 2024
1 parent 247034a commit c8c8af0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions home-assistant-voice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ switch:
internal: true
restore_mode: ALWAYS_OFF
on_turn_off:
# Disable stop wake word
- lambda: id(stop).disable();
# Stop any current annoucement (ie: stop the timer ring mid playback)
- if:
condition:
Expand All @@ -241,6 +243,8 @@ switch:
- nabu.set_ducking:
decibel_reduction: 20
duration: 0.0s
# Enable stop wake word
- lambda: id(stop).enable();
# Ring timer
- script.execute: ring_timer
# Refresh LED
Expand Down Expand Up @@ -1457,6 +1461,9 @@ micro_wake_word:
id: hey_jarvis
- model: hey_mycroft
id: hey_mycroft
- model: https://github.com/kahrendt/microWakeWord/releases/download/stop/stop.json
id: stop
internal: true
vad:
microphone: comm_mic
on_wake_word_detected:
Expand Down

0 comments on commit c8c8af0

Please sign in to comment.