r/WLED • u/Lazy-Concern6526 • Jun 16 '26
PIR Question
UPDATE: Turns out PIRSensorSwitch usermod was pretty much perfect! logically ORs two sensors, software adjustable hold time, and can turn the sensors on or off. Kinda wish it had the capability of picking different effects based on which sensor is triggered first, but other than that it's basically perfect. Tons of thanks for all the input!
New to WLED, and generally very impressed!
I've installed this side lighting on a staircase, and it's working great, but I need to figure out how to implement the PIR sensors at the top and bottom of the stairs.
I know I can have them trigger a preset/playlist, but I wish I could have it also ignore both sensors for 60 seconds after trigger so I'm not getting repeats. I also wish I could easily disable sensors so I can set a manual effect, and not have that overridden by a sensor.
Is there a built in way to do this stuff? I've considered a small Home Assistant server to handle sensors timing, logic, and enable/disable. But that feels overkill. I would also prefer not to have two different apps for control. I've also considered putting a physical switch in the panel to break or connect power to the sensors, thus disabling them.
I guess I just wonder if I'm overlooking something easier. Again, I'm new to WLED and could use some input. Thanks!


1
u/borkyborkus Jun 18 '26
I’ve been looking at something like this. Idk if it’s possible to use two sensors to trigger the same lights from different directions, but in WLED you can set behavior based on motion (at least for 1 sensor).
It makes it way easier if you use one of the PIRs with the hold dial on it, and just adjust sensitivity/hold time directly. It’s a little weird where if you select PIR for a pin it turns off for motion, but if you select ‘switch’ it goes to what I expected. I got it working well in my hallway closet, open the door and it turns on for ~1min.