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.

Why doesnt this rule work?

Featured Replies

Posted

If

From Sunset + 20 minutes

To 10:00:00PM (same day)

 

Then

Set 'Outlets / Outside:Outside Outlet' On

 

Else

Set 'Outlets / Outside:Outside Outlet' Off

 

 

So this should turn on the outlet 20 minutes after sunset, and then turn them off at 10pm. Correct??

Yes.

At sunset plus 20, the then clause will run

At 10pm the else clause will run.

 

So what isn't happening. The sunset part or the 10pm part or both?

In your program summary page, does it indicate that the program ran and at what time?

 

Did you double check that you saved the program and that it is "enabled"?

  • Author
Yes.

At sunset plus 20, the then clause will run

At 10pm the else clause will run.

 

So what isn't happening. The sunset part or the 10pm part or both?

In your program summary page, does it indicate that the program ran and at what time?

 

Did you double check that you saved the program and that it is "enabled"?

 

It never turned the outlet off. I will look at the logs if it fails tonight.

2 things I think of.

 

1) Sunset is after 9:40 (unlikely in Dec)

2) The load on the plug is a signal sucker or noise producer. What do you have plugged into it? CFL or incandescent? CFL's can cause troubles.

It never turned the outlet off. I will look at the logs if it fails tonight.

 

You don't have to wait. What is the program's current status...True or False. If it is false, then the last time it ran, it ran the "else" path. Opposite is true for "true" status.

 

If the program ran, then most likely a communication problem.

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.