painlessMesh | This is a mirror copy | Service Mesh library
kandi X-RAY | painlessMesh Summary
kandi X-RAY | painlessMesh Summary
painlessMesh is a library that takes care of the particulars of creating a simple mesh network using esp8266 and esp32 hardware. The goal is to allow the programmer to work with a mesh network without having to worry about how the network is structured or managed.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of painlessMesh
painlessMesh Key Features
painlessMesh Examples and Code Snippets
Community Discussions
Trending Discussions on painlessMesh
QUESTION
I am creating a mesh network using ESP8266, here I am using two ESP-01 as clients and nodemcu as server.
I am using painlessMesh library for the same. It is working fine I am getting the values to the server as a JSON . But the problem is now I have to connect to local WiFi connection to post this data to nodered. painless mesh can create a mqtt bridge to transfer this data to mqtt client but it has to be in same channel as the WiFi router. I have tried it but it seems a bit complicated.
Is there any way by which we can terminate the above mesh task and connect to internet using Arduino's WiFi library.
...ANSWER
Answered 2018-Oct-16 at 19:04And at last, I did it without using any serial UART. All wireless. So, My architecture consists of 3 ESP-01 and 1 NodeMcu ESP 12E. where 2 ESP-01 acts as a client. One ESP01 acts as a moderator and NodeMcu as a server. I have made the following approach-
- The clients will first send a message containing sensor data to the moderator as a JSON
- The moderator will receive these message form clients. Thers can be n number of clients. The moderator will then send these message to NodeMcu which functions as a server
- The server will only receive the messages that were broadcast by the moderator. The server will then parse the JSON received from the moderator and extract all the sensor data
- you can do this operation in one loop.and the following part is done on another loop
- connect to wiFi and post data to cloud
You can refer this LINK
QUESTION
I'm new to c++, and trying to compile simple arduino project in the Platformio.
platformio.ini file:
...ANSWER
Answered 2019-Apr-01 at 14:27Solved in the library source: https://gitlab.com/painlessMesh/painlessMesh/issues/253
Author comment:
Thanks for reporting. This should be fixed in the latest version (1.3.1). Let me know if you still have problems
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install painlessMesh
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page