PainlessMesh ESP8266 mesh library for Arduino IDE
PainlessMesh ESP8266 mesh library for Arduino IDE
Postby gmag11 » Thu Jan 12, 2017 5:37 am
I am participating in the development of a mesh library called painlessMesh. It is not based on ESP-MESH but on Coopdis easyMesh implementation. As his project seems to be frozen we have fixed a few bugs and implemented some new features.
It's available on https://gitlab.com/BlackEdder/painlessMesh
It offers clock synchronization to be able to execute tasks in different nodes with a common time base. Time accuracy is about 1 ms or even better.
It allows send point to point and broadcast messages.
If you like it feel free to try. Some simple examples are included. Please, any comment, enhancement request is welcomed.
Regards,
Germán
Re: PainlessMesh ESP8266 mesh library for Arduino IDE
Postby Dickaa88 » Sun Jan 29, 2017 7:15 am
Can U help me please?
Dickaa
Re: PainlessMesh ESP8266 mesh library for Arduino IDE
Postby gmag11 » Fri Feb 03, 2017 1:13 pm
You may open an issue in repository if you need more help.
Regards
Re: PainlessMesh ESP8266 mesh library for Arduino IDE
Postby ghisbo » Mon Feb 13, 2017 12:22 am
I would like to use the Painlessmesh for my project but i am in doubt whether and how it can work. I feel i am lacking something fundamental in my knowledge.
description of project:
On a PC ( mac,Linux,..) i want to write a javafx application that speaks to a mesh network of 64 Esp8266.
I do not want the mesh network to take all ip addresses, 1 would be ok.
When i use the startHere example, the ESP sets up a network with ip address that is not in the range of my PC.
How can i address this 1st node from withing my java pc application (and also eventually subsequent nodes)?
Re: PainlessMesh ESP8266 mesh library for Arduino IDE
Postby ghisbo » Mon Feb 13, 2017 2:19 am
I would like to use the Painlessmesh lib for my project. I have 64 ESP8266 that i want to form a mesh and i want to be able to communicate ( broadcast and single) from a pc appication written in javafx.
When i use the starthere sample then the nodes communicate with each other but i cannot communicate from teh pc.
the IP is in another range than my own network.
How can i communicate with the mesh? Is this possible?
I would suppose one node has an ip in the range of my own network but then again, how to addres the different nodes if i have no ip.
Thanks in advance
Ghislain
PainlessMesh ESP8266 mesh library for Arduino IDE
Postby Jamessab » Tue Apr 18, 2017 12:49 am
Re: PainlessMesh ESP8266 mesh library for Arduino IDE
Postby gmag11 » Mon Apr 24, 2017 8:37 pm
a computer can connect to any node as they are WiFi APs. But it is neccesary to develop a software on PC that implements mesh protocol to talk to the mesh. This is not an easy task, although BlackEdder hace some code on D language. You can find it on https://github.com/BlackEdder/easyMesheD. I don't know its status, you'll have to ask him.
You can configure a node to leave AP side configurable to implement any other simple protocol for data exchange with PC. Read https://gitlab.com/BlackEdder/painlessMesh/wikis/home for further information.
Regards
ghisbo wrote:Hello
I would like to use the Painlessmesh lib for my project. I have 64 ESP8266 that i want to form a mesh and i want to be able to communicate ( broadcast and single) from a pc appication written in javafx.
When i use the starthere sample then the nodes communicate with each other but i cannot communicate from teh pc.
the IP is in another range than my own network.
How can i communicate with the mesh? Is this possible?
I would suppose one node has an ip in the range of my own network but then again, how to addres the different nodes if i have no ip.
Thanks in advance
Ghislain
-
- Posts: 1
- Joined: Sat Aug 22, 2015 3:11 pm
Re: PainlessMesh ESP8266 mesh library for Arduino IDE
Postby scropion86 » Sat Aug 05, 2017 4:37 pm
can i have one of the node connected to the Mesh and in same time maintain a normal TCP/IP connection to send and receive
HTTP requests like a mobile app to control the MESH nodes?
Re: PainlessMesh ESP8266 mesh library for Arduino IDE
Postby gmag11 » Sun Aug 06, 2017 5:12 pm
scropion86 wrote:Hi ,
can i have one of the node connected to the Mesh and in same time maintain a normal TCP/IP connection to send and receive
HTTP requests like a mobile app to control the MESH nodes?
It has method to start a node with only AP or STA interfaces connected to the mesh. In normal nodes, both interfaces are connected. So you could have a special node with one leg in the mesh and the other side available to your network.
Anyway, I not been in contact with this project for a while, so maybe something has changed. So, I recommend read latest info in GitLab repository and contact current developers there.
Regards
Who is online
Users browsing this forum: No registered users and 63 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.