user-img

SmartHome yourself

  • 10 Projects
  • 4 Followers
  • Jun 13,2025
+ Follow

Animated RGB LED Stairlight with ESPHome & Home Assistant

Transform your staircase into an intelligent light show! This DIY RGB stairlight uses an ESP32 and WS2812B LED strips to animate each step as you walk – triggered by motion sensors at the top and bottom. It’s fully programmable with ESPHome and integrates seamlessly into Home Assistant. All logic runs locally, no coding required. You can customize animations, colors, speed, and even add idle effects. This project is the ultimate smart home upgrade – practical, stylish, and entirely your own creation!

Animated RGB LED Stairlight with ESPHome & Home Assistant
 
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
 

Tools, APP Software Used etc.

  • EspHome

  • Home Assistant

    Open Source

Story

Make your stairs smarter, safer, and more stylish – with this fully animated RGB LED stair lighting system! Controlled by an ESP32 running ESPHome, the lights react to motion sensors at the top and bottom of the stairs, triggering smooth, cascading animations as you walk up or down. The project integrates perfectly into Home Assistant and supports full customization: speed, colors, brightness, and even idle effects – all defined in YAML.

This is not just a decorative project – it’s practical, reliable, and 100 % locally controlled. Whether you're upgrading your hallway or building a new smart staircase from scratch, this is the ultimate showpiece for any smart home enthusiast.

 

📌 Key Features:

  • ESP32-powered with native ESPHome firmware
  • Two PIR motion sensors for top/down detection
  • Individually addressable WS2812B LED strips
  • Smooth fade-in/fade-out animations per step
  • Full Home Assistant integration (no cloud needed!)
  • Customizable brightness, speed, and effects
  • Optional idle animations (e.g. rainbow, pulse)
  • Wall-mounted control PCB + power management
  • OTA update support via WiFi
  • Scalable from 5 to 20+ steps

 

📌 Components used

ESP32 Dev Board: https://amzn.to/3FKSqY5 *
WS2812B RGB LED Strip 5 m: https://amzn.to/4l33qii *
PIR Motion Sensor 5–24 V: https://amzn.to/3HxEdhM *
5 V Power Supply (e.g. LEICKE 5 V 1 A): https://amzn.to/4l1v5jA *
Resistor Set: https://amzn.to/4kOwpXx *
Photoresistor: https://amzn.to/4kDSS9A *
LED Set: https://amzn.to/44fKjfq *

 

Videos

Main Video

https://www.youtube.com/embed/jhAS_OhYyys

 

Animation Update

https://www.youtube.com/embed/29ch0v86I_o

 

Standalone variant (no Home Assistant needed)
https://www.youtube.com/watch?v=RzkHVJpzZmQ

 

 

 

Full documentation, wiring, ESPHome code and 3D-printed case available on my website:

👉 https://smarthomeyourself.de/rgb-treppe

 

* 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.

 

Code
  • ESPHome Code (standalone - no HA automation needed)

    https://github.com/SmartHome-yourself/rgb-treppenbeleuchtung-for-esphome
    View
CAD-Custom parts and enclosures

Animated RGB LED Stairlight with ESPHome & Home Assistant

Transform your staircase into an intelligent light show! This DIY RGB stairlight uses an ESP32 and WS2812B LED strips to animate each step as you walk – triggered by motion sensors at the top and bottom. It’s fully programmable with ESPHome and integrates seamlessly into Home Assistant. All logic runs locally, no coding required. You can customize animations, colors, speed, and even add idle effects. This project is the ultimate smart home upgrade – practical, stylish, and entirely your own creation!

168
 
6
0
3
These revenues will go back into supporting creators, contests, and the open source ecosystem, and more.

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 6 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Supported Purchase: Full After-sales Protection