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 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 11 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 15 days ago -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 12 days ago -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 8 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29