Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Expressif ESP32 & ESP8266 Node Wifi Mesh into ESPHome core #1108

Open
DayRunner131 opened this issue Feb 1, 2021 · 18 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@DayRunner131
Copy link

Describe the problem you have/What new integration you would like

Node Mesh has been implemented in Zigbee & Z-Wave systems which greatly increases the range and throughput of the network.

This request is to integrate Mesh Network topology into ESPHome nodes.

By scattering nodes across the home, one could create a blanket of BLE repeaters, or even reduce gaps in Wifi node coverage without the use of a separate Wifi AP.

Please describe your use case for this integration and alternatives you've tried:

Expressif has released mesh SDK's for the ESP32 & 8266 chipsets. This feature request is to incorporate Wifi mesh into ESPHome to allow greater node range & throughput.

See: https://www.espressif.com/en/products/sdks/esp-wifi-mesh/overview
&
https://randomnerdtutorials.com/esp-mesh-esp32-esp8266-painlessmesh/

Additional context

@cwhzzang
Copy link

cwhzzang commented Mar 4, 2021

As a provider of wifi functionality, it is the only alternative to large-capacity local communication. I need your support

@DayRunner131
Copy link
Author

I'm reading through my original request and perhaps I missed some specifics. The request is for ESPHome nodes to mesh into their own "ESPHome" network which would then feed into the home Wifi network. I.e. if ESPHome node 8 has a weak/no Wifi signal from the home network but can speak to ESPHome node 4 strongly, it could relay the information through node 4 back to the home network. Zigbee and Zwave do this through "hops" from a node, to a relay, then to the controller when a node is far from the controller. You can specify at the controller level how many "hops" are allowed back to the controller. This is usually 1 to 2 hops. In my configuration, I have a ESPHome node in my garage that has a very weak wifi signal but would be able to communicate with a node closer to my home wifi antenna.

@mdewyer
Copy link

mdewyer commented Apr 20, 2021

Would love to see this. Subbing!

@ackerschott
Copy link

great feature, that I also apreciate

@ljohnso16
Copy link

how do i enable in my esphome yaml?

@andyfsimon
Copy link

I am upvoting this. According to the docs above, it will require adding the painlessmesh library and changing the way the whole network is dealt with in esphome, but seems doable.

@timohi
Copy link

timohi commented May 6, 2021

I would be very happy about the feature.

@jnanadarshan
Copy link

May be this library can be integrated easily - https://github.com/gmag11/painlessMesh

@andyfsimon
Copy link

Well, I did have a look at it, the problem I fear is that it would require a complete redesign of the network handling.
See, if implementing that library means handling the communication for the entire mesh within each esphome node. As of now wifi is pretty much given for granted and every esphome node uses it for it's own.

I do strongly believe that esphome should go down that path, but I am not blind to the fact that it would mean esphome 2.0.

@roscoegray
Copy link

roscoegray commented Aug 3, 2021

Would something like this need to be implemented to support the use and connection to BLE mesh server devices? Some devices I have contain the BT5s Module from Tuya, and advertise as a mesh beacon.

@r0ckyjoe
Copy link

Upvoting this FR. I will also like to see this in ESPHome.

@mario-almeida
Copy link

PainlessMesh, the problem - if the root and the bridge node are restarted several times, then the end nodes won't join back to the network unless you reboot each end node.

@pupupupupup
Copy link

I would be very happy about the feature.

@Hohenloherin
Copy link

Hohenloherin commented Jun 28, 2022

I have no clue what it would mean to program into code, but I'd appreciate this feature very much! I have the same situation as dayrunner.

@rradar rradar added this to the Top Requested milestone Jun 30, 2022
@nagyrobi nagyrobi added the enhancement New feature or request label Jul 1, 2022
This was referenced Jul 1, 2022
@shiwzhi
Copy link

shiwzhi commented Oct 21, 2023

It seems that https://github.com/espressif/esp-mesh-lite can provide each node with IP connectivity while also supporting mesh functionality.

@hevnsnt
Copy link

hevnsnt commented Nov 4, 2023

It seems like https://github.com/espressif/esp-mesh-lite (as mentioned above) is a perfect solution.

@rajtan
Copy link

rajtan commented Dec 4, 2023

I would also upvote this. I firmly believe that this would open up newer possibilities in moving forward with decentralized automations as well.

@saya6k
Copy link

saya6k commented Dec 17, 2023

I upvote this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests