there isn't at the moment... no mysensors native support in domoticz, the developer see no need to do this at the moment.
for not the faintest of heart there is my own experimental but that is mostly hardcoded to my own use... btw I don't know the behavior on a Synology, mine is ok on raspi, cubie and intel.
https://github.com/empierre/arduino/blob/master/mysensors-gw1.4.pl
I'm so sorry for such late reply... the reason i wanted no for loop was to see how the code for that would turn out...
I have a project in mind with requires maybe 2 switches and if one is turned on then regardless of the message coming from controller for the second light it should stay off...
@sushukka I wrote my solution for this problem as I also have a lock-node to secure
Look, maybe you will find it useful. https://forum.mysensors.org/topic/9204/secure-node-encrypted-communication-aes-128
@drradkin
First you need to add your serial gateway as a hardware device. You can see below my LAN Gateway on the hardware page. You will need to select the Mysensors gateway USB from the drop down list and probably enter the serial port it is connected to.
Once the gateway is running start up your node and then click the setup button for the mysensors gateway. You should now see the node listed. if you click on the node you will see its children listed as well. In the picture below you can see my lightning detector node which also has two light (relay) switches shown as S_LIGHTS_BINARY with child id's of 3 and 4
Now you go to the Devices page and you should see the switches listed there. You can see my two switches with a unit id of 3 and 4 in the middle of the list. Now to use these you will need to click on the green arrow for the switch over on the right side of the page (mine are blue as they are already added) to add them to your used devices. you will get a requester to give it a name.
Then you will be able to see them on your switches page. Again you can see my two switches called Flood Lights and Pool Lamps. you can turn them on and off by clicking the light globe icon.