Overrule switch

Must be cleaned all topics go to the right subforum
Post Reply
TyzzyT
Posts: 33
Joined: Saturday 11 March 2017 12:06
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Overrule switch

Post by TyzzyT » Thursday 16 March 2017 23:51

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.

DutchHans
Posts: 294
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Overrule switch

Post by DutchHans » Friday 17 March 2017 0:12

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...

TyzzyT
Posts: 33
Joined: Saturday 11 March 2017 12:06
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Overrule switch

Post by TyzzyT » Friday 17 March 2017 0:24

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?

DutchHans
Posts: 294
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Overrule switch

Post by DutchHans » Friday 17 March 2017 0:26

I have 1switch per room.. the garage can be manual and the rest of the house automatic..etc...

Regards,Hans

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests