I am new to WLED and LED strips in general. I’m having a lot of fun learning how to use the ESP32, soldering, and experimenting with simple circuits. My first project was a light strip around a door connected to a PIR so motion turns on the strip. Works really well. My second project was LED strips under a bed that serves dual functions:
- Activated by sound
- Activated by motion
I’m using an INMP441 and an HC-SR501. I have T=0 (“Off”) and T=1 (“On”) presets connected to the short and long button actions, respectively.
I have added Home Assistant and would like to create an integration that does the following:
- When the TV is off, select a non-sound-reactive effect. The LEDs will act as a night light if someone is moving around the room.
- When the TV is on, select a sound-reactive effect and disable the motion sensor.
I’ve created the integrations using two additional presets but I’m not sure how to disable the motion sensor. As it is now, the sound animation only plays when there is also motion detected. Is there an API command for this that I can add to the appropriate preset?
Thanks in advance for any help.