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..
Switches Looping
Moderator: leecollings
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
Re: Switches Looping
I do no fully understand what you what to achieve, but [else if 1] is actually the same as [else if 2]. So same condition, but conflicting action [On/Off].
These 3 [Else if's] is too much conflict.
These 3 [Else if's] is too much conflict.
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
-
- Posts: 84
- Joined: Friday 12 August 2016 13:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Switches Looping
if you are using a block out logic you can't use a block in the same rule out the time
Gerwin
Who is online
Users browsing this forum: No registered users and 1 guest