EvaUnit02 Posted March 30, 2015 Posted March 30, 2015 (edited) I have a number of Insteon RemoteLinc 2 remotes as well as a ISY-994i/IR PRO. In my office, I have the office lamp turn on if it's dark and the motion sensor under the desk is triggered. The light turns off when I'm not there to trigger the motion sensor. This works just fine. However, sometimes I would like to disable this feature (i.e., I'd like to sit in the dark) What I wanted to do was set one set of buttons on the RemoteLinc to trigger a program that would turn a variable off and another set of buttons to turn the variable on. Then, when the motion sensor program runs, if the flag is enabled, it'll run. Otherwise, it won't. So my question is this: is it possible to set a button on a RemoteLinc to run a program instead of tying it to a scene or device? If so, how? Ideally, I'd like to run a program *and* control a device but I could throw the device control in to a program if need be. Edited March 30, 2015 by EvaUnit02
LeeG Posted March 30, 2015 Posted March 30, 2015 (edited) Sure. Do not add the RemoteLinc 2 button to a Scene. A simple Program something like RL2Variable - [iD 0082][Parent 0001] If Status 'RL2-8 - B / RL2-8 - D' is not Off Then $Int_Disable = 1 Else $Int_Disable = 0 Turning RL2 button D On would set integer variable to 1, turning button D Off sets variable to 0. The Variable would be used to And with the Motion On to control whether the Motion On would have an affect. That also has to be done in a Program. Cannot add a variable in a Scene directly to affect Scene execution. Motion1A - [iD 0068][Parent 0001] If Control 'MotionSensor2-Sensor' is switched On And $Int_Disable is 0 Then do something Else - No Actions - (To add one, press 'Action') Edited March 30, 2015 by LeeG
Recommended Posts