miataguy Posted August 21, 2012 Posted August 21, 2012 I have a bunch of X-10 scenes programmed into my devices. I have the ISY set up to recognize when those scenes are triggered by using If X-10 received conditions. Works great. Here's the rub: I only turn these scenes on. Never off. Subsequent scenes control the same devices. So, for example, turning the "Good Night" scene On effectively shuts the "Movie" scene to off. The problem is the ISY still thinks the Movie scene is on, and it still shows the program where I receive the Movie scene trigger as "True". Is there a way to programattically tell ISY that the Movie scene is no longer On? Is there a way to programmatically tell ISY that a program is no longer running?
LeeG Posted August 21, 2012 Posted August 21, 2012 Insteon has no concept of Scene Status (is the Scene On or Off). Nor does the ISY. The devices in each Scene should reflect what was last done to the device(s) regardless of whether done by that Scene, a different Scene or Direct commands. "Is there a way to programattically tell ISY that the Movie scene is no longer On?" ISY has nothing that relates to Scene Status. If you are referring to a KPL button LED being On, for example, and want to turn the KPL button Off, yes there are ways to turn the KPL button Off. Define a Scene with the KPL buttons as a Responder and have the Program turn the Scene Off. This will turn the KPL button LED Off. "Is there a way to programmatically tell ISY that a program is no longer running?" Not sure I understand this question. The Admin Console shows whether a Program is running or not in the Activity column. This is accurate information. It should not show a Program running if it is not. You could have Program A run the Else clause of Program B which will set the Status to False. It will also execute any statements in the Else clause.
apostolakisl Posted August 21, 2012 Posted August 21, 2012 "Is there a way to programattically tell ISY that the Movie scene is no longer On?" Scenes do not have on/off status. But I think what you have is a program that runs in response to turning a scene on, so perhaps what you mean to say is that the program is "true". The way to make the program show "false" is to run the "else" clause. For example, 2 programs are triggered from x-10 and are mutually exclusive. Program 1 If x10 scene 1 is turned on Then set lights this way run "else" clause program 2 Program 2 If x10 scene 2 is turned on Then set lights that way run "else" clause program 1 "Is there a way to programmatically tell ISY that a program is no longer running?" Can't really figure out what you mean here. Again, I think you are confusing programs with scenes here.
miataguy Posted August 21, 2012 Author Posted August 21, 2012 I'm not confusing programs with scenes. I may not be articulating it well. I'm not using ISY scenes. Forget I ever said scenes. In a program, I'm sending an X-10 ON command to a device. That program status is "True". I never run the else clause in that program, so it always stays true. Is there a way to make that program false from another program?
LeeG Posted August 21, 2012 Posted August 21, 2012 SURE, have a Program run the Else clause of the X10 On Program. Running the Else clause sets the Program Status to False.
Recommended Posts