jkraus Posted May 16, 2009 Posted May 16, 2009 after this program executes the KPL on LED is still lit. How do I make sure it is in the off stage: This program is a 1HR Pool Pump" If Control '0A.2C.EE.1' is switched On Or Control 'KPL Pool Eq B' is switched On And Control 'KPL Pool Eq B' is not switched Off Then Run Program 'Pool on 2 HR KPL' (Else Path) Run Program 'Pool on 4 HR KPL' (Else Path) Run Program ' Pool Eq On KPL' (Else Path) Wait 2 seconds Send X10 'K16/On (3)' Wait 1 hour Run Program 'Pool on 1 HR KPL' (Else Path) Else Send X10 'K16/Off (11)'
Michel Kohanim Posted May 18, 2009 Posted May 18, 2009 Hi jkraus, Which statement is supposed to turn off the KPL? With kind regards, Michel after this program executes the KPL on LED is still lit. How do I make sure it is in the off stage: This program is a 1HR Pool Pump" If Control '0A.2C.EE.1' is switched On Or Control 'KPL Pool Eq B' is switched On And Control 'KPL Pool Eq B' is not switched Off Then Run Program 'Pool on 2 HR KPL' (Else Path) Run Program 'Pool on 4 HR KPL' (Else Path) Run Program ' Pool Eq On KPL' (Else Path) Wait 2 seconds Send X10 'K16/On (3)' Wait 1 hour Run Program 'Pool on 1 HR KPL' (Else Path) Else Send X10 'K16/Off (11)'
jkraus Posted May 18, 2009 Author Posted May 18, 2009 I naively thought when the program was done the KPL light would turn off. Now I have created a scene for the KPL button and in the program's else command I turn that scene off. Is that the best way?
Michel Kohanim Posted May 18, 2009 Posted May 18, 2009 Hello jkraus, Aha! Please add the off statement at the bottom of the Then path + the Else path. This way, when the program is done (end of the Then path) your KPL light turns off + when the Else path is activated. With kind regards, Michel I naively thought when the program was done the KPL light would turn off. Now I have created a scene for the KPL button and in the program's else command I turn that scene off. Is that the best way?
jkraus Posted May 18, 2009 Author Posted May 18, 2009 sorry for my inexperience, but the only wayI see to turn off the KPL LED is to add the KPL button to a scene then turn off that scene at the end of the then path or the else path. Is that what you mean?
Michel Kohanim Posted May 18, 2009 Posted May 18, 2009 Hello again, I think you already have that KPL in a scene to turn it on? If not, then you are 100% correct: you should add it to a scene as a responder and then turn off the scene. If you already have that scene, then simply turn it off. With kind regards, Michel sorry for my inexperience, but the only wayI see to turn off the KPL LED is to add the KPL button to a scene then turn off that scene at the end of the then path or the else path. Is that what you mean?
MikeB Posted May 18, 2009 Posted May 18, 2009 Yes, KPL secondary buttons can only be controlled through scenes.
jkraus Posted May 18, 2009 Author Posted May 18, 2009 Perfect! Thanks. I had basically came to the same conclusion by trial and error, just was not sure that I was missing something more obvious. Thanks again Joe
Recommended Posts