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?
Different treatment of manual vs scripted actions
Moderators: leecollings, remb0
-
- Posts: 130
- Joined: Tuesday 07 February 2017 15:00
- Target OS: Linux
- Domoticz version:
- Contact:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Different treatment of manual vs scripted actions
This Is possible with some scripting. I implemented something similar with a dzVents script and MQTT as communication between ESPeasy and domoticz.Ewaldharmsen wrote: ↑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?
Let me know if you are interested.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 130
- Joined: Tuesday 07 February 2017 15:00
- Target OS: Linux
- Domoticz version:
- Contact:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Different treatment of manual vs scripted actions
Send you a PM
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest