I have a smart things motion sensor to turn my lights on in my office when I walk in. The issue is when I leave. I turn the lights off manually with the wall light switch when I leave. However, the motion sensor then detects my movement and turns the lights back on. I’ve tried to set the smart app to turn the lights off when there is no motion for x minutes, but sitting at my computer doesn’t create enough motion when I’m actually in my office and my lights turn off.
Question: Is there a way to create a webcore piston to do the following:
- Detect motion, turn lights on if they are currently off
- Detect motion, turn lights off if they are currently on
If so, can you point me in the direction of how to do this in webcore?
Thank you in advance.