Page 1 of 1

Overrule switch

Posted: Thursday 16 March 2017 22:51
by TyzzyT
Hi all,

I was wondering how you guys created the overruling?
Because I have some logics to switch lights, I'm no longer available to switch those lights by hand in Domoticz. If I let my light automatically switch based on time and I want to switch this light outside this timeframe, it'll automatically switch this light off (because of the Blockly script). How did you guys create this overrule mode?
I was thinking about some virtual sensor, which I could implement in the Blockly to switch this. But this way I need to create a virtual switch for every physical switch. I hope there is a better/smarter way.

Many thanks in advance.

Re: Overrule switch

Posted: Thursday 16 March 2017 23:12
by DutchHans
In every script I have an "automatic" switch (dummy) extra..this can be "on" or "off" which either runs the script or switches to manual...

Re: Overrule switch

Posted: Thursday 16 March 2017 23:24
by TyzzyT
DutchHans wrote:In every script I have an "automatic" switch (dummy) extra..this can be "on" or "off" which either runs the script or switches to manual...
Is this one switch for all scripts, or for every switch an individual virtual switch?

Re: Overrule switch

Posted: Thursday 16 March 2017 23:26
by DutchHans
I have 1switch per room.. the garage can be manual and the rest of the house automatic..etc...

Regards,Hans