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.

Experiences with Z-Wave Device Manufacturers/Brands

Featured Replies

Couldn't you just enable  "run at startup" for the program in the program summary tab to get the desired effect of the the repeat?

That’s what I was referring to, to get the initial trigger. The If statement would still need to evaluate true (or false for an else clause) to get to the next step. Don’t think you can just leave if blank. Also, I still think you want something more than run at startup to keep program re-triggering in case it ever stopped unexpectedly.


Sent from my iPhone using Tapatalk
20 minutes ago, gzahar said:

Also, I still think you want something more than run at startup to keep program re-triggering in case it ever stopped unexpectedly.

Has that been a problem? 

All The Time - [ID 0038][Parent 0077]

If
        From    12:00:00AM
        To      12:00:00PM (same day)
 
Then
        Repeat Every  1 minute
           Set 'Basement / Laundry Room / Laundry Room' Query
 
Else
   - No Actions - (To add one, press 'Action')

Startup Run - [ID 0099][Parent 0077][Run At Startup]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Run Program 'All The Time' (Then Path)
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Edited by Sub-Routine

6 minutes ago, Sub-Routine said:

From    12:00:00AM
        To      12:00:00PM (same day)

Midnight to noon?

Ok I think I've got it.

The trick was understanding exactly how the "repeat" verb worked in the ISY system programming - thanks for that :)

Simply put, just put the query statement AFTER the repeat in the THEN loop, and if the program is triggered at least once, it will hang out in the then loop forever (unless somehow terminated unexpectedly).

So to be more robust, I not only set it to "run at startup" but also scheduled a run once a day to restart the program if it somehow got terminated.

Pseudo code:

<run at startup>

IF

     "daily start time"

THEN  

    REPEAT every 1 min

        set "device" to query

 

--> that's it. working now. Thanks all!

tom

  • 2 weeks later...
On 2/13/2019 at 11:20 PM, gzahar said:


That’s what I was referring to, to get the initial trigger. The If statement would still need to evaluate true (or false for an else clause) to get to the next step. Don’t think you can just leave if blank. Also, I still think you want something more than run at startup to keep program re-triggering in case it ever stopped unexpectedly.


Sent from my iPhone using Tapatalk

Just to correct myself, you can leave 'if' blank and have 'then' section 'run at startup'.  (I have been doing this, but forgot until I just ran across those programs)

24 minutes ago, gzahar said:

Just to correct myself, you can leave 'if' blank and have 'then' section 'run at startup'.  (I have been doing this, but forgot until I just ran across those programs)

Yes, The program can have triggers from other programs (acting as a subroutine) or even vocal triggers from Alexa or GH.

Running a blank "If" section assumes True and Then will run.

Edited by larryllix

34 minutes ago, larryllix said:

Running a blank "If" section assumes True and Then will run.

Can you ask GH to enable  a program ?

 

23 minutes ago, asbril said:

Can you ask GH to enable  a program ?

 

You cannot ask Alexa to enable a program via ISY Portal so I doubt you can use GH to enable a program either.

However you can run a program that could do it, from either.

"Alexa! Turn On/Off Xprogram enable"

Program: Xprogram enable
If
    ---
Then
     enable programYY
Else
   disable programYY

Edited by larryllix

Archived

This topic is now archived and is 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.