Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Program triggers incorrectly...I think

Featured Replies

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

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

  • Author

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

  • Author

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

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.