Story
Smart Garage-Door control with animated RGB-LED
(with or without Home Assistant)
📌Standalone:
- automated RGB-LED-Animation when door is opening / closing
📌Additional features when using with Home Assistant:
- see door-status (open / closed / moving)
- control door with Home Assistant
- build automations / notifications based on sensors/switch
- configure speed, anim-width and delays
Video
📌Pins:
- D1: Button
- D2: RGB-LED Stripe
- D5: Sensor (open)
- D6: Sensor (closed)
- D7: Relay
📌Used products:
- D1 mini: https://amzn.to/3llNkD8 *
- Relais: https://amzn.to/3lozIr8 *
- Magnet-Kontakte: https://amzn.to/3kVuP9Z *
- Pegelwandler: https://amzn.to/3kVLj1z *
- 10k Ohm Widerstand: https://amzn.to/3ut5gA7 *
- Kondensator: https://amzn.to/3F5Qt33 *
📌Additional Links/Codes/Files
ESPHome Code: https://smarthomeyourself.de/hc_downloads/esphome_garagentor.txt
ESPHome Binary (Standalone): https://smarthomeyourself.de/hc_downloads/esphome_garagentor_10ms_150leds_15sec.bin
3D-Print Case (STL): https://www.thingiverse.com/thing:4963861
⚠️ Note on RGB LED Compatibility (WS2812 or similar)
This PCB includes a BOB-12009 level shifter based on a bidirectional MOSFET. While suitable for I²C, it is not ideal for WS2812-type LEDs, especially when using fast or complex effects. You may experience flickering or signal issues due to slow signal rise/fall times.
✅ Workaround – Skip the level shifter:
If the distance to the first LED is very short (a few centimeters), you can bridge LV2 and HV2 directly and leave the level shifter unpopulated.
👉 Do not install the level shifter in this case – it will interfere with the signal.
✅ Workaround 2 – Use a proper level shifter:
👉 For longer distances or improved reliability, use a proper unidirectional level shifter like the 74AHCT125 or 74HCT14.
* Note: The links above are affiliate links. If you use them, I may earn a small commission – this helps support my projects at no extra cost to you.