naster_mick f1f39e359e | ||
---|---|---|
README.md | ||
ctdoor.ino |
README.md
CTDoor
Sketch for an Wemos D1 (ESP8266) which sends the state of the door (open, closed) and lock (unlocked, locked) to /homie/ctdoor/door and /homie/ctdoor/lock
Usage:
Connect two micro switches or reed contacts
D5 -> Lock state detection
D6 -> Door state detection
Uses Homie and OneButton Library.