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.

Wait command

Featured Replies

Posted

I just set up a new program to send alarms to my email address. The problem is when the If is true is sending emails every minute or so, and I want just get a email every hour the If is true. I tried the command "wait 1hour" having the same result. What am I doing wrong?

 

If

From 9:00:00AM

To 6:00:00PM

And Module 'Climate' Wind Speed >= 16 mph

 

Then

Send notification to 'email' content 'Watch the wind'

Wait 1 hour

The Wait (and Repeat) statement allows the If to be reevaluated. Every time the wind speed exceeds the checked value the Program is triggered from the beginning and issues another email.

 

One solution is split the logic into two Programs. The second Program has a null If so that the Wait cannot cause the Program to be reevaluated.

  • Author
The Wait (and Repeat) statement allows the If to be reevaluated. Every time the wind speed exceeds the checked value the Program is triggered from the beginning and issues another email.

 

One solution is split the logic into two Programs. The second Program has a null If so that the Wait cannot cause the Program to be reevaluated.

 

Can you please post how to do it?

Program 1

 

If

From 9:00:00AM

To 6:00:00PM

And Module 'Climate' Wind Speed >= 16 mph

 

Then

Run Program ‘2’ (if)

 

 

Program 2

 

If

 

Then

Send notification to 'email' content 'Watch the wind'

Wait 1 hour

  • Author
Program 1

 

If

From 9:00:00AM

To 6:00:00PM

And Module 'Climate' Wind Speed >= 16 mph

 

Then

Run Program ‘2’ (if)

 

 

Program 2

 

If

 

Then

Send notification to 'email' content 'Watch the wind'

Wait 1 hour

 

Thanks a lot, but I am still having the same result

Copy/Paste the two Programs. Right click a Program, select Copy to Clipboard (last option at bottom of list). They past into forum.

 

Make sure the Program changes have been saved by clicking Save Changes.

  • Author
Copy/Paste the two Programs. Right click a Program, select Copy to Clipboard (last option at bottom of list). They past into forum.

 

Make sure the Program changes have been saved by clicking Save Changes.

 

 

I already did it .I made two programs, my two programs look the same than your ones , but I got the same result than before.

My apologies. The Wait has no affect when there are no functional statements following the Wait.

 

Program 1

 

no change

 

 

Program 2

 

If

 

Then

Disable Program '1'

Send notification to 'email' content 'Watch the wind'

Wait 1 hour

Enable Program '1'

  • Author
My apologies. The Wait has no affect when there are no functional statements following the Wait.

 

Program 1

 

no change

 

 

Program 2

 

If

 

Then

Disable Program '1'

Send notification to 'email' content 'Watch the wind'

Wait 1 hour

Enable Program '1'

 

 

This works perfect!!

 

Thanks and regards

Hi,

 

Just my 2 cents: You should set program 2 to run at startup. Otherwise, if you ever have a power outage or you reboot the ISY for whatever reason program 1 will remain disabled & program 2 will never run on it's own, thus you won't get any more emails.

 

Sent from my SPH-D710 using Tapatalk 2

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.