{"repo":"geerlingguy/pico-w-garage-door-sensor","free":true,"listed":false,"github":"https://github.com/geerlingguy/pico-w-garage-door-sensor","clone":"git clone https://github.com/geerlingguy/pico-w-garage-door-sensor.git","description":"Wireless garage door sensor for Home Assistant powered by Raspberry Pi Pico W","language":"Python","stars":217,"topics":["esphome","garage-door","home-assistant","microcontroller","pico","raspberry-pi"],"license":null,"category":"dashboards-admin","readme_excerpt":"Raspberry Pi Pico W Garage Door Sensor I wanted to build a sensor to determine the state of my garage door—open or closed—and send that state to Home Assistant so I can display the status in a dashboard and build automation from it (e.g. warning me if I'm asleep and the garage door is open!). If I wanted some sort of cloud integration, I could pay for the kit that connects to my garage door opener, but since the cloud is just someone else's computer, and I'd rather not rely on some company's weak security to protect data about my home... I want it all local. Garage Door sensors The actual sensors I use are the 'Enforcer' (model SM-4201-LQ) from Seco-Larm. I chose these because they are rugged and purpose-built for mounting to garage door tracks. Watch this video to see how I installed the sensors on my garage doors, and how I wired them to the Pico W. I used a RPi Pico Breakout board mounted directly to my garage wall, and wired one wire of each sensor to ground, and the others thusly: - east garage door to GPIO pin 2 - west garage door to GPIO pin 3 You can pick any GPIO connection, though—just change the appropriate lines inside garage-door.yml before flashing the Pico W using the instructions below. Flashing the Pico W I decided to use a Raspberry Pi Pico W for this project—you could probably also use an ESP32 or ESP8266 with slight modifications, since this project uses ESPHome. You will have to flash the firmware to the Pico W in order for it to work. Note : I also have ","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/pico-w-garage-door-sensor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}