ctdoor/README.md

12 lines
338 B
Markdown
Raw Normal View History

2019-03-06 13:25:26 +00:00
CTDoor
2019-03-06 13:26:07 +00:00
Sketch for an Wemos D1 (ESP8266) which sends the state of the door (open, closed) and lock (unlocked, locked) to /homie/ctdoor/frontdoor/door and /homie/ctdoor/frontdoor/lock
2019-03-06 13:25:26 +00:00
Usage:
Connect two micro switches or reed contacts
D5 -> Lock state detection
D6 -> Door state detection
Uses Homie and OneButton Library.