kbx81 / kbxLEDController-16ch

kbx's 16-channel ESP-32 Powered LED Strip Controller
8 stars 0 forks source link

Stair light controller #1

Open jensenbox opened 1 year ago

jensenbox commented 1 year ago

Thanks for making this available!

I was wondering if you could instruct me on a way to integrate 2 PIR sensors on to the board. I could probably manage it after a bunch of iterations but you seem like you would be way better at it than I would be.

I want to put 1 PIR sensor at the top of my stairs and the other at the bottom. When you go near one it starts a nice gradual cascade. There are other controllers on the market but none that I can control remotely. I want to be able to turn all the strips on whenever I want to for ambient lighting and when they are off they would react to a person walking.

I can do the software but I am very rusty on the hardware.

Any pointers?

kbx81 commented 1 year ago

If you want to specifically wire them into this board, there are already headers with extra some GPIOs exposed along the edges of the board.

Are you using ESPHome and Home Assistant? To minimize wiring, I'd just get a couple extra boards, perhaps D1 Minis or similar, connect your PIR sensors to those and use each to trigger an automation to switch on the lights you connect to this board. It means a couple of extra devices, but then you don't have to worry about running crazy lengths of wire to either end of your staircase.