Re: Do not trigger action if...
Posted: Wednesday 02 August 2017 1:14
Have a read through here: https://www.domoticz.com/forum/viewtopic.php?t=8495
And also here
https://www.domoticz.com/forum/viewtopi ... 28&t=15822
They are talking about updating the status of a virtual switch without triggering it the events linked to it.
If you use:
commandArray["UpdateDevice"] = "54|0|Off"
commandArray["UpdateDevice"] = "54|1|On"
where 54 = IDx of the switch
where 0 is the N value
where "Off" is the S value
It should update the status of the switch without triggering any events.
And also here
https://www.domoticz.com/forum/viewtopi ... 28&t=15822
They are talking about updating the status of a virtual switch without triggering it the events linked to it.
If you use:
commandArray["UpdateDevice"] = "54|0|Off"
commandArray["UpdateDevice"] = "54|1|On"
where 54 = IDx of the switch
where 0 is the N value
where "Off" is the S value
It should update the status of the switch without triggering any events.