Overrule switch

Moderator: leecollings

Post Reply
TyzzyT
Posts: 32
Joined: Saturday 11 March 2017 11:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Contact:

Overrule switch

Post 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.
DutchHans
Posts: 230
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Overrule switch

Post 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...
TyzzyT
Posts: 32
Joined: Saturday 11 March 2017 11:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Contact:

Re: Overrule switch

Post 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?
DutchHans
Posts: 230
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Overrule switch

Post by DutchHans »

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 1 guest