Jump to content

Program triggers incorrectly...I think


superjuice

Recommended Posts

Posted (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!

image.thumb.png.cb61a55bf97c1a20067c8c6dc2c555e1.png

Edited by superjuice
verbage
Posted (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 by oberkc
  • Like 1
Posted (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!

image.thumb.png.ec28b5b993f5d98fb5be25c33b1648bc.png

Edited by superjuice
Posted (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 by superjuice
Posted
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.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...