Lights follow you up or down the stairs in real-time! Easy, fast to built. Esphome based, Flashable from wihtin Home Assistant. Only needs 1 motion sensor. Use any kind of motion sensor. Whether it's serial based, bluetooth based, Z-Wave / Zigbee based. As long as it integrates with Home Assistant you are ok. Or make your own, example included.
- Connect the LSC RGBIC+CCTIC Ledstrip to you usb-to-serial device.
- Flash the LSC RGBIC+CCTIC Ledstrip with this code. Done.
-
Lights up stairs dynamically based on your position. Sensor needed.
-
Alert animation , e.g say a presence device detects motion on first floor then the animation will go up. Or if you are too late for something change the direction to down. Endless ideas. No motion sensor needed for this.
-
Startup animation. No sensor needed.
Step 1 lights Green (Booting) Step 2 lights red or green on WIFI state Step 3 and 4 are checking HA state and LD2410 state in HA (If not present simply stays red) Then the trailing light Up and down (Once) to clear the previous step and jumps to the default Glow Motion Stairs effect.
-
added auto-fade out after 10 seconds of no motion (HA logic)
-
Home Asistant integration
-
Works with various motion or distance sensors (Bluetooth, Z-Wave, Zigbee, etc.) And you can even make your own if you prefer.
-
Using an LSC RGBIC+CCTIC Ledstrip with ESPHome (But you can make your own strip if you prefer)
-
Designed for simplicity, flexibility, and off-the-shelf parts.
Hardware:
-
LSC RGBIC+CCTIC Ledstrip (Action)
-
LD2411S or LD2420 or LD2450 Example (Or without bluetooth, any LDXX wil do, I preferred to use the buetooth version)
Actually any kind of motion sensor works. Whether it's serial based, bluetooth based, Z-Wave / Zigbee based motion sensor that can integrate with Home Assistant will do. I used an ESP32 to connect to the bluetooth of the LD2411 Using this one (But any will do)
-
TTL to USB convert Example (But any similair will work)
-
Soldering iron to solder the four wires to the LSC ledstrip .
Software
- This Repo
- Home Assistant
- BK7231GUIFlashTool
A motion sensor reports it's distance to Home Assistant. Home Assistant translates the distance to steps. (In this case 15 steps and 30 CM per step) LSC ledstrip receives the step and will light up the corresponding stair step (And dimmed the below and after step)
Highly customizable. You can even create your own ledstrip with an esp32 and flash it all on one device. The BK7231N in the LSC ledstrip has (afaik) no working software support for bluetooth otherwise it would be even easier. (Without Home Assistant)
-
Why not connect the LD2411 to the LSC strip itself you would ask? Since I had the 5V version and BK7231N is 3.3V only. So I used the bluetooth part of the LD2411. Did not want to buy another. you can buy the 3.3V version of an LDXX and connect it to the BK7231N but using the bluetooth part made it flexible as bonus in the placing of the motion sensor
-
Why not connect the esp32 to the serial output of the LD2411?
You can. No problem. I tested with serial as well. -
Why didn't you? Anything that can receive bluetooth will do? The Esp32 is a used to integrate the LD2411 in Home Assistant. You can create some code to intercept the bluetooth on your Home Assitant server but that is to be done for now. And using bluetooth you are saving soldering two wires :-) And since I had to power the LD2411 anyway it did not matter. A battery powered zigbee / z-wave based motion sensor is on order.
DiyYari - LightTrack-PRO Loosely based on his idea of using 1 motion sensor.
Twentoer For the idea of using the LSC ledstrip and the flashing part.
arhein123 in this Home Assistant forum post Using his Sound Effect configuration I was able to come up with the logic for the led steering.
TinyTronics (Not afilliated) They are fast , reliable and have a lot of fun things in stock :-)
Trying to light up the Warm white / Cold white leds instead of using the RGB part of the strip. Just estatic change. Should be a small change. Smoothen out a few quirks.