From e0f13f53f651ef5ad3166b343dfee2268b5d6107 Mon Sep 17 00:00:00 2001 From: radu Date: Mon, 26 Oct 2026 09:11:26 +0700 Subject: [PATCH] Enable Stop Listen --- services/voices3mb4.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/voices3mb4.yaml b/services/voices3mb4.yaml index d78dfc0..cd64f8a 100644 --- a/services/voices3mb4.yaml +++ b/services/voices3mb4.yaml @@ -53,13 +53,17 @@ voice_assistant: effect: none - lambda: id(voice_assistant_phase) = 2; - lambda: id(stt_vad_started) = false; + - script.execute: listening_timeout on_stt_vad_start: # Turn off the script if speech is detected - lambda: id(stt_vad_started) = true; + + on_stt_vad_end: #- logger.log: "===============================VAD is the END ==================================" + - script.stop: listening_timeout - light.turn_on: id: led blue: 100%