Switches Looping
Posted: Saturday 28 March 2020 10:21
i assume this was asked previously - couldnt find any post on this tough..
Due to last changes in release in MQTT out - no longer broadcasted
i have to create for multiple switches different IDX in domoticz
untill now, 1 switch connected to the light, and other acting as 2/3 ways - so i have used the same IDX for all the siwtches that controls it.
since domoticz/out used to broadcast all changes - it would update the rest of the physical switches.
so to create the same behaviour - i have for example 2 switches - each has different IDX
with LUA/Blocky/DZvent - when one is on or off - i want to update the other one.
in this case - it would create endless loop of On/ Off commands - perhaps due to the fact that the trigger switch yet to be updated in domoticz?
even with 2 seconds delay - i ended in loop ON-Off sequence commands..
Due to last changes in release in MQTT out - no longer broadcasted
i have to create for multiple switches different IDX in domoticz
untill now, 1 switch connected to the light, and other acting as 2/3 ways - so i have used the same IDX for all the siwtches that controls it.
since domoticz/out used to broadcast all changes - it would update the rest of the physical switches.
so to create the same behaviour - i have for example 2 switches - each has different IDX
with LUA/Blocky/DZvent - when one is on or off - i want to update the other one.
in this case - it would create endless loop of On/ Off commands - perhaps due to the fact that the trigger switch yet to be updated in domoticz?
even with 2 seconds delay - i ended in loop ON-Off sequence commands..