Finished my Garage Door State Indicator project, Shows whether the garage door is open or closed on a little OLED.

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Finished my Garage Door State Indicator project, Shows whether the garage door is open or closed on a little OLED.

Post by /RaspberryPi »

Image The raspberry pi runs a nodejs server, that listens for http requests. The other end is a NodeMCU stuck on the garage door with a tilt switch that detects a change in orientation. When that happens it sends a http request to the Nodejs server on the raspberry pi with the current state of the garage door either open or closed. The raspberry pi then updates the image on the OLED with the door open image or the door closed image.

Door open after been notified by the nodemcu on the garage door.

door closed, also after being notified by the nodemcu on the garage door.
The raspberry pi waits 1 minute after the door has been closed and removes the image from the OLED.
Code, assembly info and project files are on my github: https://github.com/thinklearndo/garagedooropennotifier

submitted by /u/thinklearndo
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”