Multiple gateways, 2x NRF + 1x RS485 together
-
Hello,
My plan is to install 3x Ethernet MySensors gateways (2x for NRF24L01 transmission and 1x for RS485). Reason for need of two wireless gateway is my house and thick reinforced walls, I have 3x floors (including basement). First NRF24L01 gateway will be installed in basement and connected by W5100 shield to the LAN network, second NRF24L01 gateway will be also connected by W5100 but I plan to install it on +1 floor.
My first question here is how can I change GW default NODE_ID 0 to different value, let's say second GW could have NODE_ID 1? Few nodes could be connected to 1st gw, and others to 2nd gw just by adjusting "MY_PARENT_NODE_ID" in their sketchesI would like to also deploy RS485 gateway, but here I have doubt if I can mix together Arduino UNO + W5100 shield + RS485 module together ? There is only example for Serial solution, so I just want to confirm if it's only about adjusting sketch code for ethernet solution?
I really appreciate for help.
Thank you,
Cheers,
Maciek
-
I would put them on separate rf channels instead.
Perhaps make 2 .h files, that I can include in my sketches, that contain all the basic settings (one for each rf channel) then you just include the right .h file depending on which floor you are putting the node on
-
Might be enough to change the base Radio ID of one of the two network segments (see https://github.com/mysensors/MySensors/blob/development/MyConfig.h line 384) and use the same channel for both GW's. But how about using some of the nodes as repeater?
-
-
If you are going to use a different channel for each network, make sure you have them at least 10 channels apart as I noticed that if they are too close they can still talk to each other
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 4 days ago -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 23 Feb 2025, 14:57 -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24 -
Combination of networks
General Discussion • 1 Feb 2025, 17:30 • Sniker 4 Feb 2025, 01:02 -
Running out of nodeId's
General Discussion • 3 Sept 2024, 07:33 • NielBierman 25 Jan 2025, 17:19