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
-
💬 Arduino Serial Gateway for RFM69HW
OpenHardware.io • 24 Jan 2017, 12:49 • openhardware.io 8 Jun 2017, 10:06 -
Sudden battery drain - Pro-mini + RFM69
Troubleshooting • 6 Apr 2023, 10:58 • Oumuamua 13 Oct 2023, 23:49 -
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
💬 MySensors singleLED
OpenHardware.io • 10 Mar 2018, 19:40 • openhardware.io 22 Jun 2018, 16:09 -
💬 MySWeMosGWShield - WeMos Mini MySensors Gateway Shield
OpenHardware.io • 22 Dec 2016, 05:01 • openhardware.io 8 Aug 2018, 17:12 -
💬 MyGateway
OpenHardware.io • 18 Aug 2020, 03:59 • openhardware.io 31 Mar 2021, 22:08 -
💬 Multiple uses battery RFM69 node
OpenHardware.io • 24 Jan 2017, 13:15 • openhardware.io 2 Apr 2017, 11:53 -
💬 MySWeMosIRShield - IR blaster shield for WeMos D1
OpenHardware.io • 8 May 2017, 05:14 • openhardware.io 3 Feb 2019, 18:22