espressif / esp-mesh-lite

A lite version Wi-Fi Mesh, each node can access the network over the IP layer.
110 stars 15 forks source link

Multiple esp32S3, using mesh-lite questions (AEGHB-531) #56

Closed yel-best closed 4 months ago

yel-best commented 5 months ago

Hi, Espressif I am doing an esp mesh evaluation, so I have some questions. I hope you can answer them. thanks.

It would be best if there are examples of mesh-lite & mqtt connect that you can refer to, thanks 😃

xcguang commented 5 months ago

How many nodes can we currently support the most?

We tested about one hundred nodes, and we recommend build a mesh network less than 50 nodes

If I have 10 nodes, after using this, I can independently connect to mqtt or http to send msg directly to the server, and do they also support OTA upgrades?

Yes

yel-best commented 5 months ago

How many nodes can we currently support the most?

We tested about one hundred nodes, and we recommend build a mesh network less than 50 nodes

If I have 10 nodes, after using this, I can independently connect to mqtt or http to send msg directly to the server, and do they also support OTA upgrades?

Yes

the recommendation around a single root node is 50 nodes? so if I add multiple root nodes in the same environment, does it mean that I can use 100, 200, or more nodes in the same environment?

thank you very much for taking time out of your busy work to answer my questions.

xcguang commented 5 months ago

the nodes number is limited to channel interference, all mesh nodes under one router are in the same channel, so the mesh nodes are not always be added successfully.

yel-best commented 5 months ago

the nodes number is limited to channel interference, all mesh nodes under one router are in the same channel, so the mesh nodes are not always be added successfully.

ok, If I want to use 200 nodes, is there a recommended solution? Or how should I implement it?

xcguang commented 5 months ago

If the devices are not too close, channel interference is not severe, maybe 200 nodes work well. Otherwise, I think add one router which use the different channel is the best choice.

yel-best commented 5 months ago

If the devices are not too close, channel interference is not severe, maybe 200 nodes work well. Otherwise, I think add one router which use the different channel is the best choice.

ok,System information, channel: 1, layer: 2

I saw a layer log in the local_control example. Regarding whether the layer is the same as the description of wifi-mesh in esp-idf,

Maximum Downstream Connections to Accept: 6 Maximum Permissible Layers: 6

Will mesh-lite also be subject to this limitation?

image

yel-best commented 5 months ago

Hi @xcguang

I currently see that if I have multiple esp32 using mesh-lite, their respective WIFI SSIDs will be created according to esp_xxxxxx after the final run. Can this SSID be hidden? Let mesh-lite be networked and managed in the hidden SSID, or I can let all mesh-lite nodes use the SSID with the same name. Is that okay? Otherwise if I have 200 esp using mesh-lite, the WIFI list will have 200 different SSIDs

image

thx

tswen commented 5 months ago

Screenshot from 2024-01-29 17-56-05

yel-best commented 5 months ago

Screenshot from 2024-01-29 17-56-05

yes , thank you for your guidance. This method is effective. Thank you very much. 😄