Tasmota: ESP32 MESH Network

Created on 17 Jun 2020  路  17Comments  路  Source: arendst/Tasmota

Have you looked for this feature in other issues and in the docs?
Yes, there is one for the ESP8266. #7401 But this one is for the ESP32 hast two interfaces, one as client and one as AP.

Is your feature request related to a problem? Please describe.
_A clear and concise description of what the problem is._
No
Describe the solution you'd like
_A clear and concise description of what you want to happen._

The world of IoT continues to grow and with it the demand for suitable hardware and of course software.
In my own house I use the Zigbee protocol most of the time. Because of the MeshNetworking. My Zigbee Gateway is on the first floor of my house and through the mesh of the Zigbee devices here in the house I have reception until the last end point (Osram Plug) which is about 60m away at the end of my garden. For comparison, my Fritzbox (router) is in the same room and just manages to cover the front part of the house.
Espressif has published a tool for its IDF to develop these mesh networks. Maybe that would help Tasmota too. Unfortunately I could not find any examples for the Arduino IDE. Nevertheless, parts of the SDK are already present in the Arduino ESP32Core.
By the way, besides the possibility to create this MESH via WiFi, a Bluetooth Mesh would also be interesting.
I'm not interested in carrying my Internet to the last corner of the garden. Rather, it is because I can use the Tasmota devices regardless of the location of a router or repeater.

Here I have added a few links with information.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/mesh.html#tree-topology
https://github.com/espressif/esp-mdf

https://www.espressif.com/en/news/ESP_BLE_MESH_SIG_Certified

Arduino:
https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/include/esp32/esp_mesh.h

Describe alternatives you've considered
_A clear and concise description of any alternative solutions or features you've considered._
The Same Idea with the ESP32 integrated BT.

Additional context
_Add any other context or screenshots about the feature request here._

(Please, remember to close the issue when the problem has been addressed)

feature request (devs?) stale

Most helpful comment

Yes, indeed that is what was needed for adding mesh to Tasmota. Now, to become a reality there is a lot of rework to Tasmota to support that because Tasmota was made for mqtt as its core and with mesh you need to make the nodes to repeat mqtt messages or to develop another protocol for them.

Reopening this issue to see if someone is interested on working on this POC.

All 17 comments

Wrong place for this feature request. Tasmota uses network functions from Arduino.
So in first step Mesh support has to be there first

Wrong place for this feature request. Tasmota uses network functions from Arduino. ...

@Jason2866 Don鈥檛 think so. The sdk is already implemented. But there is no example.

Sent with GitHawk

Yes, SDK but there is NO Arduino implementation.

Yes, SDK but there is NO Arduino implementation. ...

@Jason2866
Oh okay. So this: https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/include/esp32/esp_mesh.h https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/include/esp32/esp_mesh.h
Isn鈥檛 the right stuff for that?

Sent with GitHawk

Everything in folder SDK is Espressif stuff. The Arduino layer "translates" to Espressif SDK layer
This translation layer part for mesh is missing.

Please, open a new issue in the Arduino ESP32 Core for adding Mesh. Thanks.

New Broadlink Wi-Fi smart bulbs & plugs - Paul Hibbert's latest. The No App feature is basically what we already do to configure Tasmota. Yawn. It's the other features that Paul announced Wi-Fi mesh and auto-configure. Unfortunately he didn't actually demonstrate them in the video 馃槨 The point of my post is more about the new relatively inexpensive Broadlink devices that they claim to have these features. Definitely sounds interesting.

I haven't posted anything in the git of the arduino esp32 yet. It seems to me that with >190 open issues they have other things to do than adding features. what do you think? How would you go about it? @meingraham

First thing to research is what kind of Wi-Fi SOC is in the Broadlink devices.

I haven't posted anything in the git of the arduino esp32 yet. It seems to me that with >190 open issues they have other things to do than adding features. what do you think?

May be we can ask if it is in their plans to add it.

Yours is a good idea but their support in the core is needed for that.

@ascillato Does any of you have contact to the developers? Or should I ask this as an issue?

Sorry, no. We should open an issue there.

@ascillato
https://github.com/espressif/arduino-esp32/issues/4132#issuecomment-653254432
Is this perhaps an option?

Yes, indeed that is what was needed for adding mesh to Tasmota. Now, to become a reality there is a lot of rework to Tasmota to support that because Tasmota was made for mqtt as its core and with mesh you need to make the nodes to repeat mqtt messages or to develop another protocol for them.

Reopening this issue to see if someone is interested on working on this POC.

BTW there is another great Library I found:

https://gitlab.com/painlessMesh/painlessMesh

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.

Was this page helpful?
0 / 5 - 0 ratings