superjuice Posted February 20, 2021 Posted February 20, 2021 (edited) My goal is: If its between sunset and sunrise and any one of those switches is turned off or the bedtime shutdown routine program runs then set those lights to certain percentage. The problem is every night at sunset, even if those lights are on, they set to dim. Shouldn't it only trigger if one of those mentioned are switched off or the bedtime program runs? Thanks for any insight you can offer! Edited February 20, 2021 by superjuice verbage
oberkc Posted February 20, 2021 Posted February 20, 2021 (edited) Generally, I would say your understanding is correct. If it is sunset, sunrise, or anywhere in-between, the program should run true only if one (or more) of your lights are switched off. The one exception that catches my attention is your condition: "'timer bedtime shutdown' is true" Of course, you did not post that particular program, so I can only speculate at this point.... Keep in mind, a program being "true" is not the same thing as a program running. A program status will be true based upon the last action executed being true and remain true indefinitely or until it runs again and runs false. Look at the status of that program right now. Is it currently true? Have you ever seen a false status for that program? Feel free to post that program and let us confirm this as a potential problem (or not). Edited February 20, 2021 by oberkc 1
superjuice Posted February 20, 2021 Author Posted February 20, 2021 (edited) Thanks @oberkc, I see the small green stripe shows the program is true but not running. Looks like you found my problem, thank you! Edited February 20, 2021 by superjuice
superjuice Posted February 20, 2021 Author Posted February 20, 2021 (edited) I will just remove the “or program timer bedtime...” as those lights are shutoff at 12:00 anyway. I’ve been wondering what the problem was for over a year now, thanks again! Edited February 20, 2021 by superjuice
oberkc Posted February 21, 2021 Posted February 21, 2021 2 hours ago, superjuice said: I will just remove the “or program timer bedtime...” as those lights are shutoff at 12:00 anyway. I’ve been wondering what the problem was for over a year now, thanks again! I think this confirms your problem. This program runs once per day, always runs TRUE, and never runs FALSE. The status of this program will always be true. Given this, your first program will always execute true when triggered at sunset.
Recommended Posts