Input
SensorDoorOpen: 1 = yes it is open
SensorDoorClosed: 1 = it is closed
If (open and closed) then there is a problem or door is in motion
Output
DoorTrigger: set to 1 to toggle open/close cycle
http://192.168.1.251/gpio/1
Door Monitor
- 2 NO switches
- Relay to actuate the door
- Relay closes for ~3 sec, then opens
- Relay cannot activate for 1 minute if O AND C is 1
State Table stored as Google sheet
- State
- Toggle Time
- State Change Time (door closed at, door opened at)
- Note if actuated by app or manual
- https://docs.google.com/spreadsheets/d/1oSlcBlCQJqCTO7_6CaQ9uhmEeK-PezmIAPhBe01VMuQ/edit#gid=0
Web Site
- Display State and last toggle time
- Action Button to toggle door
- Display status during AND = 1
- https://script.google.com/macros/s/AKfycbznkX2QfmpTJxD7bFjrfljhsMyxJWTwggKIcPU6Eh6RymTdxQk/exec?open=1
Part List
- ESP8266
- 3.3vdc power supply
Case Design
2 Pieces to print in PLA
- I’m waiting for the power supply to arrive.
- Here’s the BOM as of now.