Looking for idea's on how to to solve my "problem" #239
Unanswered
stefanuytterhoeven
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I don't have a real problem. I'm just curious what are your ideas to solve next "problem"
What I want:
I want to call a service.
When?
well, during a PERIOD (from-to date), for example every TUEsday (in that period), at a certain time.
I'm creating a "vacation script".
So, i want during my vacation (this is the PERIOD), every MON,TUE,WED,THU,FRI (in the weekend something else), turn on a light at a certain time (or turn it of)
So, I'm creating an "app", with the configuration, and trigger closures.
Now, I'm in my script a the moment that I have "PERIOD FROM", "PERIOD TO", Dayname, service(service name+attr),entityid, startTime
calling the service is no problem. It's the combination of PERIOD,DayOfWeek,starttime that i'm looking into, and I want to find
the best way to accomplisch this.
I already found "CRON" , RANGE,....
Any idea? thx!
Beta Was this translation helpful? Give feedback.
All reactions