jmed999 Posted August 6, 2012 Posted August 6, 2012 I have a scene such that when my wive goes upstairs to watch TV the scene activates a lamp (dimmable outletlinc) and it adjusts the thermostat (Venstar T1700). The problem is the Venstar doesn't adjust. This is my first created scene so I may have done something wrong. I have both devices added to the scene and have the Venstar setpoint adjusted under the scene. When I activate the scene the lamp turns on but the setpoint on the stat doesn't change. I have tried it with both set to be responders and with the lamp as a controller and the stat at a responder. Neither worked the stat. Any ideas? Thanks!
LeeG Posted August 6, 2012 Posted August 6, 2012 Click on the Scene name. What is listed for the Set Point in the right pane?
jmed999 Posted August 6, 2012 Author Posted August 6, 2012 Ok I just recreated the scene and for some reason it seems to work now but when I turn the scene off the lamp goes back to the condition before the scene was activated but the stat does not. So basically when you turn the scene on the stat changes but doesn't change back once the scene is turned off. How do I get the stat to go back to the setpoint like it was before the scene was turned on?? Thanks!
LeeG Posted August 6, 2012 Posted August 6, 2012 The LampLinc is not going back to the condition before being turned On. If the LampLinc was set at 50% On before the Scene On turned it On full, the Scene Off turns the LampLinc Off. It does not return it to the previous 50% On. Insteon does not have a command that directs a device to return to a previous state. Changing a Set Point is an action with no Off equivalent. The thermostat does not have a command that says go back to where you were before the last command changed the Set Point. To establish a new Set Point a different Scene is needed or a Program can be run that defines a new Set Point.
jmed999 Posted August 6, 2012 Author Posted August 6, 2012 Oh ok. My goal is to put a mobilinc widget on my wifes phone so she can hit a button to turn both the lamp and the stat on a desired setting then when she leaves that room she can touch a button (the same button or different) to change the setpoint back to its original condition and turn the lamp off. The widget can be set up as a device, scene or program. I'm not sure the best way to do this. I guess I could create 2 scenes and have 2 widgets on her phone. One to turn things to the desired setting when she enters the room and the other to turn the devices to another setting (setpoint on the stat to an energy saving setpoint). This may not always be optimum though. Could I use a program to do this all in one widget that actually records the setpoint of the stat then returns it to that set point somehow when she taps the program widget? Thanks!
LeeG Posted August 6, 2012 Posted August 6, 2012 The current Set Point value cannot be accessed and used later in another command. Nor can the current On Level of say a LampLinc or other Dimmer be accessed and used later. Perhaps when variables are enhanced in the future but not now.
jmed999 Posted August 6, 2012 Author Posted August 6, 2012 To establish a new Set Point a different Scene is needed or a Program can be run that defines a new Set Point. How would I use a program to do this? Thanks!
LeeG Posted August 6, 2012 Posted August 6, 2012 This Program uses a KeypadLinc button Status, On or Off, to set different Cool Set Points. If Status 'KPL Floor Dimmer 6 / KPL Floor Dimmer 6 - C' is On Then Set 'T2491T1E - Main' 78° (Cool Setpoint) Else Set 'T2491T1E - Main' 82° (Cool Setpoint)
jmed999 Posted August 6, 2012 Author Posted August 6, 2012 I see! I'm trying to use the Mobilinc app instead of buying keypadlincs. How could this be done with the app?
Xathros Posted August 6, 2012 Posted August 6, 2012 You could use a program and integer variable as follows: If i.KeepMamaCool = 0 Then Set 'T2491T1E - Main' 78° (Cool Setpoint) i.KeepMamaCool=1 Else Set 'T2491T1E - Main' 82° (Cool Setpoint) i.KeepMamaCool = 0 Use Mobilinc to run the If section of the program. Each run will toggle between 78 and 82 -Xathros
jmed999 Posted August 6, 2012 Author Posted August 6, 2012 Does anyone have a tutorial on variables. I'm not familiar with them but would like to learn how to program with them. Thanks!
LeeG Posted August 6, 2012 Posted August 6, 2012 There is a forum topic dedicated to variables viewforum.php?f=68
Recommended Posts