TMR Rudy Posted December 15, 2014 Posted December 15, 2014 Good day everyone. I am looking for a program that between 9p.m. - 6 a.m next day will turn on my upstairs light to 30%. If I adjust the percentage through "on level" it will turn on 30% all the time. I have sent a program that sets the light to 30% during the scheduled time, however the catch is that it turns on the light to 100% first then immediately dims back down to 30%. I would like it to turn on at 30% level. Any suggestions. Thanks kindly Rudy
Jimbo.Automates Posted December 15, 2014 Posted December 15, 2014 Right click on the program and select copy to clipboard, then paste into a post so we can see what you have.
LeeG Posted December 15, 2014 Posted December 15, 2014 Define Scenexxxx with SwitchLinc as a Controller This program sets the Local On Level to 30% at 9PM and turns SwitchLinc On (optional) At 6AM next day the Local On Level is set to 100% and turns SwitchLinc Off (optional) If From 9:00:00PM To 6:00:00AM (next day) Then In Scene 'SwitchLinc Dimmer DB' Set 'SwitchLinc Dimmer DB' 30% (On Level) Set Scene 'Scenexxxx' On Else In Scene 'SwitchLinc Dimmer DB' Set 'SwitchLinc Dimmer DB' 100% (On Level) Set Scene 'Scenexxxx' Off
TMR Rudy Posted December 15, 2014 Author Posted December 15, 2014 Copy of program (note - it's a two pole switch) as requested by Jimbo If Control 'Main Hallway Master' is switched On Or Control 'Main Hallway Upstairs 1' is switched On Or Control 'Main Hallway Upstairs 2' is switched On And From 9:00:00PM To 6:00:00AM (next day) Then Set 'Main Hallway Upstairs Master' 30% Else - No Actions - (To add one, press 'Action')
TMR Rudy Posted December 15, 2014 Author Posted December 15, 2014 LeeG. I am looking for a program that keeps the light off and if turned on manually between 9 p.m. to 6 a.m. next morning, the light will be at 30% when turned on. Currently the program works by design, however when triggered it turns on the light at 100% for a second and then dims down to 30%. I want the program to fad up to 30% and stay there until the light is turned off manually again between the times above. The reason of this program is that we keep the nursery door open to hear the baby. If we need to access the upstairs or hallway, I don't want to have a bright light shining into the room. 30% level is perfect, except now the program turns on at 100% for a split second. Thanks rudy
LeeG Posted December 15, 2014 Posted December 15, 2014 (edited) Are there three or four devices involved and are they currently in an ISY Scene that links the devices (3 or 4) together?If ( Control 'Main Hallway Master' is switched On Or Control 'Main Hallway Upstairs 1' is switched On Or Control 'Main Hallway Upstairs 2' is switched On ) And From 9:00:00PM To 6:00:00AM (next day) Then Set 'Main Hallway Upstairs Master' 30% Else - No Actions - (To add one, press 'Action') Also this Program needs some parens as the first two devices are not gated by the From/To time. This Program cannot provide the function you want (ramp to 30% without 100% first). Need to know how many devices are involved and are they currently in an ISY Scene. Edited December 15, 2014 by LeeG
stusviews Posted December 15, 2014 Posted December 15, 2014 (edited) What is the "two pole" switch" you referred to? A 2-pole switch normally controls a 220/240VAC device or two 110/120VAC circuits. The only Insteon 2-wire switchI'm aware of is the RF only SwitchLinc. Edited December 15, 2014 by stusviews
TMR Rudy Posted December 15, 2014 Author Posted December 15, 2014 LeeG only 1 set of pot lights are involved. It is controlled by three switches. (main hallway upstairs) has a switch downstairs; another 2 switchs at each end of the hallway on the 2nd level; hence 3 switches that control 1 set of pot lights. I missed the brackets to group the program - good catch. yes; the 3 switches are in 1 scene as controllers for each other. Rudy
LeeG Posted December 15, 2014 Posted December 15, 2014 (edited) Sorry, I'm not clear yet. There are three switches 'Main Hallway Master' 'Main Hallway Upstairs 1' 'Main Hallway Upstairs 2' which turn On/Off 'Main Hallway Upstairs Master' Is 'Main Hallway Upstairs Master' a fourth switch that can be human operated, or perhaps an InLineLinc (or similar) that has no direct human interaction. The solution will be conceptually what I posted earlier, only with several more parts because of the number of additional switches. The Scene cannot be allowed to turn on the load control device to 100%. Once I know whether there are three or four physical Controllers then the Program can be coded to adjust what those Controllers make happen from 9PM to 6AM. The Controllers will turn On the load control device to 30%. The Program will adjust what the Controllers do based on Time of Day with no need to make a second adjustment. Edited December 15, 2014 by LeeG
TMR Rudy Posted December 16, 2014 Author Posted December 16, 2014 LeeG the pots are controlled by 3 switches. Main Hallway Master' - Located at south end of hallway 'Main Hallway Upstairs 1' - Located at bottom of stairs 'Main Hallway Upstairs 2' - Located at north end of hallway The wall switches are connected to 1 set of upstairs pot lights.
TMR Rudy Posted December 16, 2014 Author Posted December 16, 2014 LeeG, the problem that I have is that there is a scene where I have all three switches acting as controllers of each other; this is where I can turn on/off lights at the various locations. The on level is set at 100% which is by design. Have an addition scene that would turn on the light to 30% would only create the same effect. Scene - Main Hallway Upstairs Control, would trigger first to 100% then the Scene set to control the light to 30%. Scene - Main Hallway Upstairs Control Main Hallway Master' - Located at south end of hallway Main Hallway Upstairs 1' - Located at bottom of stairs Main Hallway Upstairs 2' - Located at north end of hallway. Maybe there is no way to have this program in this situation. rudy.
LeeG Posted December 16, 2014 Posted December 16, 2014 (edited) The solution is to adjust the reaction of the current Scene, not create an additional Scene Device A Device B Device C turns On/Off a fourth device. The Program does a "Set 'Main Hallway Upstairs Master' 30%". That is not a Scene. If that was a Scene it would be "Set Scene 'Main Hallway Upstairs Master' 30%". So far 'Main Hallway Upstairs Master' is not described. The solution is to issue a series of Adjust Scene statements at 9PM which change the Responder On Level to 30%. When the Controller switch is turned On the Responder turns On to 30% If From 9:00:00PM To 6:00:00AM (next day) Then In Scene 'Device A' Set 'responder on level' 30% (On Level) In Scene 'Device B' Set 'responder on level' 30% (On Level) In Scene 'Device C' Set 'responder on level' 30% (On Level) Else In Scene 'Device A' Set 'responder on level' 100% (On Level) In Scene 'Device B' Set 'responder on level' 100% (On Level) In Scene 'Device C' Set 'responder on level' 100% (On Level) The problem is the "responder" device has not been identified beyond it is called "Set 'Main Hallway Upstairs Master' 30%" Edited December 16, 2014 by LeeG
TMR Rudy Posted December 16, 2014 Author Posted December 16, 2014 I think you have it. the other option I did was to create the scene at 30% which controls all 3 switches jointly. Then from the scheduled time 9-6 I added the scene to the program which is set to turn on at 30% (scene level). I then created another scheduled program from 6:01 a.m. to 8:59 p.m. to turn the scene "fast on" when a switch is triggered; thus turns light on past 30% up to 100%. (Still have to test this one). --Night Program-- If ( Control 'Main Hallway Upstairs Master' is switched On Or Control 'Main Hallway Upstairs 1' is switched On Or Control 'Main Hallway Upstairs 2' is switched On ) And From 9:00:00PM To 6:00:00AM (next day) Then Set Scene 'Main Hallway Upstairs' On <--- this scene is set at 30% Else - No Actions - (To add one, press 'Action') --Day Program-- If ( Control 'Main Hallway Upstairs Master' is switched On Or Control 'Main Hallway Upstairs 1' is switched On Or Control 'Main Hallway Upstairs 2' is switched On ) And From 6:01:00AM To 8:59:00PM (same day) Then Set Scene 'Main Hallway Upstairs' Fast On Else - No Actions - (To add one, press 'Action')
oberkc Posted December 16, 2014 Posted December 16, 2014 (edited) Rudy, I suspect you will be more satisfied with your system if you avoid your two programs (with the SET SCENE and FAST ON actions) and use ADJUST SCENE actions in a 9-6 program, as suggested by LeeG. Given your two posted programs, I continue to believe there to be some confusion on scenes and responder levels. One of the main characteristics of insteon is that responder levels for a given device can be different based on to which controller it is responding. A less obvious factor here is that the PLM is, technically, a controller device for all your scenes. For example, in your scene "main hallway upstairs", switch "main hallway upstairs master" is responder to three devices: main hallway upstairs 1, main hallway upstairs 2, and the PLM. When you created the 30% scene, you likely created a scene where the three switches were set to 30% on level when responding to the PLM...the scene level responder level. (In that scene, if you mouse-click on the individual devices, I susect you will find the on levels for the three devices to be something other than 30%.) I suggest re-reading LeeGs latest suggestion in detail. That single program will accomplish your goals and I expect you will find your system to be much more responsive, reliable, and robust. Edited December 16, 2014 by oberkc
TMR Rudy Posted December 18, 2014 Author Posted December 18, 2014 totally agree. I plan to incorporate LeeG's program. Currently I am experience a fade up to 30% and then up to 100% when I need the lights only at 100%. Thanks guys. ps. I have another program that is not the greatest. Interested in investigating and reviewing? Rudy.
TMR Rudy Posted December 19, 2014 Author Posted December 19, 2014 This program is not working, wondering where the issue is? If ( Control 'Main Hallway Upstairs 2' is switched On Or Control 'Main Hallway Upstairs 1' is switched On Or Control 'Main Hallway Upstairs Master' is switched On ) And From 9:00:00PM To 6:00:00AM (next day) Then In Scene 'Upstairs Night' Set 'Main Hallway Upstairs 1' 30% (On Level) In Scene 'Upstairs Night' Set 'Main Hallway Upstairs 2' 30% (On Level) In Scene 'Upstairs Night' Set 'Main Hallway Upstairs Master' 30% (On Level) Else In Scene 'Upstairs Night' Set 'Main Hallway Upstairs 1' 100% (On Level) In Scene 'Upstairs Night' Set 'Main Hallway Upstairs 2' 100% (On Level) In Scene 'Upstairs Night' Set 'Main Hallway Upstairs Master' 100% (On Level)
Jimbo.Automates Posted December 19, 2014 Posted December 19, 2014 Go back to post #3. You shouldn't have the control checks in the program, just a program that runs to change the scene settings at the specified times.
LeeG Posted December 19, 2014 Posted December 19, 2014 Any attempt to change what the device does when the device is turned On cannot work as the device has already turned On to some value you do not want. As Jimbo has already noted, remove the "If Control" statements. Also, from the name used "Upstairs Night", that sounds like name of the ISY Scene. That would apply if using the Scene in a Program, 'Set Scene "Upstairs Night" On'. Its impossible to write an accurate example because the load control device has not been identified. The first parameter is the name of the Controller, the second name is the load control device. If From 9:00:00PM To 6:00:00AM (next day) Then In Scene 'Main Hallway Upstairs 1' Set 'responder on level' 30% (On Level) In Scene 'Main Hallway Upstairs 2' Set 'responder on level' 30% (On Level) In Scene 'Main Hallway Upstairs Master' Set 'responder on level' 30% (On Level) Else In Scene 'Main Hallway Upstairs 1' Set 'responder on level' 100% (On Level) In Scene 'Main Hallway Upstairs 2' Set 'responder on level' 100% (On Level) In Scene 'Main Hallway Upstairs Master' Set 'responder on level' 100% (On Level) Need to know name of load control device 'responder on level' to finish example.
TMR Rudy Posted December 19, 2014 Author Posted December 19, 2014 thanks again for reviewing. The reason that I am using " if control" is that I do not want the set of pot lights to automatically come on between the scheduled times, I only wish to have the lights turn on as needed, but not at 100% during the time noted. Main Hallway Master' - Located at south end of hallway Main Hallway Upstairs 1' - Located at bottom of stairs Main Hallway Upstairs 2' - Located at north end of hallway The wall switches are connected to 1 set of upstairs pot lights. The original scene "Main Hallway upstairs" has "all" 3 switches acting as the controller, to allow us to turn on or off the switchs at any of the 3 locations noted above. Hope that is providing a bit more details. I did create another scene that has all 3 switches acting as "responders" hoping that would solve the issue. That is why "Upstairs Night" was created. Thanks all. Rudy
oberkc Posted December 19, 2014 Posted December 19, 2014 thanks again for reviewing. The reason that I am using " if control" is that I do not want the set of pot lights to automatically come on between the scheduled times, I only wish to have the lights turn on as needed, but not at 100% during the time noted. This response leads me to believe that you are still unclear about what people are suggesting and the purpose of the suggested program actions. Nobody is suggesting a program that turns lights ON or OFF at specified times. What people ARE suggesting is to modify scene responder levels at specified times. Re-review suggested program in post 12, and again in post 18. Note actions such as : In scene 'device A' set responder on level 30% Such commands do NOT turn any lights on. Rather, it is an action to reset responder levels for devices within a scene, should the scene be turned on at a later time. This redefines how the scene responder devices responds to scene controller commands. Regarding switches, you have only three, correct? Are all three connected to a load (switch red wire connected to something)? You should have a single scene, with all three switches defined as CONTROLLER. Please confirm.
LeeG Posted December 19, 2014 Posted December 19, 2014 These statements DO NOT turn ON or Off any device, which oberkc has already noted. You have documented what the result should be and these statements make that happen (when you identify the load control device). These statements affect what happens when the switches are turned On, they DO NOT turn the switches On. Then In Scene 'Main Hallway Upstairs 1' Set 'responder on level' 30% (On Level) In Scene 'Main Hallway Upstairs 2' Set 'responder on level' 30% (On Level) In Scene 'Main Hallway Upstairs Master' Set 'responder on level' 30% (On Level) Else In Scene 'Main Hallway Upstairs 1' Set 'responder on level' 100% (On Level) In Scene 'Main Hallway Upstairs 2' Set 'responder on level' 100% (On Level) In Scene 'Main Hallway Upstairs Master' Set 'responder on level' 100% (On Level)
TMR Rudy Posted December 20, 2014 Author Posted December 20, 2014 yes I have created a scene with all three switches defined as CONTROLLER's. This program is working when using the dashboard, however not at the switch level. Sill turning on at 100%. Main Hallway Upstairs (Scene Name) Main Hallway Master' - Located at south end of hallway - Controller Main Hallway Upstairs 1' - Located at bottom of stairs - Controller Main Hallway Upstairs 2' - Located at north end of hallway - Controller If From 8:30:00PM To 6:00:00AM (next day) Then In Scene 'Main Hallway Upstairs' Set 'Main Hallway Upstairs 1' 30% (On Level) In Scene 'Main Hallway Upstairs' Set 'Main Hallway Upstairs 2' 30% (On Level) In Scene 'Main Hallway Upstairs' Set 'Main Hallway Upstairs Master' 30% (On Level) Else In Scene 'Main Hallway Upstairs' Set 'Main Hallway Upstairs 1' 100% (On Level) In Scene 'Main Hallway Upstairs' Set 'Main Hallway Upstairs 2' 100% (On Level) In Scene 'Main Hallway Upstairs' Set 'Main Hallway Upstairs Master' 100% (On Level)
TMR Rudy Posted December 20, 2014 Author Posted December 20, 2014 where are you seeing In Scene 'Main Hallway Upstairs 1' Set 'responder on level' 30% (On Level) "set responder" I only have options to add the controller names within the scene. I am not seeing Set responder? Thanks.
LeeG Posted December 20, 2014 Posted December 20, 2014 The Set parameter is the second parameter of Adjust Scene. The device is represented as 'responder on level' which needs to be the name of the load control device.
EricK Posted December 20, 2014 Posted December 20, 2014 The set responder on level is in the program. All controllers are also responders. Use the program above.
Recommended Posts