Jump to content

Turn lights on/off with motion sensor with manual override


DKump

Recommended Posts

Posted

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

 

Posted
5 hours ago, DKump said:

The other requirement that complicates this is the motion sensor is tied to a scene to turn the lights on/off.

Don't think that you will accomplish your goals with a scene.  I understand the quicker nature of scenes, and your desire to take advantage of this, but scenes are between devices and cannot be disabled as far as I know.

 

5 hours ago, DKump said:

Ultimately I'd like to enable/disable a scene. 

No.  I think you are fighting an uphill battle here.

  • Like 1
Posted
8 hours ago, DKump said:

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

 

I always use a long timeout for manual overrides anyway but you could eliminate it from the program samples. I find when lights are automatic people tend to never turn them off.

 

Posted
1 hour ago, larryllix said:

I find when lights are automatic people tend to never turn them off.

I have found the same thing in my house

 

Posted
42 minutes ago, oberkc said:

I have found the same thing in my house

 

Ditto for me too. I've found the more complicated you make things, the less efficient things become which makes automation an inconvenience.

With all the variables the op wants, real world use will cause more problems than it solves

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...