esp-mesh-lite icon indicating copy to clipboard operation
esp-mesh-lite copied to clipboard

multiple masters with same Mesh id (AEGHB-1296)

Open BR-Coding-cmd opened this issue 1 month ago • 3 comments

Checklist

  • [x] Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • [x] Provided a clear description of your suggestion.
  • [x] Included any relevant context or examples.

Issue or Suggestion Description

Hi all,

currently following the ESP_MESH_LITE_DEFAULT_INIT seen in the "mesh_local_control" example. I've 35 ESP32s, all on the same mesh ID and I can see that there is 3 master(root) nodes.

I've got my .max_router_number = 1 and yet I see this issue. they also do not have similar RSSI to the same AP. is there a threshold that is being missed for masters to be demoted to layer 2? if I lower the fusion threshold too much then it would cause instability with poor connection environments.

is the max_router_number used?

thanks in advance!! BR

BR-Coding-cmd avatar Nov 03 '25 14:11 BR-Coding-cmd

The max_router_number is currently not being used.

You can try changing the fusion frequency to 20 seconds. If fusion still doesn't occur within a short time, please let us know.

esp_mesh_lite_fusion_config_t fusion_config = {
    .fusion_frequency_sec = 20,
};
esp_mesh_lite_set_fusion_config(&fusion_config);

tswen avatar Nov 04 '25 06:11 tswen

Hi,

So by adding that above suggestion over the past 20 minutes and capturing the information from the system_info timer callback function into MQTT, the units are formed in the following way (see image below). Image

There are quite a number of master nodes and all are within a good range -35 > x > -54 dBm by my writing of this.

**EDIT: I've just checked back now at the 30 minute mark and I'm seeing now 4 masters and more substantial networks being formed

Image

**EDIT-2: 1hr passed and the mesh is at 2 root nodes.

Image

Thanks! BR

BR-Coding-cmd avatar Nov 05 '25 09:11 BR-Coding-cmd

Hi,

I'm not sure when this appeared, however they are now all in one mesh unit (see below image)

Image

I would probably attribute the speed in which the mesh is formed to being somewhat affected by the environment I'm testing them in.

Thanks as always

BR

BR-Coding-cmd avatar Nov 06 '25 08:11 BR-Coding-cmd