Please Help! Respeaker FAIL

Hello - I have been trying for days to get this device configured to work and have been unsuccessful with every attempt. I believe I have flashed the firmware correctly… finally but the YAML script will not compile. (see below) any support would be greatly appreciated.

Device - ReSpeaker Lite usb dual mic

Compiling .pioenvs/esp32s3/src/esphome/components/i2s_audio_xiao/i2s_audio_xiao.cpp.o
Compiling .pioenvs/esp32s3/src/esphome/components/i2s_audio_xiao/speaker/i2s_audio_speaker.cpp.o
Compiling .pioenvs/esp32s3/src/esphome/components/light/esp_hsv_color.cpp.o
Compiling .pioenvs/esp32s3/src/esphome/components/light/esp_range_view.cpp.o
In file included from src/esphome/components/i2s_audio_xiao/i2s_audio_xiao.h:5,
from src/esphome/components/i2s_audio_xiao/i2s_audio_xiao.cpp:1:
/data/cache/platformio/packages/framework-espidf/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning “This set of I2S APIs has been deprecated, please include ‘driver/i2s_std.h’, ‘driver/i2s_pdm.h’ or ‘driver/i2s_tdm.h’ instead. if you want to keep using the old APIs and ignore this warning, you can enable ‘Suppress leagcy driver deprecated warning’ option under ‘I2S Configuration’ menu in Kconfig” [-Wcpp]
27 | #warning "This set of I2S APIs has been deprecated,
| ^~~~~~~
In file included from src/esphome/components/i2s_audio_xiao/speaker/…/i2s_audio_xiao.h:5,
from src/esphome/components/i2s_audio_xiao/speaker/i2s_audio_speaker.h:5,
from src/esphome/components/i2s_audio_xiao/speaker/i2s_audio_speaker.cpp:1:
/data/cache/platformio/packages/framework-espidf/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning “This set of I2S APIs has been deprecated, please include ‘driver/i2s_std.h’, ‘driver/i2s_pdm.h’ or ‘driver/i2s_tdm.h’ instead. if you want to keep using the old APIs and ignore this warning, you can enable ‘Suppress leagcy driver deprecated warning’ option under ‘I2S Configuration’ menu in Kconfig” [-Wcpp]
27 | #warning "This set of I2S APIs has been deprecated,
| ^~~~~~~
src/esphome/components/i2s_audio_xiao/i2s_audio_xiao.cpp: In member function ‘virtual void esphome::i2s_audio_xiao::I2SAudioComponent::setup()’:
src/esphome/components/i2s_audio_xiao/i2s_audio_xiao.cpp:15:24: error: ‘I2S_NUM_MAX’ was not declared in this scope; did you mean ‘I2S_NUM_1’?
15 | if (next_port_num >= I2S_NUM_MAX) {
| ^~~~~~~~~~~
| I2S_NUM_1
*** [.pioenvs/esp32s3/src/esphome/components/i2s_audio_xiao/i2s_audio_xiao.cpp.o] Error 1
src/esphome/components/i2s_audio_xiao/speaker/i2s_audio_speaker.cpp: In static member function ‘static void esphome::i2s_audio_xiao::I2SAudioSpeaker::player_task(void*)’:
src/esphome/components/i2s_audio_xiao/speaker/i2s_audio_speaker.cpp:54:24: error: ‘I2S_MCLK_MULTIPLE_DEFAULT’ was not declared in this scope; did you mean ‘I2S_MCLK_MULTIPLE_512’?
54 | .mclk_multiple = I2S_MCLK_MULTIPLE_DEFAULT,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| I2S_MCLK_MULTIPLE_512
*** [.pioenvs/esp32s3/src/esphome/components/i2s_audio_xiao/speaker/i2s_audio_speaker.cpp.o] Error 1
========================= [FAILED] Took 17.91 seconds =========================

First google result:

2 Likes

…yup, me too, as of today (Feb 1, 2025). My HA instance is fully up-to-date and NOT running on a VM or container.