I’m just starting to get into ESPHome and I bought an M5 Atom Echo as my first experiment thinking I could try and get the onboard microphone to get me sound data as a sensor but so far this hasn’t been easy to get working.
Initially I looked at the m5 atom example voice assistant config and just removed the voice assistant portions since I don’t want to integrate that at this stage. It compiled fine and I was able to play around with different light configurations. But just having the microphone component wasn’t enough to provide any information in Home Assistant.
Next I looked at GitHub - stas-sl/esphome-sound-level-meter which could be a way forward, but I was hoping to stick with a vanilla esphome project for this since I’m trying to get my feet wet with ESPhome for the first time and start learning the ropes by tinkering.
My main question is, is there a way to get sound data from the microphone component and expose it to Home Assistant without adding any voice assistant stuff? I see that there are capture actions, and an on_data trigger, but how would I use that to expose useful information that I can work with?
Thanks!