December 13, 20205 yr here is what i got: If Time is Sunset - 1 hour and 15 minutes Then Set 'BEDRM LAMP' 20% Set 'BDRM BACK' 12% Wait 30 minutes Set 'BDRM.Back Porch Light' On this program has been running great, what I would like to add is if 'BDRM BACK' is already on, to leave it at the present level and not change it to the 12% setting. thanks!
December 13, 20205 yr 2 hours ago, chevykid said: I would like to add is if 'BDRM BACK' is already on, to leave it at the present level Create a second program, I'll call it "Set_BDRM_BACK_To_12": Set_BDRM_BACK_To_12 - [ID xxxx][Parent xxxx][Not Enabled] If 'BDRM BACK' Status is Off Then Set 'BDRM BACK' On 12% Else - No Actions - (To add one, press 'Action') After creating this program, right-click on it and choose "Disable". This is important because it tells the ISY not to automatically evaluate the IF whenever the status of "BDRM BACK" changes. If you don't do this, then whenever you turn OFF "BDRM BACK" it will automatically come back on at 12%. Now replace the "Set 'BDRM BACK' 12%" line in your program with "Run Program 'Set_BDRM_BACK_To_12' (IF)". Edited December 13, 20205 yr by kclenden
December 13, 20205 yr Author so when you disable a program it's not totally disabled. thanks i'll see if it works today.
December 13, 20205 yr 2 hours ago, chevykid said: so when you disable a program it's not totally disabled. thanks i'll see if it works today. The program is disabled in the sense it will not run by its own if statement but can still be called by another program.
December 14, 20205 yr 13 hours ago, chevykid said: so when you disable a program it's not totally disabled. thanks i'll see if it works today. It only disables the triggers of the program.
January 2, 20215 yr Author So this is what I had to do, I had to 'run' 2 times with a "Wait 1 minutes" in between, for it to work, it was intermittent otherwise. If Time is Sunset - 1 hour and 15 minutes Then Set 'BEDRM LAMP' 20% Run Program 'Set_BDRM_BACK12' (If) Wait 1 minutes Run Program 'Set_BDRM_BACK12' (If) Wait 30 minutes Set 'BDRM.Back Porch Light' On Thanks!