If your MySensors gateway is USB, select as follows,
Tx message processing delay: Transmission delay between on each message from MyController to this gateway to avoid the collision on MySensors network.
Driver: Keep it as Auto
Port name: default /dev/ttyUSB0
Baud rate: default 115200
Retry frequency: For some reason, if your gateway goes down. MyController attempt to reconnect every X seconds once.
Connect your gateway on RPI USB port, run this command to know your USB port name: ls -lh /dev/ttyUSB*
Once you setup the gateway on MyController, your gateway should show UP.
now click on Action button on gateway and select Discover, [Note: You should have added about your node data on presentation() block of your node code.]
Now you can see your gateway and nodes on MyController.
@cimba007 First time this rule will trigger, if your variable starts with http, then it goes to ignore duplicate mode.
Until variable value changed(should not start with http) this rule will be ignored.
@abatapa Thank you so much for your support with MyController.
If the GW, which had first registered the switch - is now fully responsible for the switch. And if the GW is down - i can't do nothing with the switch binded to him. I need to go to find the same switch on "other gateway's" and only then - switch the switch
Looks like you are using same radio channel on both the gateway. MyController does not know anything about behind gateway. MyController adding resource details as received from your gateway. Here, your gateway duplicating sensors.
AFAIK, you should have only one gateway in MySensors network. When we have more than one gateway, we might face issues like this.
We may go with MQTT in this case. But this will duplicate all of your data. Example: When you turn on the switch, your node will receive two times. Similarly, when the node sends data to the gateway, MyController receives two times. If you have enabled OTA firmware update for this node might face a serious issue in this case. I never worked with two gateways on same radio frequency. Kindly check with MySensors community. They might have strong experience on this.
I am using the interrupt driven mysgw also, and it really lowered the CPU usage.
Another option which i used temporarily on my 512Mb Opi Zero is add an arduino with the radio wired to the arduino ports and attach this to the usb port of the Opi-Zero, this brings the cpu usage really down.