mzilberman Posted April 13, 2019 Posted April 13, 2019 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
PhanTomiZ Posted April 13, 2019 Posted April 13, 2019 Hi Sunset +30 is 30 minutes after sunset. One shot deal every day . PhanTomiZ
PhanTomiZ Posted April 13, 2019 Posted April 13, 2019 I may have misunderstood your questions. How about pasting your program and we'll see.
larryllix Posted April 13, 2019 Posted April 13, 2019 what is the purpose of the For clause? Gives a bracketed timeframe from x time FOR y time. Sent using Tapatalk
mzilberman Posted April 13, 2019 Author Posted April 13, 2019 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')
larryllix Posted April 13, 2019 Posted April 13, 2019 (edited) 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. 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 April 14, 2019 by larryllix
oberkc Posted April 13, 2019 Posted April 13, 2019 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).
Recommended Posts