Hi Guys,
Does anyone know if there is a difference in the status of a switch if you switch it by hand(with regular switch) or switching it via a script or domoticz interface?
thnx!
switching a light by hand or sw Topic is solved
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: switching a light by hand or sw
Standard there is no difference.Trigun wrote: Friday 20 September 2019 14:55 Does anyone know if there is a difference in the status of a switch if you switch it by hand(with regular switch) or switching it via a script or domoticz interface?
If you change status by a script you can do some things to identify that the switch was triggered by the script,
Using a second (dummy) switch or a uservariable or by editing the description field of the switch and maybe by some other creative solutions.
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
-
Trigun
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: switching a light by hand or sw
ok, cool! thnx for your reply.waaren wrote: Friday 20 September 2019 15:19Standard there is no difference.Trigun wrote: Friday 20 September 2019 14:55 Does anyone know if there is a difference in the status of a switch if you switch it by hand(with regular switch) or switching it via a script or domoticz interface?
If you change status by a script you can do some things to identify that the switch was triggered by the script,
Using a second (dummy) switch or a uservariable or by editing the description field of the switch and maybe by some other creative solutions.
working with a dummy might do the trick.
thnx!
Who is online
Users browsing this forum: No registered users and 1 guest