Enabling/disabling switch planning

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
oliviers
Posts: 74
Joined: Wednesday 16 September 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Paris area, France
Contact:

Enabling/disabling switch planning

Post by oliviers »

Hello all,
Does somebody knows if it is possible to enable/disable all actions in a planning of a switch at once, instead of having to change them one by one ?
The idea behind is to be able to enable or disable a set of actions, globally.
Practical example: I created a switch with several on/off actions to control the lights of my Christmas tree..... I won't need this again until next year ...
Any idea ?
Oliviers
Paris area
Raspberry Pi 4 - RFXComm 433 - IrTrans - Zwave
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Enabling/disabling switch planning

Post by jvdz »

I normally use a Dummy Switch or User variable to facilitate the Enabling or Disabling of certain events in my LUA scripts by simply testing their status/value.

Jos
oliviers
Posts: 74
Joined: Wednesday 16 September 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Paris area, France
Contact:

Re: Enabling/disabling switch planning

Post by oliviers »

Yeah, of course I could do that....Thanks for the idea... But in my case, I'm just using the basic planning of a switch... Not a lua script...
Another example where I would need this: Enable/Disable the watering of my land in the summer according to the weather forecasts (Rain or not ?)
Paris area
Raspberry Pi 4 - RFXComm 433 - IrTrans - Zwave
oliviers
Posts: 74
Joined: Wednesday 16 September 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Paris area, France
Contact:

Re: Enabling/disabling switch planning

Post by oliviers »

Hi,

See here:

viewtopic.php?f=31&t=9933#p70393

how I solved this.
Paris area
Raspberry Pi 4 - RFXComm 433 - IrTrans - Zwave
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest