esphome / firmware

Holds firmware configuration files for projects that the ESPHome team provides.
https://esphome.io/projects
Apache License 2.0
164 stars 124 forks source link

Atom-M5-echo freezes when script is run #158

Open carkom opened 9 months ago

carkom commented 9 months ago

Hey all, I have a voice command that runs a script and has no speech response set to return to the atom-echo satellite. This causes the echo to wait infinitely for a response to be returned which is never coming. So I have to reboot the device everytime I issue this command. It's been stopped at this state for about 5 mins and will never recover from it, I've waited over an hour to test it.

[16:36:49][D][voice_assistant:412]: State changed from STREAMING_MICROPHONE to STOP_MICROPHONE
[16:36:49][D][voice_assistant:418]: Desired state set to AWAITING_RESPONSE
[16:36:49][D][voice_assistant:412]: State changed from STOP_MICROPHONE to STOPPING_MICROPHONE
[16:36:49][D][light:036]: 'M5Stack Atom Echo' Setting:
[16:36:49][D][light:059]:   Red: 0%, Green: 0%, Blue: 100%
[16:36:49][D][light:109]:   Effect: 'Fast Pulse'
[16:36:49][D][esp-idf:000]: I (116378) I2S: DMA queue destroyed

[16:36:49][D][voice_assistant:412]: State changed from STOPPING_MICROPHONE to AWAITING_RESPONSE
[16:36:49][D][voice_assistant:519]: Event Type: 4
[16:36:49][D][voice_assistant:547]: Speech recognised as: " Tell me something interesting."
[16:36:49][D][voice_assistant:519]: Event Type: 5
[16:36:49][D][voice_assistant:552]: Intent started
[16:36:49][D][voice_assistant:519]: Event Type: 6
[16:36:49][D][voice_assistant:519]: Event Type: 2
[16:36:49][D][voice_assistant:609]: Assist Pipeline ended
[16:36:49][D][light:036]: 'M5Stack Atom Echo' Setting:
[16:36:49][D][light:051]:   Brightness: 60%
[16:36:49][D][light:059]:   Red: 100%, Green: 89%, Blue: 71%
[16:36:49][D][light:109]:   Effect: 'None'
carkom commented 9 months ago

This can be duplicated by using the folowing for you response code:

Testing:
  speech:
    text: ""