ESPHome built code for ESP32-A1S V2.2 Audio Kit only produces soft clicking sounds

I am programming an ESP32-A1S V2.2 Audio Kit Development board using ESPHome and the code found here in this thread.

I can see switch closures from the board in HAOS. And I can control an LED on the board from HAOS. So (some) communications is working.

But when I play audio, all I hear is very quiet crackling sounds. I’ve gone over the setup and double checked I was using the expected DAC chip in the YAML file.

If anyone has any suggestions I would be glad to hear it / perform further test and post the results.

-thanks

look at device logs. there may be answer there.

Post yaml you uploaded to device. It can help others look over what may be missing.

also, ask the person in thread that created the original yaml if you are using that. The post directly after your linked post has what may be same issue as yours. They provided steps there to check and some explanation

basically ask in the thread you linked it best.

Thank you for your feedback @tmjpugh . I looked at the logs but there doesn’t appear to be any errors. I started looking at the raw logs but ran out of time. I’ll try again tonight.

I switched to the YAML here in this GITHUB repository and have only modified the names at the top of the YAML file.

The only difference I’m seeing, when I press play in the HAOS Music App while it is pointing to the ESP32 Audio Dev Kit, it appears to switch back to not playing immeately. Before it would keep playing and I could hear very quiet crackling sounds from the speakers.