mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	[micro_wake_word] add new VPE features (#8655)
This commit is contained in:
		| @@ -14,8 +14,24 @@ micro_wake_word: | ||||
|   microphone: echo_microphone | ||||
|   on_wake_word_detected: | ||||
|     - logger.log: "Wake word detected" | ||||
|     - micro_wake_word.stop: | ||||
|     - if: | ||||
|         condition: | ||||
|           - micro_wake_word.model_is_enabled: hey_jarvis_model | ||||
|         then: | ||||
|           - micro_wake_word.disable_model: hey_jarvis_model | ||||
|         else: | ||||
|           - micro_wake_word.enable_model: hey_jarvis_model | ||||
|     - if: | ||||
|         condition: | ||||
|           - not: | ||||
|               - micro_wake_word.is_running: | ||||
|         then: | ||||
|           micro_wake_word.start: | ||||
|   stop_after_detection: false | ||||
|   models: | ||||
|     - model: hey_jarvis | ||||
|       probability_cutoff: 0.7 | ||||
|       id: hey_jarvis_model | ||||
|     - model: okay_nabu | ||||
|       sliding_window_size: 5 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user