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.