i want to control light in a room with domoticz an the threeway switch.
The wall switch is a threeway switch so i can buils a travelar system
Walswitch and relay witch changeover contacts together is should work as a traveler system
Now i encounter the problem that the actual state of the light is not corrensponding wth the lightswitch icon in domotiqz.
So i added a 230v -> 3V optocoupler system and read the acutal state of te light in to domotiqz.
Send the actual state with the IDX number of the domotiqz virtual switch.
When i test on a breadboard the domitiqz icon switches acrodingly to the state.
If i turn on the lghts wiht the wall switch the relay is switched back by domotiqz

Experimented with togle in rules, toggle works now something to prevent execute the toggle from domotiqz when the threeway switched is used.
Any idea how to solve this ?
i used the words threeway switch and travaler system from wikipedia: https://en.wikipedia.org/wiki/Multiway_switching