You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an ESP32-S3-BOX-3 integrated with Home Assistant.
I want to create a button that wakes it up and switches it to listening mode without a wake-up word.
I added a button
When waking up via the wake word, everything works correctly (logs as follow):
[14:05:11][C][api:141]: Address: esp32-s3-box-3-05b950.local:6053
[14:05:11][C][api:143]: Using noise encryption: YES
[14:05:11][C][micro_wake_word:051]: microWakeWord:
[14:05:11][C][micro_wake_word:052]: models:
[14:05:11][C][micro_wake_word:015]: - Wake Word: Okay Nabu
[14:05:11][C][micro_wake_word:016]: Probability cutoff: 0.970
[14:05:11][C][micro_wake_word:017]: Sliding window size: 5
[14:05:13][D][micro_wake_word:160]: The 'Okay Nabu' model sliding average probability is 0.987 and most recent probability is 1.000
[14:05:13][D][micro_wake_word:123]: Wake Word 'Okay Nabu' Detected
[14:05:13][D][micro_wake_word:194]: State changed from DETECTING_WAKE_WORD to STOP_MICROPHONE
[14:05:13][D][micro_wake_word:129]: Stopping Microphone
[14:05:13][D][micro_wake_word:194]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
[14:05:13][D][micro_wake_word:194]: State changed from STOPPING_MICROPHONE to IDLE
[14:05:13][D][voice_assistant:505]: State changed from IDLE to START_MICROPHONE
[14:05:13][D][voice_assistant:512]: Desired state set to START_PIPELINE
[14:05:14][D][voice_assistant:223]: Starting Microphone
[14:05:14][D][voice_assistant:505]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[14:05:14][D][voice_assistant:505]: State changed from STARTING_MICROPHONE to START_PIPELINE
[14:05:14][D][voice_assistant:277]: Requesting start...
[14:05:14][D][voice_assistant:505]: State changed from START_PIPELINE to STARTING_PIPELINE
[14:05:14][D][voice_assistant:527]: Client started, streaming microphone
[14:05:14][D][voice_assistant:505]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE
[14:05:14][D][voice_assistant:512]: Desired state set to STREAMING_MICROPHONE
[14:05:14][D][voice_assistant:642]: Event Type: 1
[14:05:14][D][voice_assistant:645]: Assist Pipeline running
[14:05:14][D][voice_assistant:642]: Event Type: 3
[14:05:14][D][voice_assistant:656]: STT started
[14:05:14][D][text_sensor:064]: 'text_request': Sending state '...'
[14:05:14][D][text_sensor:064]: 'text_response': Sending state '...'
[14:05:14][W][component:237]: Component voice_assistant took a long time for an operation (229 ms).
[14:05:14][W][component:238]: Components should block for at most 30 ms.
[14:05:16][D][voice_assistant:642]: Event Type: 11
[14:05:16][D][voice_assistant:805]: Starting STT by VAD
[14:05:19][D][voice_assistant:642]: Event Type: 12
[14:05:19][D][voice_assistant:809]: STT by VAD end
[14:05:19][D][voice_assistant:505]: State changed from STREAMING_MICROPHONE to STOP_MICROPHONE
[14:05:19][D][voice_assistant:512]: Desired state set to AWAITING_RESPONSE
[14:05:19][D][voice_assistant:505]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
Here are the logs of the incorrect operation of the device (device restart) when woken up by the button. The device wakes up correctly but restarts when attempting to recognize a command:
[14:06:03][C][micro_wake_word:051]: microWakeWord:
[14:06:03][C][micro_wake_word:052]: models:
[14:06:03][C][micro_wake_word:015]: - Wake Word: Okay Nabu
[14:06:03][C][micro_wake_word:016]: Probability cutoff: 0.970
[14:06:03][C][micro_wake_word:017]: Sliding window size: 5
[14:06:07][D][button:010]: 'Wakeword' Pressed.
[14:06:07][D][voice_assistant:505]: State changed from IDLE to START_MICROPHONE
[14:06:07][D][voice_assistant:512]: Desired state set to START_PIPELINE
[14:06:07][D][voice_assistant:223]: Starting Microphone
[14:06:07][D][voice_assistant:505]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[14:06:07][D][voice_assistant:505]: State changed from STARTING_MICROPHONE to START_PIPELINE
[14:06:07][D][voice_assistant:277]: Requesting start...
[14:06:07][D][voice_assistant:505]: State changed from START_PIPELINE to STARTING_PIPELINE
[14:06:07][D][voice_assistant:527]: Client started, streaming microphone
[14:06:07][D][voice_assistant:505]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE
[14:06:07][D][voice_assistant:512]: Desired state set to STREAMING_MICROPHONE
[14:06:07][D][voice_assistant:642]: Event Type: 1
[14:06:07][D][voice_assistant:645]: Assist Pipeline running
[14:06:07][D][voice_assistant:642]: Event Type: 3
[14:06:07][D][voice_assistant:656]: STT started
[14:06:07][D][text_sensor:064]: 'text_request': Sending state '...'
[14:06:07][D][text_sensor:064]: 'text_response': Sending state '...'
[14:06:07][W][component:237]: Component voice_assistant took a long time for an operation (227 ms).
[14:06:07][W][component:238]: Components should block for at most 30 ms.
[14:06:10][D][voice_assistant:642]: Event Type: 11
[14:06:10][D][voice_assistant:805]: Starting STT by VAD
[14:06:12][D][voice_assistant:642]: Event Type: 12
[14:06:12][D][voice_assistant:809]: STT by VAD end
[14:06:12][D][voice_assistant:505]: State changed from STREAMING_MICROPHONE to STOP_MICROPHONE
[14:06:12][D][voice_assistant:512]: Desired state set to AWAITING_RESPONSE
[14:06:12][D][voice_assistant:505]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
[14:06:12][W][component:237]: Component voice_assistant took a long time for an operation (238 ms).
[14:06:12][W][component:238]: Components should block for at most 30 ms.
[14:06:12][D][voice_assistant:642]: Event Type: 4
The text was updated successfully, but these errors were encountered:
pschmidtpl
changed the title
Problem with restart ESP32-S3-BOX-3 using manual trigger button
Problem with restart ESP32-S3-BOX-3 using manual external button
Mar 5, 2025
As there has been no activity on this issue for 30 days, I am marking it as stale. If you think this is a mistake, please comment below and I will remove the stale label.
I have an ESP32-S3-BOX-3 integrated with Home Assistant.
I want to create a button that wakes it up and switches it to listening mode without a wake-up word.
I added a button
Unfortunately, triggering it causes the device to restart when recognizing a command.
I have also try simple:
with the same result (restat device)
When waking up via the wake word, everything works correctly (logs as follow):
[14:05:11][C][api:141]: Address: esp32-s3-box-3-05b950.local:6053
[14:05:11][C][api:143]: Using noise encryption: YES
[14:05:11][C][micro_wake_word:051]: microWakeWord:
[14:05:11][C][micro_wake_word:052]: models:
[14:05:11][C][micro_wake_word:015]: - Wake Word: Okay Nabu
[14:05:11][C][micro_wake_word:016]: Probability cutoff: 0.970
[14:05:11][C][micro_wake_word:017]: Sliding window size: 5
[14:05:13][D][micro_wake_word:160]: The 'Okay Nabu' model sliding average probability is 0.987 and most recent probability is 1.000
[14:05:13][D][micro_wake_word:123]: Wake Word 'Okay Nabu' Detected
[14:05:13][D][micro_wake_word:194]: State changed from DETECTING_WAKE_WORD to STOP_MICROPHONE
[14:05:13][D][micro_wake_word:129]: Stopping Microphone
[14:05:13][D][micro_wake_word:194]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
[14:05:13][D][micro_wake_word:194]: State changed from STOPPING_MICROPHONE to IDLE
[14:05:13][D][voice_assistant:505]: State changed from IDLE to START_MICROPHONE
[14:05:13][D][voice_assistant:512]: Desired state set to START_PIPELINE
[14:05:14][D][voice_assistant:223]: Starting Microphone
[14:05:14][D][voice_assistant:505]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[14:05:14][D][voice_assistant:505]: State changed from STARTING_MICROPHONE to START_PIPELINE
[14:05:14][D][voice_assistant:277]: Requesting start...
[14:05:14][D][voice_assistant:505]: State changed from START_PIPELINE to STARTING_PIPELINE
[14:05:14][D][voice_assistant:527]: Client started, streaming microphone
[14:05:14][D][voice_assistant:505]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE
[14:05:14][D][voice_assistant:512]: Desired state set to STREAMING_MICROPHONE
[14:05:14][D][voice_assistant:642]: Event Type: 1
[14:05:14][D][voice_assistant:645]: Assist Pipeline running
[14:05:14][D][voice_assistant:642]: Event Type: 3
[14:05:14][D][voice_assistant:656]: STT started
[14:05:14][D][text_sensor:064]: 'text_request': Sending state '...'
[14:05:14][D][text_sensor:064]: 'text_response': Sending state '...'
[14:05:14][W][component:237]: Component voice_assistant took a long time for an operation (229 ms).
[14:05:14][W][component:238]: Components should block for at most 30 ms.
[14:05:16][D][voice_assistant:642]: Event Type: 11
[14:05:16][D][voice_assistant:805]: Starting STT by VAD
[14:05:19][D][voice_assistant:642]: Event Type: 12
[14:05:19][D][voice_assistant:809]: STT by VAD end
[14:05:19][D][voice_assistant:505]: State changed from STREAMING_MICROPHONE to STOP_MICROPHONE
[14:05:19][D][voice_assistant:512]: Desired state set to AWAITING_RESPONSE
[14:05:19][D][voice_assistant:505]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
Here are the logs of the incorrect operation of the device (device restart) when woken up by the button. The device wakes up correctly but restarts when attempting to recognize a command:
[14:06:03][C][micro_wake_word:051]: microWakeWord:
[14:06:03][C][micro_wake_word:052]: models:
[14:06:03][C][micro_wake_word:015]: - Wake Word: Okay Nabu
[14:06:03][C][micro_wake_word:016]: Probability cutoff: 0.970
[14:06:03][C][micro_wake_word:017]: Sliding window size: 5
[14:06:07][D][button:010]: 'Wakeword' Pressed.
[14:06:07][D][voice_assistant:505]: State changed from IDLE to START_MICROPHONE
[14:06:07][D][voice_assistant:512]: Desired state set to START_PIPELINE
[14:06:07][D][voice_assistant:223]: Starting Microphone
[14:06:07][D][voice_assistant:505]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[14:06:07][D][voice_assistant:505]: State changed from STARTING_MICROPHONE to START_PIPELINE
[14:06:07][D][voice_assistant:277]: Requesting start...
[14:06:07][D][voice_assistant:505]: State changed from START_PIPELINE to STARTING_PIPELINE
[14:06:07][D][voice_assistant:527]: Client started, streaming microphone
[14:06:07][D][voice_assistant:505]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE
[14:06:07][D][voice_assistant:512]: Desired state set to STREAMING_MICROPHONE
[14:06:07][D][voice_assistant:642]: Event Type: 1
[14:06:07][D][voice_assistant:645]: Assist Pipeline running
[14:06:07][D][voice_assistant:642]: Event Type: 3
[14:06:07][D][voice_assistant:656]: STT started
[14:06:07][D][text_sensor:064]: 'text_request': Sending state '...'
[14:06:07][D][text_sensor:064]: 'text_response': Sending state '...'
[14:06:07][W][component:237]: Component voice_assistant took a long time for an operation (227 ms).
[14:06:07][W][component:238]: Components should block for at most 30 ms.
[14:06:10][D][voice_assistant:642]: Event Type: 11
[14:06:10][D][voice_assistant:805]: Starting STT by VAD
[14:06:12][D][voice_assistant:642]: Event Type: 12
[14:06:12][D][voice_assistant:809]: STT by VAD end
[14:06:12][D][voice_assistant:505]: State changed from STREAMING_MICROPHONE to STOP_MICROPHONE
[14:06:12][D][voice_assistant:512]: Desired state set to AWAITING_RESPONSE
[14:06:12][D][voice_assistant:505]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
[14:06:12][W][component:237]: Component voice_assistant took a long time for an operation (238 ms).
[14:06:12][W][component:238]: Components should block for at most 30 ms.
[14:06:12][D][voice_assistant:642]: Event Type: 4
This is where the reset occurs.
Full file esp32-s3-box-3-05b950.yaml:
The text was updated successfully, but these errors were encountered: