Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device doesn't wake up after period of being idle #21

Open
churchofnoise opened this issue Mar 29, 2024 · 2 comments
Open

Device doesn't wake up after period of being idle #21

churchofnoise opened this issue Mar 29, 2024 · 2 comments
Labels

Comments

@churchofnoise
Copy link

churchofnoise commented Mar 29, 2024

I have 3 former Nest Mini 2's with the PCB board and the config provided here.
I have however noticed that each of them fails to 'awake' after having been idle for an extended period of time (with the listening turned off). The only solution is to hard cycle the device.
(for completion: using the regular approach, not the one with microwakeword)

Could you please look into this?
Thanks!

@tetele tetele added the bug label Apr 15, 2024
@cibernox
Copy link

cibernox commented Jun 7, 2024

I confirm the same symptoms. The device responds to the wake work once when freshly booted, then goes to idle and it won't answer ever again.

These are the last lines of the logs. After becoming IDLE, it will never respond again:

[15:59:25][D][micro_wake_word:177]: State changed from IDLE to START_MICROPHONE
[15:59:25][D][micro_wake_word:115]: Starting Microphone
[15:59:25][D][esp_adf_pipeline:050]: Starting request, current state STOPPED
[15:59:25][D][esp_adf_pipeline:302]: State changed from STOPPED to PREPARING
[15:59:25][D][micro_wake_word:177]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[15:59:25][D][esp_adf_pipeline:302]: State changed from PREPARING to STARTING
[15:59:25][D][esp-idf:000]: I (38114) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:8400959 Bytes, Inter:161224 Bytes, Dram:161224 Bytes


[15:59:25][D][esp-idf:000][i2s_in]: I (38116) AUDIO_ELEMENT: [i2s_in] AEL_MSG_CMD_RESUME,state:1

[15:59:25][D][esp-idf:000]: I (38118) AUDIO_PIPELINE: Pipeline started

[15:59:25][I][esp_adf_pipeline:214]: [ pcm_reader ] status: 14
[15:59:25][I][esp_adf_pipeline:214]: [ i2s_in ] status: 14
[15:59:25][I][esp_adf_pipeline:214]: [ pcm_reader ] status: 12
[15:59:25][D][esp_adf_pipeline:131]: Check element [i2s_in] status, 3
[15:59:25][D][esp_adf_pipeline:131]: Check element [pcm_reader] status, 3
[15:59:25][D][esp_adf_pipeline:302]: State changed from STARTING to RUNNING
[15:59:25][D][micro_wake_word:177]: State changed from STARTING_MICROPHONE to DETECTING_WAKE_WORD
[15:59:25][I][esp_adf_pipeline:214]: [ i2s_in ] status: 12
[15:59:31][D][micro_wake_word:362]: Wake word sliding average probability is 0.545 and most recent probability is 0.976
[15:59:31][D][micro_wake_word:128]: Wake Word Detected
[15:59:31][D][micro_wake_word:177]: State changed from DETECTING_WAKE_WORD to STOP_MICROPHONE
[15:59:31][D][micro_wake_word:134]: Stopping Microphone
[15:59:31][D][esp_adf_pipeline:302]: State changed from RUNNING to STOPPING
[15:59:31][D][micro_wake_word:177]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
[15:59:31][D][esp-idf:000][i2s_in]: W (43731) AUDIO_ELEMENT: OUT-[i2s_in] AEL_IO_ABORT

[15:59:31][D][esp-idf:000][i2s_in]: W (43733) AUDIO_ELEMENT: OUT-[i2s_in] AEL_IO_ABORT

[15:59:31][D][esp-idf:000][i2s_in]: W (43735) AUDIO_ELEMENT: OUT-[i2s_in] AEL_IO_ABORT

[15:59:31][D][esp-idf:000][i2s_in]: W (43738) AUDIO_ELEMENT: OUT-[i2s_in] AEL_IO_ABORT

[15:59:31][D][esp_adf_pipeline:302]: State changed from STOPPING to STOPPED
[15:59:31][D][micro_wake_word:177]: State changed from STOPPING_MICROPHONE to IDLE

@tetele
Copy link
Owner

tetele commented Jun 7, 2024

@cibernox that's a different issue and it's caused by this esphome/issues#5794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants