- Painlessmesh webserver The documentation for this class was generated from the following file: src/boost/asynctcp. I've read about ESP-NOW, and it seems that you have to send messages to the MAC addresses of the boards in the mesh. ini; Find file Blame History Permalink update platformio · 74adb7a8 Doanh in Windowns authored Apr 04, 2018 Should work now include ESP8266WiFi. Menu Why GitLab Pricing Contact Sales Explore swServer · master · painlessMesh / painlessMeshManager - GitLab GitLab. Every time this node receives a message, this callback routine will the called. The first one is the ESPAsyncWebServer, which we will use in our code. “painlessMesh is a true ad-hoc network, meaning that no-planning, central controller, or router is I have a mesh set up using the PainlessMesh library, and also a webserver using espAsyncWebServer. a) Can painlessMesh examples; webServer; platformio. ESP32 BLE. In order to create a mesh network between them, i have been using painlessMesh to build a network, so far it is working fine and i can see all broadcast message (which is the distance value receive from the node) in the serial monitor, now i want to build up a web server/pages, that can contain those distance value from the serial monitor. The best place to get started with the documentation is to have a look at painlessmesh::wifi::Mesh (the main painlessMesh class is an alias (typedef) of the painlessmesh::wifi::Mesh class). #include <asynctcp. ESP32 LoRa. Issue I have Whe painlessMesh is designed in a modular way, with many parent classes. So, I could start a node in STA_ONLY mode, so that it's AP feature is available for the web server. h" #include <DHT. Connect the SD board following this schematic ( a good alternative could be a board with integrated SD connector ): Setup and Programming. I'm looking for a solution where I'm not limited to specific MAC addresses - rather, I want to be able to vary the number of boards used, send out messages to all boards, and have each board in the mesh interpret the painlessMesh examples; webServer; webServer. ESP32 HTTP GET POST. I have a mesh set up using the PainlessMesh library, and also a webserver using espAsyncWebServer. They include the SSID, password, and port number. After programming the board with the OTA software you should prepare the SD card: empty SD card ( formatted fat32 ) Can anyone confirm webserver works well? I tried latest release and latest commit, webserver example connected to my home network but didnt get mesh communication Add this to your setup() function. painlessMesh is a library that takes care of the particulars of creating a simple mesh network using esp8266 and esp32 hardware. The painlessMesh implementation is the same as in the original code painlessMesh Project information Project information Activity Labels Members Repository Repository Files Commits Branches Tags Contributor statistics Graph Compare revisions Issues 231 Issues 231 List Boards Service Desk Milestones Merge requests 0 Merge requests 0 CI/CD CI/CD Pipelines Jobs Artifacts Schedules Deployments Deployments Environments A painless way to setup a mesh with ESP8266 and ESP32 devices. There are a couple of options. h) for connecting to the webserver. Make sure to also explore the public member functions inherited from other classes, to get full information on the Try to avoid using delay() in your code. 692715cc History We will start our code by including the painlessMesh library and the Arduino_JSON library. I would like to handle GET and POST requests in the root node of my mesh. Download scientific diagram | Diagram of painlessMesh network. ความเดิมตอนที่แล้ว. hpp> painlessMesh is designed in a modular way, with many parent classes. When I'm randomly plugging them off/on (or place them on a place, where the connection barely stays), later the mesh crashes. ESP32 connects to server easily and based on the mesh topology Server responds to the ESP bridge with JSON object. 692715cc History In this project, you’ll learn how to host an ESP32 web server and use ESP-NOW communication protocol at the same time. And also run a TCP/IP server on every node. If you want to get information from your mesh to the wider network a bridge is currently needed. ESP32 MQTT. Based on https://github. Long story short. Have two devices communicate via the serial connection. The mesh network is running everything with and without internet and doe need to function even if internet is down. One easy way to fix the problem is to rename your route that handling the params to server. 0. PWM Slider I am trying to set an AsyncWebServer on a node configured as STA_ONLY but I got an intermittent behavior, periodically disconnecting and then reconnecting again (every few seconds). A starting point for your next project. You switched accounts on another tab or window. The units (called “nodes”) will capture and rebroadcast the router’s signal. To maintain the mesh we need to perform some tasks in the background. I succeed to get LoRAData OR web server BUT never both at the same time ;-). ESP32 ESP-MESH. The GUI should stay the same (not change into a submenu). Output Web Server. h> Next, we define some macros which we will use to enable or disable the parts of our code. Instead we recommend using TaskScheduler which is used in painlessMesh itself. tar. OTA over the mesh. com/Coopdis/easyMesh painlessMesh; Repository; painlessMesh examples; webServer; webServer. Gateway node is connected serially to this Blynk node. Post by RavenHawk » Tue Aug 20, 2019 11:17 pm . Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand; OverflowAI GenAI features for Teams; OverflowAPI Train & fine-tune LLMs; Labs The future of collective knowledge sharing; About the company Visit the blog PainlessMesh library; Schematic. Make sure to also explore the public member functions inherited from other classes, to get full information on the In this video I have shown a demo project on how to make Home Automation project using Mesh Networking on NodeMCU board. Initialize the mesh network. Task taskSendMessage( TASK_SECOND * 1 , TASK_FOREVER, &sendMessage ); Create a task called taskSendMessage responsible for calling the sendMessage() function every second as long as the program is running. Please be aware that as a result painlessMesh can be incompatible with user programs/other libraries that try to bind to the same events. ino; Find file Blame History Permalink [ESP32] Semaphore added around wifi events · cbfa7691 BlackEdder authored Jun 30, 2019. All nodes store all other addresses and network topology. painlessMesh is designed in a modular way, with many parent classes. The Child Nodes forms a Mesh Network. I naturally came to play with caddy and nginx-unit and both half fullfield my expectations. void connect(AsyncClient &client, IPAddress ip, uint16_t port, M &mesh) Definition: tcp. I could split my configuration in many Json chunks with unit, and benefited of an hassle-free autossl renewal with caddy. Each node generates 25 messages per second. A painless way to setup a mesh with ESP8266 and ESP32 devices. Curate this topic Add this topic to your repo To associate your repository with the painlessmesh topic, visit your repo's landing page and select "manage topics I have a mesh set up using the PainlessMesh library, and also a webserver using espAsyncWebServer. painlessMesh Project information Project information Activity Labels Members Repository Repository Files Commits Branches Tags Contributor statistics Graph Compare revisions Issues 231 Issues 231 List Boards Service Desk Milestones Merge requests 0 Merge requests 0 CI/CD CI/CD Pipelines Jobs Artifacts Schedules Deployments Deployments Environments painlessMesh; Repository; Compare Find file Code Clone with SSH Clone with HTTPS Open in your IDE Visual Studio Code (SSH) Visual Studio Code (HTTPS) IntelliJ IDEA (SSH) IntelliJ IDEA (HTTPS) Download source code. The best place to get started with the documentation is to have a look at painlessmesh::wifi::Mesh (the main We learn how to create a mesh network using these nodes ( ESP32 and ESP8366) and communicate wirelessly using the ESP-MESH networking protocol. But when I keep connecting and disconnecting non-root nodes, the network is unstable and sometimes does not detect new nodes. ino; Find file Blame Permalink Feb 09, 2020. `painlessMesh` creates a mesh network that is independent from any other/wider network. com/Coopdis/easyMesh painlessMesh examples; logServer; logServer. The port number could be any number except the predefined port numbers for other web tools. h> #include <SPIFFS. cpp. To expand the nodes behaviour further you can change the source code in src/main. ino; Find file Blame Permalink Aug 25, 2024. All the messages are sent to a common root node. Instead we recommend A painless way to setup a mesh with ESP8266 and ESP32 devices. I have some difficulties understanding the stationManual() function. 692715cc feat: Fix This is the complete list of members for AsyncServer, including all inherited members. ini; Find file Blame History Permalink Update examples to have function declarations at the top · caed27ed BlackEdder authored Mar 03, 2018 Fixes #87. 3, painlessMesh 1. Create tasks Create a task called taskSendMessage responsible for calling the sendMessage() function every five seconds as long as the program is running. zip. . In order to setup the web server, we will need two libraries. Web Servers. com/Coopdis/easyMesh Mesh network enables devices in your network to have faster speeds, greater coverage, and a more reliable connection. In this guide, we’ll show you how to get started with ESP-MESH using the Arduino So, I could start a node in STA_ONLY mode, so that it's AP feature is available for the web server. GitLab. Using AsyncTCP 1. So: (0x6d << 24) + (0x18 << 16) + (0xFE << 8) + 0x68 which in decimal is 1830354537. I am evaluating painlessMesh for a 250 nodes application. - GitHub - latonita/painlessMeshMqttGateway: MQTT<>painlessMesh gateway. ESP32 WebSocket. com/Coopdis/easyMesh ESP32 Wireless Mesh ( Made Easy with PainlessMesh ) Date 2020-05-14 Category Project Tags ESP32 “ There’s nothing more simple than the concept of a wireless mesh network but there’s nothing more complex than building such a mesh. password: Wifi password to your mesh. Blynk is painlessMesh is a library that takes care of the particulars of creating a simple mesh network using esp8266 and esp32 hardware. There are a couple of reasons for this. bz2. Story . I made a program merging this two examples: OTA via mesh fetching A painless way to setup a mesh with ESP8266 and ESP32 devices. h> #include <Arduino_JSON. painlessMesh simply uses the lower 32 bits of the MAC address as the nodeId. painlessMesh - s - scanComplete() : StationScan semaphoreGive() : painlessmesh::Mesh< T > semaphoreTake() : painlessmesh::Mesh< T > send() : AsyncClient sendBroadcast #include "painlessMesh. Intermediate Protip 1 hour 34,871. 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. First, it makes the code and the messages human readable and painless to understand and second, it makes it painless to integrate painlessMesh with javascript front-ends, web applications, and other apps. Try to avoid using delay() in your code. If you want to get information from your mesh to the wider network a painlessMeshBoost can be run as both a server and/or a client node. It is supported on the ESP32 and ESP8266 boards. //************************************************************ // this is a simple example that uses the painlessMesh library to // connect to a another network and broadcast message from a A painless way to setup a mesh with ESP8266 and ESP32 devices. Server-Sent Events. com/Coopdis/easyMesh GitLab. I can connect to the webserver with a router in the path, but I wanted to painlessMesh is a library that takes care of the particulars of creating a simple mesh network using esp8266 and esp32 hardware. I tried combining the example from protocols\http_server\simple with the ESP-MESH Internal Communication example. I’m trying to combine lora receiver and web server to publish LoRAData. _connect_cb: AsyncServer: protected _connect_cb_arg: AsyncServer: protected _io_service: AsyncServer: protected: _port: AsyncServer: protected: I just want to have any program work where there are a few buttons, a user selects one, and a command is sent to the ESP32. PainlessMesh Intro to painlessMesh. For other examples on how to use the Features Uses painlessMesh to create mesh network and broadcasts state to every node Does not need WiFi connection to internet, Do not enable webserver for clients; Libraries to install# In Arduino, Goto Sketch -> Include Library -> Add . All nodes share same AP ssid. Last year it worked very well at first upload on a esp32 board (doit esp32 devkit v1) Now: ets Jun 8 2016 00:22:57 The main aim of this work is to establish a sensor MESH network using an ESP-MESH networking protocol with the ESP32 MCU (a Wi-Fi-enabled microcontroller) for indoor and outdoor air quality monitoring in real time. ESP32 Email. ESP32 Web Server. ino #include <WiFi. ino at main · lou429/PainlessMeshImplementation I am trying to have a mesh network which one of them is Gateway and it need to be connect to WIFI and internet to transfer data by MQTT. There are currently four other devices running in the mesh network, and there will be several more coming. Make sure to also explore the public member functions inherited from other classes, to get full information on the Hello guys i have a problem with my script and i eat my days with it i'm trying to make a esp8266 mesh with painless mesh, all set, all works as i would like, but i would like to add a webpage to log all the data and change the parameters of nodes so i've ended up trying to add a WebSocketsClient to create a socket client and connect to a socketserver created in php. I have shown demo project in which I Add a description, image, and links to the painlessmesh topic page so that developers can more easily learn about it. One of the ESP32 is running Blynk, the other one is running painlessmesh. But the problem is now I have to connect to local WiFi connection to post this data to nodered. In the case of 78:E3:6D:18:FE:68, it uses 6D:18:FE:68 in network order. 692715cc feat: Fix ArduinoJson dependency in the log examples · 692715cc BlackEdder authored Aug 25, 2024. This is to prevent the hardware from overloading. I can access both node web interface. These credentials will remain the same for all the nodes in the network. port: the TCP port that you want the mesh server to run on. If nodes are removed from the network, it should self-heal, and route around the damage. Basic Idea about the Project: The Esp32 Nodes will be used in this project amongst which Blynk Node connects with the internet and sends data to Blynk App. It is working fine I am getting the values to the server as a JSON . Starts a wifi network; Begins searching for other wifi networks that are part of the mesh In this video, I want to show you Using Web Server with wemos D1 mini and programming Build an ESP8622 Web Server with wemos D1 miniBuild an ESP8622 Web Serv In this video, Async Web Server for ESP8266 and ESP32. In the documentation it says it "Connects the node to an AP outside the mesh. This routine does the following things. You can use 5555. MQTT<>painlessMesh gateway. It will run a webserver so that I can open a webpage and upload the new firmware for the "receiver" nodes. I am using painlessMesh library for the same. com/Coopdis/easyMesh painlessMesh Project information Project information Activity Labels Members Repository Repository Files Commits Branches Tags Contributors Graph Compare Issues 217 Issues 217 List Boards Service Desk Milestones Merge requests 0 Merge requests 0 CI/CD CI/CD Pipelines Jobs Schedules Deployments Deployments Environments Releases In this video I have shown a demo project on how to control the ESP32 boards that are communicating via mesh networking straight from internet using Blynk Io I recently did such a program : an ESP32 runs a webserver and is part of a mesh made with painless mesh. I am then wondering if ESP-Mesh or ESP-now would be better choices? As I am not a computer scientist, it's hard for me to understand fully the documentation. For other examples on how to use the A painless way to setup a mesh with ESP8266 and ESP32 devices. cbfa7691 uint32_t painlessmesh::tcp::encodeNodeId (const uint8_t * inline initServer() initServer() Try to avoid using delay() in your code. ESP32 ESP-NOW. BlackEdder authored Sep 09, 2017. Web Server with ESP-MESH. The first message is generally send by the node that distributes the firmware and announces the current version of firmware available for each hardware and role. hpp:45 painlessmesh painlessMesh creates a mesh network that is independent from any other/wider network. AsyncServer Class Reference. ESP32 Wi-Fi. OTA is implemented as a painlessmesh::plugin. This Mesh Network I have a setup with a “hub” with two ESP32 connected by serial. painlessMesh examples; logServer; logServer. HTTP GET Web APIs. Information from other nodes of the mesh are sent to the ESP32 and displayed on a web page accessible from my cellphone either on my wifi network or outside. By the painlessMesh is designed in a modular way, with many parent classes. I am using PainlessMesh to create the mesh. Each message The painlessMesh library allows us to create a mesh network with the ESP8266 or/and ESP32 boards in an easy way. “from” is the id of the original sender of the message, and “msg” is a string that contains the message. We will be using Arduino IDE to program our ESP boards. I’ve been working on a project to send data from mesh network to a Windows Server via TCP/IP protocol. hpp I’m looking for an example where ESP32 would be Web Server and AP, where we can send a integer value from the Web Client. html form submission to <form action="/submit" method="get">. from publication: Performance Evaluation of ESP8266 Mesh Networks | Existing WiFi mesh networks are usually implemented on high-end PainlessMesh combination with TCP server. The painlessMesh implementation is the same as in the original code painlessMesh bridge connection not maintain with server I'm trying to connect ESP32 bridge to a specific port/ip of a server which is a Windows Server. Using delay() will stop these tasks from happening and can cause the mesh to lose stability/fall apart. My only problem is that, it's not really efficient: 1) There is latency 2) it bugs quite often to be honest. Contribute to me-no-dev/ESPAsyncWebServer development by creating an account on GitHub. The goal is to allow the programmer to work with a mesh network without having to worry about how painlessMesh is designed in a modular way, with many parent classes. The esp01s does have wifi and you can also deploy a simple webserver on them and a wifi ap that you could connect to to change colors, etc. Set a callback routine for any messages that are addressed to this node. This library allows setting an asynchronous HTTP (and Websocket) server, Confidentiality controls have moved to the issue actions menu at the top of the page. . Routes messages between mesh IoT network and ethernet. h> Define the credentials for the mesh network. com/Coopdis/easyMesh. You can log events to the console using: painlessMeshBoost --log <event> (if --log is not specified it will log all events). 3. ESP-MESH allows multiple devices (nodes) to communicate with each other under a single wireless local area network. I have done different projects like this without using bridge. ino; Find file Blame History Permalink feat: Fix ArduinoJson dependency in the log examples · 692715cc BlackEdder authored Aug 25, 2024. These both performs Serial2 communication to send and receive data in JSON format. 8438616f Confidentiality controls have moved to the issue actions menu at the top of the page. The protocol consists of three message types: ota::Announce, ota::DataRequest and ota::Data. For other examples on how to use the ssid: The name of your mesh. on("/submit", HTTP_GET, callback_func), and change your selection. Am I right? If the answer is yes, I suppose I'll need to implement my own webserver? It'll take some time, but it's not impossible :) Public Member Functions inherited from painlessmesh::ntp::MeshTime: uint32_t getNodeTime Public Member Functions inherited from painlessmesh::plugin::PackageHandler< Connection > void stop ~PackageHandler bool sendPackage So far I have managed to have some results with painlessMesh. Routes messages between mesh IoT network and void init(painlessmesh::wifi::Mesh *pMesh, TSTRING ssid, TSTRING password, uint16_t port) ผ่านมาสองตอนเรียบร้อยกับเรื่องของ ESP8266/ESP32 ในการเอามาทำ Mesh Network ซึ่งยาวมากๆ ถ้าใครทำตามผ่านมาได้ถึงตอนนี้ไม่มีอะไรยากละครับ ตอนนี้จะเป็นเรื่อง You signed in with another tab or window. h> #include <ESPAsyncWebServer. This is my implementation of Painless Mesh to create a better alternative for smart home solutions using Mesh networking technologies - PainlessMeshImplementation/Mesh Server. Try to be conservative in the number of messages (and especially broadcast messages) you sent per minute. You can have several ESP32 boards sending sensor readings via ESP-NOW to one ESP32 receiver that displays all readings on a web server. ) at the top of the page. I have been looking for a replacement for my production nginx web server. h> const char* ssid = "Wireless Controller"; const char* password = arduino ide and platfromIO, both with different versions of painlessmesh and arduinoesp32 every possible configuration change I can think of The mesh itself works, connecting to other nodes on the mesh as expected. " Thanks Marco. The result is an efficient wireless network that provides a strong signal no matter where you Hi I have worked on this code and took assistance by using painless mesh library and webserial i uploaded a code its working perfectly when i open the serial monitor but when i use web browser the ip address is not accessible although the IP address is correct i used to power esp exernally and wanna see the serial output on any one of the esp it doesnot receive painlessMesh; Repository; painlessMesh examples; webServer; platformio. ESP32 Text Messages. #include <painlessMesh. True ad-hoc networking painlessMesh uses JSON objects for all its messaging. This is needed because not all the nodes use the same sensor type and. Not literally combine them. bf52c335 OTA fixes and OTA examples · bf52c335 Caleb Marting authored Feb 09, 2020 and BlackEdder committed Feb 09, 2020 This is a large update. But when I submit the boardcast msg, another node won't painlessMesh Public Member Functions | Protected Member Functions | Protected Attributes | List of all members. painlessMesh is open source, so you can simply look at its source code to see how it does this: The libraries. com/Coopdis/easyMesh Library painlessMesh. JSON Based: painlessmesh ใช้ระบบการส่งผ่านข้อมูลในรูปแบบของ JSON ถ้าใครไม่คุ้นก็อาจจะงงๆหน่อย แต่รับรองไม่ยากแน่นอน ซึ่งข้อดีของมันก็คือ Node ที่รับข้อมูลแล้ว I think what @romkey say "combine" means that you need to something about the two duplicate routes. Your example ESP32 Web Server: Control Stepper Motor with HTML Form + CSS (using SPIFFS) is what I need, but I haven’t succeeded so far to modify it to be Access Point too. com/Coopdis/easyMesh `painlessMesh` creates a mesh network that is independent from any other/wider network. Unfortunately there's only one connected to my computer at a time. You signed in with another tab or window. Reload to refresh your session. com painlessMesh examples; otaSender; otaSender. 74adb7a8 History painlessMesh subscribes to WiFi events. Am I right? If the answer is yes, I suppose I'll need to implement my own webserver? It'll take some time, but it's not impossible :) ESP32 Wireless Mesh ( Made Easy with PainlessMesh ) - Part 1. Each You signed in with another tab or window. ZIP Library… and point to the zip file downloaded. Anyone here have tried to combine WiFiManager and painlessMesh or at least know that is it feasable to use both in the same code. HTTP POST Web APIs. painlessMeshBoost can be run as both a server and/or a client node. com/Coopdis/easyMesh painlessMesh; painlessMesh; Repository; painlessMesh examples; logServer; platformio. painlessMesh AsyncServer Member List. My application really needs So i used ESPAsyncWebServer lib to create my own web server and with the help of ArduinoJson, I am writing my config on the SPIFFS of ESP8266! Hope this helps! :) All reactions. But, as it will try to take over the Wifi chip and conflict with painlessMesh. For configuration, each node needs to have a WiFi WebServer running (each node shows a webpage to a client browser for logging and configuration ). So that on a device that connects to the Mesh network can receive information through painlessMesh examples; webServer; webServer. Instead we recommend using the scheduler included in painlessMesh. Pustaka painlessMesh memungkinkan kita membuat jaringan mesh dengan papan ESP8266 atau/dan ESP32 dengan cara yang mudah. com/Coopdis/easyMesh Hi, I am evaluating painlessMesh for a 250 nodes application. ESP32 Bluetooth. You signed out in another tab or window. Documentation can be found here. painlessmesh doesn't work any more. I have 2 nodes and both uploaded the webserver example code. จาก ตอนที่ 1: Introduction & Painlessmesh ผู้อ่านน่าจะได้เข้าใจหลักการทำงานของ Mesh Network และการใช้งาน Library Painlessmesh ร่วมกับ ESP8266/ESP32 กันไปบ้างแล้วซึ่งเป็น Create a painlessMesh object called mesh to handle the mesh network. painlessMesh examples; webServer; webServer. 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. This is the complete list of members for AsyncServer, including all inherited members. By default it runs as a server node. Nowadays, I’m working Move advanced bridge example to webServer example · 8438616f . Scheduler userScheduler; // to control your personal task painlessMesh Create a painlessMesh object called mesh to handle the mesh network. A web server is a software application or hardware device that stores, processes, and serves web content to users over the internet. Menu Why GitLab Pricing Contact Sales Explore Try to avoid using delay() in your code. com/Coopdis/easyMesh A painless way to setup a mesh with ESP8266 and ESP32 devices. If I receive lora packets the web server doesn’t answer and if I Coopdis,Scotty Franzyshen,Edwin van Leeuwen,Germán Martín,Maximilian Schwarz,Doanh Doanh I chose painlessmesh as its very easy to deploy a mesh network of esp8266 devices and to broadcast data out to a single device or all devices in the mesh easily. They are distinguished by BSSID. The boards connect to the access point fine when using standard wifi. It plays a critical role in the client-server model of the World Wide Web, where clients (typically web browsers) request web pages and resources, and servers respond to these requests by delivering the requested content. Lets build a complete wireless mesh network, fully functional, with all the features you need. Each message is 40 bytes. PainlessMesh max number of nodes is limited by esp8266 RAM. “painlessMesh adalah jaringan ad-hoc sejati, artinya tidak diperlukan perencanaan, pengontrol pusat, atau router. painlessMesh is included in both You signed in with another tab or window. h. I can connect to the webserver with a router in the path, but I wanted to use the same ESP32 as a softAP (from WiFi. Make sure to also explore the public member functions inherited from other classes, to get full information on the Set a callback routine for any messages that are addressed to this node. Based on the painlessMesh wiki you have different options to communicate to another node from out of mesh network and mostly I’ve done my projects with the first method. gz. That scheduler is a slightly modified version of the TaskScheduler library. For other examples on how to use the Learn how to use ESP-MESH networking protocol to build a mesh network with the ESP32 and ESP8266 NodeMCU boards. This is mirror of repo on gitlab. I'm looking for a way to make a Mesh network on ESP32 chips. All of them run webserver (every 2 seconds request for subConnectionJson, when a webpage is opened). You could have used Web-server based approach, where each esp broadcast its own ID (MAC id can also be Tried if need) and relevant data. My mesh network has an root node(AP_STA) acting as a web server with endpoints that returns the mesh topology, and endpoints that send some information to some specific non-root node(STA). h> #include <painlessMesh. ESP32 BLE Client-Server. vdxswtvy wmeva zcli fvqalwf czqgd ynjxibn ntbzxu nyay oqhb hjpe