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.

Schedule programming with From + For

Featured Replies

Posted

Dear Experts,

This section of the docs are very soft on details and I wanted to see if I can get more details from those who have used this feature.   Assume I set a Light to be on Sunset + 30 as a from For 30 min...

What is supposed to happen?  How often is this expression re-evaluated?   what happens if 5 min after the light is on someone turns it off?

 

Thank you

Hi

Sunset +30 is 30 minutes after sunset.  One shot deal every day .

PhanTomiZ

  • Author

what is the purpose of the For clause?

I may have misunderstood your questions.  How about pasting your program and we'll see.

what is the purpose of the For clause?

Gives a bracketed timeframe from x time FOR y time.

 

Sent using Tapatalk

 

 

 

  • Author

I can see value, but not alone in the clause.   From X to Y alone makes no sense, but could be useful to bracket trigering when used in conjuction with another condition.

 

This program likely has no use of the feature unless it is re-triggered every minute or so so that if someone turns the light off it turns back on.

If
        From    Sunset  + 10 minutes
        For      12 minutes 
 
Then
        Set 'Front Door Light' Fast On
 
Else
   - No Actions - (To add one, press 'Action')
 

7 hours ago, mzilberman said:
I can see value, but not alone in the clause.   From X to Y alone makes no sense, but could be useful to bracket trigering when used in conjuction with another condition.

 

This program likely has no use of the feature unless it is re-triggered every minute or so so that if someone turns the light off it turns back on.

If

        From    Sunset  + 10 minutes

        For      12 minutes 

 

Then

        Set 'Front Door Light' Fast On

 

Else

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

 

Somebody could unscrew the bulb and then there would be nothing ISY could do. default_sad.png

If somebody turned the switch off, they may want it left off. If we don't ever want it off, ISY can deal with the notification when it was switched.

The options are there for whatever you can imagine to do with it and not just lightbulbs.

 

 

 

 

Edited by larryllix

5 hours ago, mzilberman said:

From X to Y alone makes no sense,

I assume it works the same as from>to condition.  It might be useful if you want something to happen at the FROM time (then clause) and something else to happen at the end of the FOR period (else clause).  

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.