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

Atom M5 echo "Speaker buffer full" causes lock up #134

Open
HarvsG opened this issue Dec 21, 2023 · 10 comments
Open

Atom M5 echo "Speaker buffer full" causes lock up #134

HarvsG opened this issue Dec 21, 2023 · 10 comments

Comments

@HarvsG
Copy link

HarvsG commented Dec 21, 2023

logs_m5stack-atom-echo-b836b0_logs (1).txt

As per the attached logs, occasionally I get a speaker buffer full error followed by a full 1 minute lockup of the voice assistant.

@Nardol
Copy link
Contributor

Nardol commented Dec 25, 2023

I encounter the same, and TTS response is cut before its end.

@Nardol
Copy link
Contributor

Nardol commented Dec 26, 2023

Things are really better after removing esp_adf component.
And of course, vad_threshold which depends on it.

@horga83
Copy link

horga83 commented Dec 30, 2023

removing esp_adf just hangs my M5 and it certainly doesn't work. Did you change something else, could you post your changes?

@horga83
Copy link

horga83 commented Dec 30, 2023

Actually I found that just by commenting out the logger: and improv_serial: it seems much better

@Nardol
Copy link
Contributor

Nardol commented Dec 31, 2023

removing esp_adf just hangs my M5 and it certainly doesn't work. Did you change something else, could you post your changes?

Strange, it was not so broken after removing esp ADF but finally I put it back but removed logger, improv serial and esp32 improv.

It seams this device has to only keep the minimum necessary for voice assistant, nothing else.

I also removed light but will not recommend it for anybody who is not blind 🙂 even with a so minimum firmware I have to restart the device after some days, which is better.

I really look forward to be able to find somewhere where there are ESP32S3 box in stock because IMO M5 atom echo speaker is not really reliable.

@lordbah
Copy link

lordbah commented Jan 2, 2024

I got errors about ble.enable/disable that way so commented those out as well.

wifi:
  on_connect:
    - delay: 5s # Gives time for improv results to be transmitted
  #   - ble.disable:
  # on_disconnect:
  #   - ble.enable:

@sniesler08
Copy link

sniesler08 commented Feb 20, 2024

I am having the same problem with speaker buffering for responses with voice cutting in and out. Home Assistant did a video showing their M5Stack Atom Echo working with no buffering or anything, I can only conclude they used the stock esphome configuration so I am unsure why my Echo has issue with buffering.

Did anyone really solve this issue? Any assistance would be amazing...

logs_m5stack-atom-echo-1018c0_logs-2.txt

m5stack-atom-echo-1018c0-2.txt

debug log.txt

As I have tried commenting logger, improv_serial and esp32 improv which helped a tiny bit but not much better.

@casrou
Copy link

casrou commented Mar 26, 2024

I actually think it is working now.

After flashing the newest voice assistant from https://esphome.io/projects/ (Voice Assistant 2024.3.0) to the M5Stack Atom Echo and updating all relevant docker containers (esphome, homeassistant, mosquitto, openwakeword, zigbee2mqtt) to their latest version, I'm now able to do multiple voice commands in a row 🎉

@gilcu3
Copy link

gilcu3 commented Apr 5, 2024

I actually think it is working now.

After flashing the newest voice assistant from https://esphome.io/projects/ (Voice Assistant 2024.3.0) to the M5Stack Atom Echo and updating all relevant docker containers (esphome, homeassistant, mosquitto, openwakeword, zigbee2mqtt) to their latest version, I'm now able to do multiple voice commands in a row 🎉

Could you share versions of tools? After updating to homeassistant 2024.4.0 I cannot get it to work, everything work except that the device does not output audio and enters in an infinite loop for this reason.

@benji2020
Copy link

benji2020 commented Apr 29, 2024

I have had issues with it not responding - someone mentions a fix here if it's any help...
https://community.home-assistant.io/t/a-silly-simple-question-about-esphome-specifically-m5stack-atom-echo-firmware/674850/5
Not tried it myself, would be good to get something official.

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

No branches or pull requests

8 participants