Creating an Event - Variable Outcome
Posted: Thursday 10 November 2016 21:36
Hi,
I have a door contact and a virtual switch within Domoticz. I am trying to create an event which starts a scene if the door opens while the virtual switch is off and does nothing if the door opens but the virtual switch is on.
So far I have tried using Blockly but haven't had any success so far.
I have tried: I have also tried adding 'or else' if Door=Open + Goodbye(Virtual)=On
and left the 'Do' block empty.
At the moment I am looking for an implementation in Blockly - I have never used Lua before and would like a quick solution before I embark on the adventure of learning and writing a script in Lua.
If anyone has any suggestions it would be greatly appreciated.
Many thanks,
Fred.
I have a door contact and a virtual switch within Domoticz. I am trying to create an event which starts a scene if the door opens while the virtual switch is off and does nothing if the door opens but the virtual switch is on.
So far I have tried using Blockly but haven't had any success so far.
I have tried: I have also tried adding 'or else' if Door=Open + Goodbye(Virtual)=On
and left the 'Do' block empty.
At the moment I am looking for an implementation in Blockly - I have never used Lua before and would like a quick solution before I embark on the adventure of learning and writing a script in Lua.
If anyone has any suggestions it would be greatly appreciated.
Many thanks,
Fred.