Get the latest tech news
The Screamer – A yell-on yell-off light
Don't you want to just yell at your electronics?
I connected a GPIO port on the ESP32 running the scream detection to the TX pin on the S31, and added this to the Sonoff's ESPHome code: No connectivity needed at all, and unplugging it and plugging it back in is guaranteed to get the software stack in some known good state. Keeping the ESPHome config involved makes this pretty easy to integrate with Home Assistant, the "Scream Detected" pin is exposed as an entity there.
Or read this on Hacker News