ESP32-audioI2S
ESP32-audioI2S copied to clipboard
ESP32 reboot using ‘audio.connecttohost’
Hi to all,
For you guys out there, if you are using ‘audio.connecttohost’ for internet radio on your ESP32 4MB Dev Module without PSRAM and reboot itself very often or once in a while like every hour or hours. Try this out on your Arduino IDE:-
void loop() { audio.loop(); vTaskDelay(1); }
Set the ‘vTaskDelay();’ between 3 and 20. Currently I’m using ‘vTaskDelay(10);’ and voila! The ESP32 did not reboot the whole day. I even tested up to ‘vTaskDelay(30);’ and it still works.
Regards, David
Have you tried increasing the connection timeout?
https://github.com/schreibfaul1/ESP32-audioI2S/blob/master/src/Audio.h#L146C10-L146C76
Thanks for your recommendation and I will give it a try and see what happen. Regards.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.