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
-
💬 MDMSNode "Lighting"
OpenHardware.io • 7 Sept 2016, 19:43 • openhardware.io 30 Mar 2019, 11:22 -
💬 Wall Socket Insertable Node
OpenHardware.io • 22 May 2016, 20:08 • openhardware.io 28 Jan 2018, 14:54 -
💬 RFM69 2 relay board
OpenHardware.io • 24 Jan 2017, 13:18 • openhardware.io 28 Jan 2018, 12:49 -
💬 MySMotherboard
OpenHardware.io • 22 Jul 2018, 16:19 • openhardware.io 23 Jul 2018, 22:11 -
💬 Piglets - IOT Development Board
OpenHardware.io • 22 Jan 2017, 19:56 • openhardware.io 7 Oct 2017, 12:59 -
Sudden battery drain - Pro-mini + RFM69
Troubleshooting • 6 Apr 2023, 10:58 • Oumuamua 13 Oct 2023, 23:49 -
💬 Multiple uses battery RFM69 node
OpenHardware.io • 24 Jan 2017, 13:15 • openhardware.io 2 Apr 2017, 11:53 -
💬 MySWeMosGWShield - WeMos Mini MySensors Gateway Shield
OpenHardware.io • 22 Dec 2016, 05:01 • openhardware.io 8 Aug 2018, 17:12