Posts: 77
Threads: 23
Joined: Sep 2017
Reputation:
0
Hi
I have a number of schedules which run scripts to open / close blinds at various times of the day. The same scripts can be run ad-hoc by adjusting sliders on a visualisation.
Is there a way to deactivate / activate a group of schedules from a script - ie: to temporarily stop the automated opening / closing of the blinds.
I contemplated calling script.disable() however I need the scripts to remain enabled at all times to support ad-hoc adjustments of the blinds.
Kind Regards
James
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Schedulers have option to disable/enable by object.
------------------------------
Ctrl+F5
Posts: 77
Threads: 23
Joined: Sep 2017
Reputation:
0
Hi Daniel
Where do I specify the object to disable / enable a particular schedule?
I can't seem to find this only the option to run / not run on holidays. This would work too if I could dynamically / remove holidays with a script.
Kind Regards
James
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Here
------------------------------
Ctrl+F5
Posts: 77
Threads: 23
Joined: Sep 2017
Reputation:
0
Hmm ... I don't have that option. For this project we're working with the Clipsal / Schneider 5500SHAC which seems to have an older version of the firmware without this.
Kind Regards
James
Posts: 77
Threads: 23
Joined: Sep 2017
Reputation:
0
Hi Erwin
I'm not sure I understand.
I gather 'blocking 'is the object which the user would toggle on / off with a button on a visaalisation (to enable / disable a scheduler task)
And 'output' is my scheduler object - which in my case controls the position of the blind.
Where does the if statement go?
Kind Regards
James
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Output of your scheduler goes let say to 0/250/0 and it triggers Erwin's script. Output is the group which goes to your script. The blocking group can be added to visu and if it is false then schedule events will be sent if it is true then schedule events will be blocked.
------------------------------
Ctrl+F5
Posts: 77
Threads: 23
Joined: Sep 2017
Reputation:
0
Ahhh .. I understand!
Thanks you both for explaining.
Kind Regards
James
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
This works only one way.
------------------------------
Ctrl+F5