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.

Help with this program

Featured Replies

Posted

I wrote this:

 

If
       Time is 10:00:00PM
   And Status  '0F.D2.3D.1/SDJ / 0F.D2.3D.B/Heater' is On
    Or Status  '14.7C.5C.1/SDJ Heater' is On

Then
       Set Elk Speak Word '[800hz_Tone]'
       Set Elk Speak Word 'Warning'
       Set Elk Speak Word 'Heat'
       Set Elk Speak Word 'Is'
       Set Elk Speak Word 'On'
       Set Elk Speak Word 'In'
       Set Elk Speak Word 'Play'
       Set Elk Speak Word 'Room'

Else
  - No Actions - (To add one, press 'Action')

How do I make this program repeat every five minutes until I drag my butt downstairs and physically turn off the heater? I assume it has to be done with some kind of if/then/else/true/false and at least one more program. Can anybody show me how?

 

Thank you.

Add a Repeat and Wait before statements in the Then Clause. A Repeat of 288 covers 24 hours. Probable not need that long. Adjust for as many 5 minute periods to repeat message.

 

If

- No Conditions - (To add one, press 'Schedule' or 'Condition')

 

Then

Repeat 288 times

Wait 5 minutes

Existing statements

 

Else

- No Actions - (To add one, press 'Action')

 

When the Status of the heater goes to Off the Repeat loop ends.

The Wait should be put after the existing statements. Otherwise the first message will come at 10:05 rather than 10:00

 

If

- No Conditions - (To add one, press 'Schedule' or 'Condition')

 

Then

Repeat 288 times

existing statements

Wait 5 minutes

 

Else

- No Actions - (To add one, press 'Action')

  • Author

Simpler than I thought. Thank you LeeG, it works.

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.