lgilsenberg Posted December 20, 2021 Posted December 20, 2021 Using 5.3.4 I have a scene where an insteon motion sensor is controlling a scene of one dimmer switch. I have a program that is adjusting each scene in the evening to have the lights come on at 65% at a certain time of day. When the scene comes on, the lights come on at 100% for a second and then dim to 65%. Am I doing something wrong? 1
larryllix Posted December 20, 2021 Posted December 20, 2021 You are adjusting a scene (preset) with that command line, not turning anything on. Can you copy to clipboard, your program, and paste it here so we can see your trigger program?
lgilsenberg Posted December 20, 2021 Author Posted December 20, 2021 Half Bath Adjust Scene Late - [ID 0042][Parent 0020] If $Time_of_Day is $LATE_NIGHT Then In '1 - First Floor / Half Bath / Half Bath' Set '1 - First Floor / Half Bath / Half Bath Light' To 20% in 0.2 seconds Else - No Actions - (To add one, press 'Action') Half Bath Sensor - [ID 0041][Parent 0020] If '1 - First Floor / Half Bath / Half Bath Sensor.1 Motion' is switched On Then Set '1 - First Floor / Half Bath / Half Bath' On Wait 10 minutes Run Program 'Half Bath Sensor' (Else Path) Else Set '1 - First Floor / Half Bath / Half Bath' Off Set '1 - First Floor / Half Bath / Half Bath Fan' Off Does this help to clarify?
MrBill Posted December 21, 2021 Posted December 21, 2021 is the motion detector a member of the scene? Or is control 100% thru the program 'Half Bath Sensor'? If the motion sensor is also a scene controller, what's happening is the motion sensor is kicking it on to 100%, then the program is also kicking it on and that controller has been adjusted for 65%. If the motion sensor is a scene controller, one solution is to add a line to your first program to also change the scene when the motion detector is the controller, then for better efficiency you can actually drop the first line of the second programs THEN block.
lgilsenberg Posted December 21, 2021 Author Posted December 21, 2021 6 hours ago, MrBill said: is the motion detector a member of the scene? Or is control 100% thru the program 'Half Bath Sensor'? If the motion sensor is also a scene controller, what's happening is the motion sensor is kicking it on to 100%, then the program is also kicking it on and that controller has been adjusted for 65%. If the motion sensor is a scene controller, one solution is to add a line to your first program to also change the scene when the motion detector is the controller, then for better efficiency you can actually drop the first line of the second programs THEN block. Excellent catch - I've changed the scene and the programs so many times to try and get it right that I missed that. So, I got rid of the first line in the then statement that calls the scene. Here's the weird thing . . . the scene changes from the adjust scene command but when the motion sensor (which is a controller in the scene) activates the scene, it always comes on at 100%. Just call me baffled.
MrBill Posted December 22, 2021 Posted December 22, 2021 15 hours ago, lgilsenberg said: Excellent catch - I've changed the scene and the programs so many times to try and get it right that I missed that. So, I got rid of the first line in the then statement that calls the scene. Here's the weird thing . . . the scene changes from the adjust scene command but when the motion sensor (which is a controller in the scene) activates the scene, it always comes on at 100%. Just call me baffled. Keep in mind that scene's can function differently based on which Controller is used. I can't see the details of your scene from the screenshot you included in the first post, so let me pick a scene of mine for the example: There are 3 Controllers here. The first controller is the ISY itself, or the root node of the scene "Christmas-All" the other 2 controllers are the RED nodes. The same scene can be programed to behave 3 different ways. The root node of the scene "Christmas-All" is what is used when a program controls the scene. So you your case specifically what you need to do to make the motion sensor turn on the scene to 20% is add a second line to Program #1. Same settings as the first line except for the "Controller" drop down, make that the motion sensor. The existing line changes what happens when the switch is the controller, the new second line changes what happens when the motion sensor is the controller.
lgilsenberg Posted December 22, 2021 Author Posted December 22, 2021 47 minutes ago, MrBill said: Keep in mind that scene's can function differently based on which Controller is used. I can't see the details of your scene from the screenshot you included in the first post, so let me pick a scene of mine for the example: There are 3 Controllers here. The first controller is the ISY itself, or the root node of the scene "Christmas-All" the other 2 controllers are the RED nodes. The same scene can be programed to behave 3 different ways. The root node of the scene "Christmas-All" is what is used when a program controls the scene. So you your case specifically what you need to do to make the motion sensor turn on the scene to 20% is add a second line to Program #1. Same settings as the first line except for the "Controller" drop down, make that the motion sensor. The existing line changes what happens when the switch is the controller, the new second line changes what happens when the motion sensor is the controller. Now I understand. Thank you. Another question comes to mind . . . Since the motion sensor is the controller of the scene being adjusted and the motion sensor is a battery device, how do you put the motion sensor in "communications mode" programmatically?
Solution MrBill Posted December 22, 2021 Solution Posted December 22, 2021 1 minute ago, lgilsenberg said: Now I understand. Thank you. Another question comes to mind . . . Since the motion sensor is the controller of the scene being adjusted and the motion sensor is a battery device, how do you put the motion sensor in "communications mode" programmatically? You can't and shouldn't need to for this. That said, "Adjust scene when used with a wireless controller" was broken in many versions of 5.x... I can't remember exactly which recent release fixed the bug but to use adjust scene with a wireless controller you should not need to put the device in setup mode-- the link that needs to change is actually in the responder. Your first post says you're on 5.3.4 so you should be good. 1 1
lgilsenberg Posted December 22, 2021 Author Posted December 22, 2021 When I make the controller "Motion Sensor" I start teeing up writes to the motion sensor. If I do this several times a day with a myriad of motion sensors, I don't know what will happen.
MrBill Posted December 22, 2021 Posted December 22, 2021 31 minutes ago, lgilsenberg said: When I make the controller "Motion Sensor" I start teeing up writes to the motion sensor. If I do this several times a day with a myriad of motion sensors, I don't know what will happen. You're going to need to open a ticket.... the fix for that was in 5.3.2: Quote 0000774 - Green icon appears on Insteon Controller Node after using Adjust Scene my guess is that they missed that particular device in the fix. 1
MrBill Posted December 22, 2021 Posted December 22, 2021 And one more comment.... Another method is to drop the motion sensor from the scene, and then add the line that turns the light on back to the program..... and "adjust scene" the root level controller. The drawback is that it takes an extra few seconds after motion detection for the light to come on.
lgilsenberg Posted December 22, 2021 Author Posted December 22, 2021 Just found out from Michel that you have to set the motion sensor (or any battery device) into communication mode and write the changes once. After that it works fine. Thank you all for your help. 1 1
Recommended Posts