Reliability, Wifi & Mesh Network ...

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
HarpieC
Normal user
Posts: 22
Joined: 20 Mar 2016, 20:33

Reliability, Wifi & Mesh Network ...

#1 Post by HarpieC » 01 Apr 2016, 14:54

Hello,

I love your project and really appreciate your work. Nevertheless I always have trouble with reliability of my sensor network.

I planned to install sensor nodes in my greenhouse, external building, cellar, roof ... but I stopped the project due to various problems which all has to do with the stability of the wifi network. Even buying a state of the art router, 2 wifi extenders and playing around with external wifi antennas on an esp07 the general problem stays: If there is a network problem - on wireless it is always possible - the nodes should be able to reconnect or try to find different routes.

Following Ideas / suggestions:

I. "intelligent" reconnect to reconnect (fallback to AP mode is perhaps not the only solution)

II. Multiple AP: Perhaps it is possible to save different APs to connect to. I found out that it is nice to have the same ssid for your APs: Repeater / router but then I have no control, to which my client connect and often my phone sticks to the less powerful AP instead to reconnect to a stronger one.

III. Mesh Network: Perhaps a dream which never could work. A dynamic interconnection beween the nodes to establish a wide area connection. Data packages hopping from node to node to find the MQTT server. Espressif is documenting a framework for this
http://bbs.espressif.com/viewtopic.php?f=51&t=929#p3123 but it seams that nobody was able to get this running. Exept espressif themself: https://twitter.com/EspressifSystem/sta ... 5268312064

What is your experience/ solution to get your project out of a proof of concept stage?
Is anything planned to improve here?
What is the official concept for wifi connection reconnects?

Chris.

Martinus

Re: Reliability, Wifi & Mesh Network ...

#2 Post by Martinus » 01 Apr 2016, 15:52

R95 has been changed to periodically try to reconnect forever as well as switching to AP mode for as long as the Wifi link is not established. After successful reconnect, the AP will close after a minute.
This may solve some situations when Wifi has been down for some time.

Coopdis
Normal user
Posts: 1
Joined: 23 Aug 2016, 18:48

Re: Reliability, Wifi & Mesh Network ...

#3 Post by Coopdis » 23 Aug 2016, 19:26

Hi,

I have just published a new mesh networking library for esp8266/Arduino on github https://github.com/Coopdis/easyMesh.

Perhaps you will find it easier and more stable?

Coop

timsson
Normal user
Posts: 77
Joined: 25 Mar 2016, 22:00

Re: Reliability, Wifi & Mesh Network ...

#4 Post by timsson » 25 Aug 2016, 10:06

:o
where can i find the libraries to testing the demoToy.ino (neopixel)?
easyWebSocket.h
easyWebServer.h

P.S. - i found it at your github...
and it works :), but not stabil - i will it testing longer


--- yes it works stabil. Is there a posibility to get out the:
wifilevel
connection time
and is it possible get thru the network to the far meshnode ?

bebida_b
Normal user
Posts: 1
Joined: 13 Sep 2016, 12:16

Re: Reliability, Wifi & Mesh Network ...

#5 Post by bebida_b » 13 Sep 2016, 12:33

Coopdis wrote:Hi,

I have just published a new mesh networking library for esp8266/Arduino on github https://github.com/Coopdis/easyMesh.

Perhaps you will find it easier and more stable?

Coop
hi coopdis i found our project in github and find it very interresting i just need to make you 2 question about it since i am dont know anything about programing.

1ª your code is possible to use with the GPIO of the ESP ?
2ªif is possible could you post a exemple of making a input in one esp8266 and making a output in a diferent one in the same Mesh.

Best regards

umbm
Normal user
Posts: 5
Joined: 09 Oct 2016, 11:08

Re: Reliability, Wifi & Mesh Network ...

#6 Post by umbm » 09 Oct 2016, 11:27

Is development of mesh still in progress to include it in official release of EspEasy?

It would be the kings-feature for me because I have to cover wide ranges in yard to make my home-control project working.

uhrheber
Normal user
Posts: 22
Joined: 26 Sep 2016, 14:03

Re: Reliability, Wifi & Mesh Network ...

#7 Post by uhrheber » 10 Oct 2016, 10:18

Well, you could use MySensors nodes, as they're able to route, and use one ESP8266 as gateway.
See here:

Overview: https://www.mysensors.org/
List of supported sensors: https://www.mysensors.org/build
ESP8266 Wifi gateway: https://www.mysensors.org/build/esp8266_gateway
Description of network structure here: https://www.mysensors.org/about/network

Martinus

Re: Reliability, Wifi & Mesh Network ...

#8 Post by Martinus » 10 Oct 2016, 10:31

Advantage of ESP8266 is that you can use plain cheap Wifi repeaters.

gmag11
Normal user
Posts: 1
Joined: 25 Jan 2017, 07:55

Re: Reliability, Wifi & Mesh Network ...

#9 Post by gmag11 » 25 Jan 2017, 07:59

Hi,

We are continuing Coopdis work on a fork called painlessMesh. You can find it on https://gitlab.com/BlackEdder/painlessMesh

Regards

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 29 guests