Different treatment of manual vs scripted actions
Posted: Thursday 06 December 2018 21:24
I use ESP Easy a lot, in there I can link Domoticz devices to a switch.
So if I turn on a light which is controlled via ESP Easy a corresponding virtual device is turned on as well.
I have also a turn on and off action defined for that dummy device, which sends an action to the ESP Easy device to turn on the light.
By doing that I can turn on the light via Domoticz or in another way.
My problem is when I somehow turn a light on and off very fast, the domoticz on action fires when the light actually already off.
That makes the light blink.
What I would like to define is that the on and off action only take place when I manually turn on the device in Domoticz.
If I turn it on via other means the action should not be executed.
Is that possible?
So if I turn on a light which is controlled via ESP Easy a corresponding virtual device is turned on as well.
I have also a turn on and off action defined for that dummy device, which sends an action to the ESP Easy device to turn on the light.
By doing that I can turn on the light via Domoticz or in another way.
My problem is when I somehow turn a light on and off very fast, the domoticz on action fires when the light actually already off.
That makes the light blink.
What I would like to define is that the on and off action only take place when I manually turn on the device in Domoticz.
If I turn it on via other means the action should not be executed.
Is that possible?