Skip to content

edinburghhacklab/fridge-door-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fridge-door-sensor

Overview

Monitor fridge door status using an ESP32-S2.

Dependencies

PlatformIO

Build

platformio run

Install

platformio run -t upload

Hardware interface

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.

Network interface

Copy src/config.h.example to src/config.h to configure the WiFi network, MQTT hostname and MQTT topic (e.g. sensor/g1/fridge).

About

Monitor fridge door status using an ESP32-S2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages