I have fitted WS2812B LED’s (~800 pcs) and an ESP32 at my stairs, totally happy with the result and the way WLED handles the lights and effects. To me, the use of WLED came after playing around with ESPhome which didn’t bring a satisfying result. Within ESPhome, handling 800 LED’s in segments leads to glitches etc. which could apparently not be overcome.
Edit 13-4-2021:
To make the staircase fully fledged, @Realrolfje and I have worked on a usermod (well, he did the code) which meanwhile has become part of the WLED master branche, enabling easy re-use for those who are interested.
The usermod is named Animated Staircase and comes with the following prime features:
- Light up the steps one by one in your walking direction, leading the way.
- Switch off the steps after you, in the direction of the last detected movement.
- Able to handle multiple people on the stairs gracefully.
- Enables control by the WLED API, such as:
- Enabling / Disabling of the usermod (we call it "Party mode )
- Light up speed
- Stairs on/off time
- Distance settings (for the ultrasonic sensors)
- Remote sensor support, such as those that are already in your home automation
Detailed explanation and multiple examples can be found in the usermod readme:
An even further detailed readme is under preparation.
On the ToDo list:
- Smooth Fade / Transitions on the segments (generic WLED wish)
- Some Stairs specific effects
- Fix possible ultrasonic sensor glitch with ESP32 WROOM32 DEV board (to be checked)
- Fantastic
- Allright
- Not so cool
- This sucks
0 voters
Here the results, effects just for fun - you will most likely choose for a fixed illumination in white
Switch on/off step by step (smooth transition desired):
The segmented rainbow, seen from the top:
Eye-friendly effect, great overnight:
Thunderflash, only the sound is missing (Aircoookie, hint )
Stairs on fire:
Insanity:
Something more relaxed:
This is how the stairs looks usually at home, to keep my wife happy…
Finally some images of the stairs details as I received many question on the how’s and the what’s…
This is how each step looks from the bottom. The wiring enters the back of the stairs via a small hole. Note that I have used relatively thin wires for the supply, since they are utmost short and connected to AWG14 / 2.5mm^2 cables. The “data out” from the step is guided through the transparent silicone tubing through the same hole and goes to the next step.
Work in progress. At the top, I use a PIR sensor since people “walk by” sideways, which ensures reliable detection. I did modifications on the delay time and range for this.
Some detail of the ultrasonic sensor. Originally, a PIR was mounted but didn’t give satisfactory results when people approach from the front.
This is how the wiring looks at the back of the stairs. Thin cabling from the steps, thick cabling for the supply alongside the vertical stand-up.
Last but not least: the ESP32, power supply and ultrasonic sensor on the top.