Search found 2 matches

by snarf71
Monday 08 March 2021 22:47
Forum: Switches and Scenes
Topic: Synchronize switches
Replies: 5
Views: 499

Re: Synchronize switches

Do not use the elseif but again a normal if while checking the devices. Although not sure it is really the solution. This kind of sync is asking for trouble: the update of 1 switch will trigger the update of another. Which can trigger the first switch again if domoticz is not changing the device ...
by snarf71
Monday 08 March 2021 19:08
Forum: Switches and Scenes
Topic: Synchronize switches
Replies: 5
Views: 499

Synchronize switches

Hey, I have a script that sync's 2 switches, works fine but after 1 or 2 weeks the switches bigins to flicker (on/off) very fast. I have to reboot the pi to stop the flickering. Does someone have a solution or other script? commandArray = {} -- variabeles local Switch1 = 'Firstfloor' local Switch2 ...