Monitor fridge door status using an ESP32-S2.
platformio run
platformio run -t upload
The state is monitored using GPIO 14, which must be low when the door is closed.
Connect a piezoelectric buzzer to GPIO 3 to play tones on door open/close.
Copy src/config.h.example to src/config.h to configure the WiFi network,
MQTT hostname and MQTT topic (e.g. sensor/g1/fridge).