A microphone connected to an ESP32 can supply a continuous audio stream over the local network. A new ESPHome component serves the raw sound through its web server, starting capture when the first listener connects and releasing it after the last leaves.
Each listener gets its own buffer, so one slow connection can be dropped without ending the others. Two or three listeners require enabled PSRAM—extra working memory. It is also strongly recommended for a single listener over Wi-Fi; a long wireless pause can exhaust the smaller buffer on a board without it.
The component supplies mono audio without adding noise suppression or wake-word detection. It uses plain HTTP and is intended for trusted networks. The web server’s configured authentication also protects the audio endpoints; leaving that server unprotected makes the microphone accessible to anyone who can reach the device.