Multiple RFM69 networks / gateways in range
-
Hello,
I have been running Domoticz controller with MySensors gateway (RPI with RFM69 radio connected on GPIO and mysgw) successfully for years. Now it is time to swap to new hardware (Odroid M1). I want to test RFM69 radio connected on GPIO + mysgw on new hardware prior to boxswap.
Is it possible to create another RFM69 network on new hardware, just for the test, while my current RFM69 network keeps running on current gateway/controller?
There is no such option for RFM69 to define other channel like i.e. it is possible for RF24 but I found, I can define different MY_RFM69_NETWORKID. How can I change network id for gateway (mysgw)? Do I have to change MY_RFM69_NETWORKID in MyConfig.h before compiling mysgw? (I know for arduino sensor nodes it is possible to change network id in sketch).
Thanks!
-
I will answer myself
after some testing done today:
How can I change network id for gateway (mysgw)?
It is possible to change MY_RFM69_NETWORKID for mysgw by exporting CPPFLAGS variable with the option set before running ./configure:
example:
export CPPFLAGS='-DMY_RFM69_NETWORKID="101"' ./configure --my-gateway=serial --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw --my-serial-is-pty --my-serial-port=/dev/ttyUSB-MysGW --my-serial-groupname=dialout make
Is it possible to create another RFM69 network on new hardware, just for the test, while my current RFM69 network keeps running on current gateway/controller?
As soon as I started another RFM69 gateway (mysgw) on new hw, even with different network id (101), most of the sensors connected to my other (production) gateway running on old hw with default network id (100) stopped communicating... so it seems it is not possible to run multiple RFM69 gateways in the same range (on the same freq).
Suggested Topics
-
💬 RFM69(H)W Arduino Mini Pro Shield
OpenHardware.io • 8 May 2017, 21:46 • openhardware.io 13 Aug 2018, 20:08 -
RFM69 on one print board or on separate Rx and Tx prints?
General Discussion • 16 Jul 2020, 09:51 • Thomas433 16 Jul 2020, 10:32 -
💬 MDMSNode "Lighting X2"
OpenHardware.io • 29 May 2017, 07:56 • openhardware.io 27 Apr 2019, 08:23 -
💬 MySWeMosGWShield - WeMos Mini MySensors Gateway Shield
OpenHardware.io • 22 Dec 2016, 05:01 • openhardware.io 8 Aug 2018, 17:12 -
💬 RFM69(H)W Arduino Mini Pro Shield v2
OpenHardware.io • 13 Aug 2018, 17:02 • openhardware.io 12 Jul 2022, 13:49 -
RFM69HW & ATC not working
Troubleshooting • 8 Aug 2020, 23:33 • KevinT 13 Aug 2020, 08:57 -
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
💬 MySensors Nrf24/RFM Serial/Ethernet GW Shield (for Uno)
OpenHardware.io • 6 May 2019, 12:53 • openhardware.io 14 Jan 2021, 22:54