+1
Will be answered
Control the routines by script
Christophe MATHEY 6 jaar geleden
in Tips and Tricks
•
bijgewerkt door Paolo Scarpetta 4 jaar geleden •
6
Hello Iridium,
I would be interesting to enable/dsable the sever's routines by script.
Get access to the property 'Enable' of routines would be interessting for our end customer..
This point will complet the property of schedule what you are rending access by script...
Customer support service by UserEcho
Hello
try to use this example https://dev.iridi.com/Demo_schedule_edit
Hi Aleksandr,
I tried it already. My request will complet it.
In fact,
several routines can use the same schedule. It would be best to enable/disable routines than schedule
An example,
a specific schedule parameter the sunset.
several routines use it (close shutters / activate detection for light, etc),
But, if user want to desactivate closing shutter only... actually it needs to write several schedules which are similar.
it is not logic.
I hope I have been clear with my little english....
Best regards
Yes, now I see.
Now there is no such method for shutting down the routine, but we have some improvement in the mechanism that we are testing now and after that methods will be available to turn the routine on and off. After the release (1-2 months) I will write to you how it will work.
It is a great new.
Thank you.
Any update on this? I also looking for enable/disable routine,
I already look in https://dev.iridi.com/Demo_schedule_edit
it refer to IR.GetScheduler()
but it can not find any document on this method
or how can I simple update start/end date time like this: (how about date time format should i use?)
I share something that I did for this, I created a virtual variable and in the routine I put the condition "only if" that virtual variable is in 1, in this way the user can activate or deactivate the routine with a button