toverainc / willow

Open source, local, and self-hosted Amazon Echo/Google Home competitive Voice Assistant alternative
https://heywillow.io/
Apache License 2.0
2.61k stars 96 forks source link

i2s is invalid on ESP32 Lite #354

Closed yohaskan closed 10 months ago

yohaskan commented 10 months ago

flash seem ok and Home assitant respond in log file, but no audio, no chime sound come from ESP32 lite

In log of Willow Console

E (00:44:41.920) i2s(legacy): i2s_check_cfg_validity(926): this i2s port is in use
E (00:44:41.928) i2s(legacy): i2s_driver_install(1582): I2S configuration is invalid
nikito commented 10 months ago

Try to completely unplug the box lite for several seconds, then plug it back in? Also was this via Web flasher?

nikito commented 10 months ago

Also, have you ensured you have enabled tts in your General Settings in WAS and applied everywhere?

stintel commented 10 months ago

E (00:44:41.920) i2s(legacy): i2s_check_cfg_validity(926): this i2s port is in use E (00:44:41.928) i2s(legacy): i2s_driver_install(1582): I2S configuration is invalid

This error message comes from ESP-ADF, because it's still using the legacy I2S driver, which does not like being installed twice. This is completely harmless, yet unfortunate as it keeps causing people to think this is a problem. I test regularly on all supported devices, and while I currently cannot test a Box-Lite, I can confirm this error message appears on the original Box, and the Box-3, yet everything works fine.

As @nikito suggested, make sure you have actually set Willow Audio Response in WAS to Chimes or Text-to-Speech. Alternatively, try the Locate Device feature in the Clients tab.