MySensors network static or dinamic?
-
Please let me know if the MySensors network configuration is static or dynamic.
I mean, if I install the Gateway and two nodes and they connect as following:
Gateway(0) - Node (1) - Node (2) (1 is repeater for 2)
Then I change something inside the network and move the Node2 closer to the Gateway, so the configuration have to become like this:
Gateway(0) - Node (2) - Node (1) (2 is repeater for 1)
The network will change itself or should I erase the EEPROM of the Gateway and nodes and upload again the sketches?
-
@Mihai said:
Please let me know if the MySensors network configuration is static or dynamic.
I mean, if I install the Gateway and two nodes and they connect as following:
Gateway(0) - Node (1) - Node (2) (1 is repeater for 2)
Then I change something inside the network and move the Node2 closer to the Gateway, so the configuration have to become like this:
Gateway(0) - Node (2) - Node (1) (2 is repeater for 1)
The network will change itself or should I erase the EEPROM of the Gateway and nodes and upload again the sketches?@Mihai MySensors network is dynamic(MY_PARENT_NODE_ID should be AUTO). You can change your node at any time.
If your node faces 5 transmission failures It will search new parent node
-
Thank you for the answer! I setup my nodes ID static, because I have to manually declare them inside HomeAssistant. Is it ok if I start the node with ```
gw.begin(incomingMessage, NODE_ID, true)
or I must do it with
gw.begin(incomingMessage, NODE_ID, true, AUTO)
? (is it by default AUTO from MyConfig.h ? )
-
@Mihai You can go with,
gw.begin(incomingMessage, NODE_ID, true)
-
Ok, thank you.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Human presence sensors....
General Discussion • 31 Jan 2025, 10:54 • skywatch 9 Feb 2025, 19:36 -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 23 Feb 2025, 14:57 -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29 -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 5 days ago -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24