Jump to content

Control bedroom lights with motion sensor


Recommended Posts

26 minutes ago, smarthome_newbie said:

I'd like for my motion sensor to turn on lights in the bedroom, but it turns them on at night when in bed. What's the best way to address this? Set it to only trigger before a certain time? What if I go to bed at different times? The certain time trigger wouldn't work if I stay up late one night.

Create a scene involving the MS and the light. Set the MS to On commands only. This only works with the original Insteon MS.

 

 

Link to comment
38 minutes ago, smarthome_newbie said:

I'd like for my motion sensor to turn on lights in the bedroom, but it turns them on at night when in bed. What's the best way to address this? Set it to only trigger before a certain time? What if I go to bed at different times? The certain time trigger wouldn't work if I stay up late one night.

Automation systems cannot account for deviations made on a whim. It's more about programming the things you can control and being willing to manually do what can't be scheduled. 

You can use the post that Larryllix added to unlink your sensors using a keypad button when going to bed (call it your goodnight button). Regardless of when you go to bed, simply pressing that button can unlink your sensor preventing it from turning on the light while you're asleep. 

If you want to automate your home, you'll need to learn to think outside the box and change habits as well to so that you and your system mesh today

Link to comment

Here is how I handle my bedroom MSes. I mount them about 2-3 feet over the bed surface and point them horizontally. Then I mask off the MS from looking down using white vinyl tape trimmed to fit. Test by rolling around without triggering it, and also by kicking your feet up to trigger it in the middle of the night, if desired.

The thread I linked to should tell you how to dim the lamp at nights so you can use a large bulb dimmed down to about 10-12% so it doesn't blind you in the middle of the night on pee runs.

1769564179_MSwithlenstape.thumb.jpg.3c46d1a2060310f4fa9b77bea94acfc1.jpg

Link to comment
10 hours ago, larryllix said:

The thread I linked to should tell you how to dim the lamp at nights so you can use a large bulb dimmed down to about 10-12% so it doesn't blind you in the middle of the night on pee runs.

1769564179_MSwithlenstape.thumb.jpg.3c46d1a2060310f4fa9b77bea94acfc1.jpg

I use my under bed lights for that with motion sensors mounted under the bed

Link to comment

Are you saying have two programs with one being turn the light on 100% during the day and a second to turn it on at 0% if motion is triggered at night? Is there not a way to turn the MS off using the KPL without having to press the KPL again in the morning to turn it back on? If not, I think what you suggested about the 100%/0% is better, if I'm understanding correctly. Thanks.

Link to comment
25 minutes ago, smarthome_newbie said:

Are you saying have two programs with one being turn the light on 100% during the day and a second to turn it on at 0% if motion is triggered at night? Is there not a way to turn the MS off using the KPL without having to press the KPL again in the morning to turn it back on? If not, I think what you suggested about the 100%/0% is better, if I'm understanding correctly. Thanks.

MBR Lamp Level.adjust - [ID 01C2][Parent 00FA]

If
        From     8:30:00AM
        To      10:30:00PM (same day)
 
Then
        In 'Master Bedroom / MBR.MS' Set 'Master Bedroom / MBR Wall Lamp' To 80% in 2.0 seconds, No retries
 
Else
        In 'Master Bedroom / MBR.MS' Set 'Master Bedroom / MBR Wall Lamp' To 10% in 0.5 seconds, No retries
 

Note: It appears you are controlling the MS scene  and not the Lamp.  The MS scene is non existent but the way UDI set it up. Check your pulldown menu for the list when programming. The method has changed slightly in ISY v5.

 

Link to comment
1 hour ago, smarthome_newbie said:

I already have a goodnight scene so I like the idea of turning off the MS using the KPL assigned to that scene. Would I have to remember to press the KPL in the morning to turn the scene off so that the MS is turned back on?

No. You can have it auto enable itself

Link to comment
1 hour ago, larryllix said:

MBR Lamp Level.adjust - [ID 01C2][Parent 00FA]

If
        From     8:30:00AM
        To      10:30:00PM (same day)
 
Then
        In 'Master Bedroom / MBR.MS' Set 'Master Bedroom / MBR Wall Lamp' To 80% in 2.0 seconds, No retries
 
Else
        In 'Master Bedroom / MBR.MS' Set 'Master Bedroom / MBR Wall Lamp' To 10% in 0.5 seconds, No retries
 

Note: It appears you are controlling the MS scene  and not the Lamp.  The MS scene is non existent but the way UDI set it up. Check your pulldown menu for the list when programming. The method has changed slightly in ISY v5.

 

Sorry, I'm totally confused now. I would rather use the KPL to turn off the MS so it doesn't turn on the light at night. I also don't want to have to use the KPL to turn the MS back on in the morning. It was mentioned that can be done with auto enable? Can you please clarify how to make this happen? I am lost with all the different explanations and possibilities. Thanks for the help. 

Link to comment
9 hours ago, smarthome_newbie said:

I would rather use the KPL to turn off the MS so it doesn't turn on the light at night. I also don't want to have to use the KPL to turn the MS back on in the morning.

Let's first start with what you want to accomplish.  It sounds as if you want a motion sensor to trigger some lights, but that you want to be able to disable the triggering of lights if you turn on a keypad button.  While I missed it if you stated so, I assume you want the lights to automatically turn off after some time following motion detection.  You prefer to manually toggle the keypad to turn off the motion response, but you do not want to have to manually toggle the keypad to enable motion response.  You don't specify what you want the lights to do, if anything, if they happen to be on when you press the keypad button, so I will ignore dealing with that consideration.  Assuming that this is all correct and complete....

First thing you will have to do is eliminate the motion sensor from any scenes and programs in which it is involved.  Start fresh.

Once the motion sensor is absent from all scenes, write a couple of programs.  There are several ways to do this, but I will propose one.  I don't remember the exact programming syntax, nor do I know which version of software you use in the ISY, so I will offer it conceptually:

if

control motion sensor is set on

and status of keypad button is off

then

turn lights on

run timer program (then path)

else

nothing

 

Timer program:

if

nothing

then

wait some period of time

turn off lights

else

nothing

 

Auto enable program:

if

condition you want to restart motion (time?  Sunrise?  Other)

then

turn off keypad button

Link to comment
10 hours ago, smarthome_newbie said:

Sorry, I'm totally confused now. I would rather use the KPL to turn off the MS so it doesn't turn on the light at night. I also don't want to have to use the KPL to turn the MS back on in the morning. It was mentioned that can be done with auto enable? Can you please clarify how to make this happen? I am lost with all the different explanations and possibilities. Thanks for the help. 

The program I listed was an example of how to make the process automatic instead of pushing buttons. Lilyoyo1, bambamf16,  and I were all  attempting to tell you the same thing. I gave an example program with some explanation.

Link to comment
On 8/18/2020 at 7:08 PM, smarthome_newbie said:

I already have a goodnight scene so I like the idea of turning off the MS using the KPL assigned to that scene. Would I have to remember to press the KPL in the morning to turn the scene off so that the MS is turned back on?

how do you initiate your "goodnight scene"?  You may not need the KPL at all.. just add a called program to disable the MS until sunrise....Something like this should easily work for you;:

-If you dont already have a Goodnight program, set one up that gets started with however you already initiate goodnight,.and turns on your goodnight scene

-Add a program called something like: Bedroom MS Enable Disable that looks like this:

If time is Sunrise (or whatever time you want the MS re-enabled)

Then: Enable Ms program

Else:  Disable MS program

-In your goodnight program, add a line:  Run Bedroom MS Enable Disable ELSE (not the IF).... 

 

This will cause the MS program to get disabled when you start bedtime ( you may want to add a 5, 10 or 15 minute delay? ),  and then when the new program hits morning time, it will turn true and enable the MS program again. 

 

Link to comment
  • 2 weeks later...
On 8/19/2020 at 5:45 AM, oberkc said:

Let's first start with what you want to accomplish.  It sounds as if you want a motion sensor to trigger some lights, but that you want to be able to disable the triggering of lights if you turn on a keypad button.  While I missed it if you stated so, I assume you want the lights to automatically turn off after some time following motion detection.  You prefer to manually toggle the keypad to turn off the motion response, but you do not want to have to manually toggle the keypad to enable motion response.  You don't specify what you want the lights to do, if anything, if they happen to be on when you press the keypad button, so I will ignore dealing with that consideration.  Assuming that this is all correct and complete....

First thing you will have to do is eliminate the motion sensor from any scenes and programs in which it is involved.  Start fresh.

Once the motion sensor is absent from all scenes, write a couple of programs.  There are several ways to do this, but I will propose one.  I don't remember the exact programming syntax, nor do I know which version of software you use in the ISY, so I will offer it conceptually:

if

control motion sensor is set on

and status of keypad button is off

then

turn lights on

run timer program (then path)

else

nothing

 

Timer program:

if

nothing

then

wait some period of time

turn off lights

else

nothing

 

Auto enable program:

if

condition you want to restart motion (time?  Sunrise?  Other)

then

turn off keypad button

Thanks for this suggestion. I'm stuck at the auto enable program. I don't have the option to turn off keypad button. Query, backlight and write changes are the only options. What am I missing?

Link to comment
29 minutes ago, smarthome_newbie said:

Thanks for this suggestion. I'm stuck at the auto enable program. I don't have the option to turn off keypad button. Query, backlight and write changes are the only options. What am I missing?

To Control the back-light of a keypad button put that button in a scene then turn the scene on or off.

Link to comment
1 hour ago, smarthome_newbie said:


This KPL controls a scene. I’m trying to turn the KPL off. Does turning the backlight off turn the KPL off so that when I press it again it will turn the scene on?


Sent from my iPhone using Tapatalk

Yes (if the button is set to toggle on/off mode)

Link to comment
3 hours ago, smarthome_newbie said:

This KPL controls a scene. I’m trying to turn the KPL off. Does turning the backlight off turn the KPL off so that when I press it again it will turn the scene on?

Allow me to offer further clarification.  The fact that this KPL controls a scene does not preclude putting it into another scene (as responder).  I believe the correct thing to do would be, as suggested, to put this button into a newly created scene.  Turning that scene on/off will turn the KPL button on/off.  If you turn off the button, the next time you press it will be to turn it back on, which will initiate the scene.

Link to comment
37 minutes ago, oberkc said:

Allow me to offer further clarification.  The fact that this KPL controls a scene does not preclude putting it into another scene (as responder).  I believe the correct thing to do would be to put this button into a newly created scene.  Turning that scene on/off will turn the KPL button on/off.

Ok. I will give that a try. Thanks.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...