Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Motion Sensor trigger lights 100% day, 40% night

Featured Replies

Posted

I currently have a program that updates an Insteon switch level from 100% in the day down to 40% at night.  When I manually turn on the light with one of my 3-way switchs attached to that light in a scene, it works correctly.

I recently added a motion sensor to that same scene, but the dimming level no longer changes at night and is always at 100%.

I am not sure if I messed something up when adding the sensor to the scene or something else happened.  

Should I have the program change the on level of the scene rather than the switch that the load is attached to?  Maybe I need to do both?  I am not sure how to adjust the on level of a scene in a program as I tried to add this to my then line but could not find the option to adjust the scene's on level.

  • Author

ok, I figured out how to also adjust the scene to on level 40% as well.  After updating and saving the program, which I am guilty of forgetting to do, the motion detector still turns on the light to 100% and when I manually turn it on it goes to 40% so I have no idea what I am doing wrong.

  • Author

When I look at the scene, I see the program had set the light to 40%, But if I highlight the controllers, the action still says Insteon On Level 100%, with the exception of the actual switch with the load on it.  The switch with the load on it only says Insteon On Level is "On" so it can use whatever the saved on level of the switch is.  All of the others allow me to select an on level of 0 to 100% but not "on".

I think I have some misunderstanding of how to properly configure scenes.

  • Author

The switch "Kids Bathroom" has the load on it and gives the option to set On Level to On.  All other controllers in the list force "Kids Bathroom" to be a set On Level, such as 100%, which I assume overrides the program.

Scenewithswitchhighlightedthathastheload.thumb.jpg.890080a7cc4cb00d9e29c045069dd653.jpgScenewithswitchhighlightedthatdoesnothaveaload.thumb.jpg.2e553873e0b989a0a2b6f2355cbde1c0.jpg

Try changing your IF clause in your program to:

image.png.f6d4d5e9f158c6b9bef676c225ee08c2.png

In the THEN clause

Use ADJUST SCENE to change the ON Level of the light in your scene

Let me know if that works

 

  • Author

well the first line in the than

        Set 'Hallway / Kids Bath / Kids Bathroom' On Level 40%

is setting the switch on level to 40% and works for manual pressing on the button

The second line 

        In 'Hallway / Kids Bath / Kids Bath' Set 'Hallway / Kids Bath / Kids Bathroom' To 40% in 0.1 seconds

Is adjusting the scene to 40%, but I just noticed the controller parameter, so maybe I need to add a line for each of the controllers in the scene, to adjust the on level to 40%

a.jpg

Now I specifically set the motion sensor as the controller that adjusts the scene.

I can adjust the if statement, but that part is working as it as I see it working when I manually press the switch rather than letting the motion sensor trigger it.  

Edited by epete

  • Author

So, what I was missing in Scene configuration is that the scene can have a different action depending on what Controller is triggering the Scene.  So specifically setting an action for the controller that was not working as I expected it to fixed this.

Thanks Techman for making suggestions and forcing me to dig deeper into this.

Glad you got it resolved.

The theory for changing the IF clause is to save resources. The way you have it set up the timer program is running for 12 hours, the other way it would run only at the selected times.

 

  • Author

Great tip.  I will change that now.  By the way, given you need to specify "Next Day"; I would think that may use the same resources as the 12 hours.

Edited by epete

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.