schmurtzm / MrDiy-Audio-Notifier

MrDiy Audio Notifier (based on esp8266audio) ported to platformio for ESP32
58 stars 23 forks source link

samvoice in version 0.6 not working #8

Closed Hurstolds closed 2 years ago

Hurstolds commented 2 years ago

Hi!

googlevoice seems to work much better in version 0.6! Thank you

However, when I send /samvoice/ commands, it just plays that guitar strum sound. It's the sound it plays when connected to wifi/MQTT. Sam no longer speaks.

Did the command change for sam? or is it still /samvoice/ Pretty sure I'll just use googlevoice from now on, instead of sam, but I wanted to bring this to your attention

schmurtzm commented 2 years ago

Hi,

No the command has not changed (still "yourtopic/samvoice"), this is a real issue on ESP8266 (it works on ESP32). The guitar strum sound is the boot sound, so if you hear it it means that the ESP has crashed and rebooted.

I've tested with 0.4 and it seems it was already crashing.

Needs some investigation ...

schmurtzm commented 2 years ago

Solved, it comes from a parameter in platformio.ini :

build_flags =
    -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH    ; crash with SAMVOICE

Will be removed in next release.

schmurtzm commented 2 years ago

Version 0.61 is published with this fix.

Hurstolds commented 2 years ago

All seems well, after testing 0.61! Thank you, I did not have to do a full flash. I was able to flash via GUI updater and it kept all my previous settings. Great job and thank you again!