Build an ambient sound sensor. This small box fits a microcontroller and the sensor, is powered from USB-C and looks neat on the wall.
My use-case: the sensor measures ambient sound levels in the room, and reports those to HomeAssistant. HA has a threshold rule - if sound reading is extremely high, then (seeing as the sensor is mounted next to building fire alarm) the fire alarm is probably active - send an alert.
Note on the firmware: if you get intermittent “WiFi auth failed” (WiFi credential is correct, it just won't connect), try increasing the update_interval of the ADC sound sensor reading - 10+ seconds worked for me. Theory: computation after the reading interferes with WiFi somehow.
The author marked this model as their own original creation.