RichTJ99 Posted August 17, 2016 Posted August 17, 2016 Hi, So I want to replace a scene with a program. What I want to have happen is: Press button D (on), keypad light goes to 4% Press button D (off), keypad light goes to 0% So far I only have half of it: If Control 'Main House / Bedrooms / Main: Upstair Steve Keypad D' is switched On Then Set 'Main House / Bedrooms / Main: Upstair Steve Keypad' 4% Else - No Actions - (To add one, press 'Action') Thanks, Rich
Techman Posted August 17, 2016 Posted August 17, 2016 (edited) Hi, So I want to replace a scene with a program. What I want to have happen is: Press button D (on), keypad light goes to 4% Press button D (off), keypad light goes to 0% So far I only have half of it: If Control 'Main House / Bedrooms / Main: Upstair Steve Keypad D' is switched On Then Set 'Main House / Bedrooms / Main: Upstair Steve Keypad' 4% Else - No Actions - (To add one, press 'Action') Thanks, Rich add an off statement to the Else clause and change control to status in the IF statement ELSE set keypad to 0 Edited August 17, 2016 by Techman
MWareman Posted August 17, 2016 Posted August 17, 2016 Keypad lights only work from scenes.This. You cannot set keypad lights directly from a program....
oberkc Posted August 18, 2016 Posted August 18, 2016 This. You cannot set keypad lights directly from a program.... True for secondary buttons, not so sure for primary. Also, Secondary buttons, I thought, could be used as program conditions, however. No? If keypad light is the primary button (and i expect that it is here) then
oberkc Posted August 18, 2016 Posted August 18, 2016 Sorry, got pulled away on something else. It appears to me that this program is using a secondary button as a trigger, but commanding the primary button. I understood that one could not issue direct commands to secondary buttons, but thought you could use them as program conditions. Being uncertain, I tried a quick experiment and found that I was remembering wrong. Secondary buttons apparently do not even report status, nor can they be used to trigger programs. Wow. How long have I been doing this?
larryllix Posted August 18, 2016 Posted August 18, 2016 (edited) Sorry, got pulled away on something else. It appears to me that this program is using a secondary button as a trigger, but commanding the primary button. I understood that one could not issue direct commands to secondary buttons, but thought you could use them as program conditions. Being uncertain, I tried a quick experiment and found that I was remembering wrong. Secondary buttons apparently do not even report status, nor can they be used to trigger programs. Wow. How long have I been doing this? LOL The secondary button triggers programs just fine. I use mine for combination locks wit several different combinations to do different things like reset water leak responses, turning the well pump or washing machine back on or turning on/off the notification system. But yes the primary LED brightness can be controlled day/night with program control. Edited August 18, 2016 by larryllix
stusviews Posted August 18, 2016 Posted August 18, 2016 If Control 'Main House / Bedrooms / Main: Upstair Steve Keypad D' is switched On And Control 'Main House / Bedrooms / Main: Upstair Steve Keypad D' is not switched OffThen Set 'Main House / Bedrooms / Main: Upstair Steve Keypad' 4%Else Set 'Main House / Bedrooms / Main: Upstair Steve Keypad' Off
oberkc Posted August 18, 2016 Posted August 18, 2016 (edited) LOL The secondary button triggers programs just fine. I use mine for combination locks wit several different combinations to do different things like reset water leak responses, turning the well pump or washing machine back on or turning on/off the notification system. But yes the primary LED brightness can be controlled day/night with program control. I, too, trigger programs based upon status of secondary keypad buttons. Not being satisfied with my experiment results and looking further, I find that some of my keypad buttons report status, and others (at least the one on which I was doing experiments and likely the oldest keypad I own) does not. Possibly a comm issue with that particular keypad? Or do old ones behave different than newer ones? Oh well. It is getting late and I am losing interest. Back on topic, I think stusviews answered the un-voiced question. Edited August 18, 2016 by oberkc
stusviews Posted August 18, 2016 Posted August 18, 2016 AFAIK, the only way to manipulate (turn on or off) the state of a secondary button is to create a scene that has only the button as a responder.
Recommended Posts