Can I "invert" scenes or blockys in any simple way?

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
burton666
Posts: 85
Joined: Monday 17 August 2015 21:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Can I "invert" scenes or blockys in any simple way?

Post by burton666 »

If I create a scene where I turn light 1 on and turn light2 off, can I invert the actions in any simple way?

So if I when the scene "exits" it flips the light back to the way there was before?
georgesattali
Posts: 84
Joined: Saturday 05 March 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: Can I "invert" scenes or blockys in any simple way?

Post by georgesattali »

no you cannot.
Scenes can only set "On" (see https://www.domoticz.com/wiki/Domoticz_ ... _on_or_off).

BUT, you can create another scene, that is the "countrary" of the first. So you have 2 scenes , sceneActivate and sceneUnactivate, that you can set On whenever needed.
haha,
GD
burton666
Posts: 85
Joined: Monday 17 August 2015 21:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Can I "invert" scenes or blockys in any simple way?

Post by burton666 »

Ok, but if I create a blocky like this: If motion is triggered, turn on lamp1 for 15min.
Will it still turn back off after the 15 min?
georgesattali
Posts: 84
Joined: Saturday 05 March 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: Can I "invert" scenes or blockys in any simple way?

Post by georgesattali »

I think so, you can try, maybe with a "pseudo" (virtual) switch ?
Bye, GD
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests