I'm trying to program my motion sensor to turn lights on/off but also provide a manual override so I can keep lights on/off indefinitely. I've hit a roadblock and hoping someone else has solved this.
Ultimately, here's what I want:
1. When motion is detected, lights turn on.
2. After 10 minutes of no motion, lights turn off.
3. If lights are manually turned on or off via wall switch, lights stay on/off indefinitely.
4. If light switch is fast on/off, then lights turn on/off and motion sensing is enabled again.
5. If lights are manually turned on/off and no motion detected in 12 hours, then re-enable motion sensor.
The other requirement that complicates this is the motion sensor is tied to a scene to turn the lights on/off. If I don't do this, there's a delay turning the lights on. Adding the motion sensor to the scene give me instant on.
My problem is I can't find a way to disable a scene or motion sensor via a program. I need to stop the scene from turning the lights on/off when I override with the light switch by a program. I thought about the following options, but they don't exist and/or work:
1. Can't disable a scene in a program.
2. Can't disable the motion sensor (disable / block signals) in a program.
3. Can't set scene to ignore motion signals. There's an option in the scene to set the motion sensor to "ignore", but doesn't seem to do anything.
4. Can't add/remove the motion sensor from the scene in a program.
5. I can set the light On level to zero/off, but the motion sensor/scene ignores the On level set for the device.
6. I set the motion sensor's Off timeout to a high value, but then the sensor didn't send another On signal until after that timeout. I need to send constant On signals so the lights don't turn off if motion keeps getting sensed.
Ultimately I'd like to enable/disable a scene. That's seems like the simplest solution. If anyone has found any way to do this, I'd appreciate it. Any other suggestions would help too.
Thanks,
Dave