esp32 modbus bridge. You can access the coils and registers from your slave ModBUS device as sensors, switches or various other ESPHome components and present them to your favorite Home Automation system. esp32 modbus bridge

 
 You can access the coils and registers from your slave ModBUS device as sensors, switches or various other ESPHome components and present them to your favorite Home Automation systemesp32 modbus bridge 3V from Sonoff to 5V TTL terminal of the PZEM and the resistor mod explained in the above images

I always get one of the two following crash logs; Code:. Supports Modbus TCP Security for ESP8266/ESP32. Most complete Modbus protocol implementation for Arduino. Quickstart. See datasheet for more information. serial esp32 modbus mesh mcu modbus-rtu espnow node-espnow Updated Mar 22, 2021; C; To know more about Modbus you can check out Simply Modbus they have covered everything. Enable EFM8BB1 firmware upload: 26: Sonoff B1: Set light type to RGBWC using MY92x1: 27: AiLight: Set light type to RGBW using MY92x1: 28: Sonoff T1 1Ch: See Sonoff Touch: 29:. ESP32 + Modbus Meter PZEM-016 RS485 and Emoncms Platform # 001. 168. All the above ESP32 projects either control something or run something. The Modbus protocol uses. For Modbus RTU, there are a few communication parameters: Baud rate: Modbus is designed to work between 1200 – 115,200 Kbps. To make ESP32 work with Modbus, you have to manually transmit a Modbus frame to the device with raw bytes, according to the Modbus specification. "In this user guide for ESP32 board with Arduino IDE, we have demonstrated how we can read the data from Modbus RTU device on ESP32 ". Any system of 1 or more nodes will self-organize into fully functional mesh. BH1750 ambient light sensor. Ao optar por Modbus Serial ou Modbus IP você deve incluir o cabeçalho correspondente e o cabeçalho da biblioteca base em seu sketch, Ex: ``` #include #include ``` . Computer running Windows, Linux, or macOS. Step 2: Add a Southbound Device. Configuring ESP8266/ESP32 as a TCP server using sockets. I need some advice on how to get Modbus working between 2 or more devices. According to the features used by an application, there are some sub sleep modes. "50 - 10000 pcs. csv. Therefore my "sender" node will be connected to the mesh, and will also be connected as Client. Use a network tool on the PC to create a TCP server. When the server is requested by a client, like a computer connected to the same WiFi connection, it returns an HTML page. 4 Demo 8. 1 channel lights are often white lights with On/Off controls and dimmer. ESP32 POE board as a Modbus server to a Siemens PLC. Serial Bridge Using ESP8266. ESP-Modbus. Driver supports up to 4x MPR121 controllers (= 48 buttons per ESP8266). Modbus Library for Arduino. Open your Arduini IDE and go to File > new and create a new sketch. All the regular UART. The MicroPython script that follows configures ESP8266 as a TCP server. There are a few differences in the APIs depending on the transport, but the majority of the functions are the same for both. Reload to refresh your session. 44,80. I have done some stuff with Modbus and found it funny the PSU comes with a Modbus server built in If. In a standard Modbus network, there is one Master and up to 247 Slaves, each with a unique Slave address from 1 to 247. To enable some of the features you have to compile your own binary. Check version of your device (which port type it uses) and find appropriate port or converter. ESP32 Camera. esp_err_t mbc_slave_init( mb_port_type_t port_type, void ** handler) ¶. Modbus RTU / RS485 to MQTT bridge for Solis Mini solar inverter. IP-side responses and receives data from/to local registers. g. I have a problem communicating with Easergy P3 Schneider device using Arduino to monitor the data on the serial of the Arduino. The code is working fine and I can see the read holding register request as received on the Modbus simulator software but. ESP8266 is not supported although ESP8266 devices can be handled via a single ESP32 in bridge mode (see below) This feature is included in standard tasmota32xx builds; not in special variants (display, sensors. Now I want to connect the meter with RS485 to USB converter and read it using the modbus integration of home assistant. . W5500 enables users to have Internet connectivity in their applications just by using the single chip in which TCP/IP stack, 10/100 Ethernet MAC, and PHY are embedded. This USB 2. To connect Moduino or Pycom device to PC you need RS-232/RS-485 port or converter. Primarily developed on and for ESP32 MCUs. Why Bridge Modbus to MQTT? With the advent of Industry 4. It features all the state-of-the-art characteristics of low-power chips, including fine-grained clock gating, multiple power modes,and dynamic power. This example demonstrates how to interact with the onboard LED on the BE32-01. Jargão do Modbus . non blocking API. We will learn how door sensor works, how to connect door sensor to ESP32, how to program ESP32 step by step. ESP32 Camera. 3V to VCC and naturally GND to GND. The Smart Meter Interface provides a means to connect many kinds of meters to Tasmota. These circuits are often used in robotics and other applications to allow DC motors to run forwards or backwards. 0 compliant device includes 0 digital I/O pins and is availble in a 5x5 mm QFN28 package. Here, a single serial cable linking the serial ports on two devices will be the simplest configuration. bin do not include the necessary driver. Read/write the register outside of supported address space: the Modbus stack returns exception response back with the most significant bit set to 1 in the command field of PDU (0x80 + send command). {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"case","path":"case","contentType":"directory"},{"name":"gerber","path":"gerber","contentType. This means that the shaft (visible. Tasmota forks with added features. Dynamic Sleep is enabled by default from Tasmota version 6. Reset the device and connect to it via console. 4) an app ( to access the mesh from anywhere ) - intermediate. Alternatives There are several alternative ways to access your inverter data. The Modbus is a master-slave protocol used in industrial automation and also can be used in other areas, such as home automation. This little sensor is a great way to add UV light sensing to any microcontroller project. It's required to include several Windows headers to make use of these APIs. 3V from Sonoff to 5V TTL terminal of the PZEM and the resistor mod explained in the above images. See moredesigned for ESP32, various interfaces supported; async versions run also on ESP8266; non blocking / asynchronous API; server, client and bridge modes; TCP (Ethernet, WiFi. The message sent over the USB_RS485 should be returned back from ESP32 board (Refer to example configuration). 一个modbus请求报文结构如下. MCP23SXX I/O. Supports Modbus TCP Security for ESP8266/ESP32. Adapt your wifi settings in the secrets. 1 in your browser. Sprinkler. i. These include: ESP32; Node-RED; Solar Assistant (a commercial application) Handle the onbaord LED on a BE32-01, ESP32 or ESP8266 as well as Neopixel LEDs. bin build which includes basic Tasmota features required for normal operation with Tuya devices, while removing sensors, IR, RF and home automation integration support for reduced filesize. This is a non blocking Modbus client (master) for ESP32. ESP32-Ethernet-Kit V1. mp3 = plays a . When I enter text from the Serial monitor I see the expected function of Serial1 and Serial2. The Shelly 1 is supported in Tasmota from version 6. DAC GPIOs~ DAC is limited to specific GPIOs: ESP32: only GPIO 25-26; ESP32-S2: only GPIO 17-18An Espressif ESP-Modbus Library (esp-modbus) is a library to support Modbus communication in the networks based on RS485 or Ethernet interfaces. “painlessMesh is a true ad-hoc network, meaning that no-planning, central controller, or router is required. Hello everyone, this is my first post in Arduino Forum, and I am quite a beginner in using RS485 sensors, as I am having some trouble understanding Modbus RTU. The figure below illustrates an example mapping of a device’s data to the four types of registers. Reads Deye solar inverter metrics using Modbus over TCP and publishes them over MQTT. modbus-esp8266. In this comprehensive tutorial, we will delve into the world of Modbus RTU RS485 protocol integration with the versatile ESP32 board, all within the familiar confines of Arduino IDE. You signed out in another tab or window. Is this bridge (RTU client => ESP32 BRIDGE => TCP server) correct for this. But this project lets you paint. Download modbus_mqtt_publisher. SetOption60 0. Arduino Master & ESP8266 Slave Modbus RTU (TTL) Explaining projectESP8266 module, 1 – It is configured by your serial port Modbus RTU Slave Serial, complementing a MAX 232 chip can convert from TTL to RS232. In the next line we need define direction of RE and DE terminal which we have to connect with ESP32 board at GPIO32 and GPIO33. I²S Audio. 0. I am using Modbus TCP/IP communication protocol to have my job done. "BME280 sensor, an environmental sensor with temperature, barometric pressure and humidity", see Datasheet. Explore the GitHub Discussions forum for eModbus eModbus. 0. 1. Start the serial master and slave examples: examplesprotocolsmodbusserial* and make sure they can communicate each other. The sensors supported by Tasmota use BLE (Bluetooth Low Energy) to transmit the sensor data, but they differ in their accessibilities quite substantially. bin supports almost all protocols available in the IRremoteESP8266 library. 0. Point Ellice Bridge disaster. Its goal was to provide ESP8266 based ITEAD Sonoff devices with MQTT and 'Over the Air' or OTA. The second will receive this packet and measure the signal strength in dB, which will show on the. Code samples are provided for opening, closing, configuring, reading, and writing to a COM port in Windows 10 and lat-er. ESP32 Pinout Reference. Baud rate is the “speed” of data transfer on the RS-485 network. • 1 × smartphone (Android 4. We set up a packet to send Sender to the Receiver. 1. The signal comes from an analog peripheral, or sometimes from the device itself (see Shelly 2. Overview ESP32-Ethernet-Kit is an ESP32-based development board produced by. Homebridge is a NodeJS server which emulates the iOS HomeKit API to enable support for non-native devices (like Sonoff and Magichome devices). Made with Material for MkDocs. Blocking code is in a seperate task. After compiling and flashing you will find a new entry in Tasmota webUI: Consoles - Manage File system. The RF Coexistence mentions a number of ESP32 menuconfig options none of which are configurable via the Arduino IDE. By default Tasmota uses the ADC pin to read voltage. 3. The ESP_Modbus supports Modbus SERIAL and TCP ports and a port must be initialized before calling any other Modbus API. 4 GHz Wi-Fi-and-Bluetooth SoC (System On a Chip) designed by Espressif Systems. You signed in with another tab or window. UART (or for Arduino often also called Serial) usually consists of 2 pins: TX: This line is used to send data to the device at the other end. void setup () { Serial. MODBUS help needed - Ampinvt solar controller to Home Assistant via ESPhome. Adapt your wifi settings in the secrets. Official Tasmota integration - preferred and automatic instant discovery of entities. WIZnet‘s Hardwired TCP/IP is the market. Using Arduino Programming Questions. 625º—so it needs 360º/5. When auto-phasing is enabled, you can use 2 consecutive PWM to drive a H-bridge siunce PWM phases don't overlap - under the condition that the sum of both PWM don't exceed 1023. ttgo t call v1 3 esp32 sim800l with modbus RS-485 Read holding regsiters. We connect Arduino pin 2 to a push button. 📚 The latest documentation is available at MicroPython Modbus ReadTheDocs 📚. This example demonstrates how to interact with the onboard LED on the BE32-01. ESP 8266 - 01 Bridge Modbus RTU Slave - Modbus TCP IP Slave. The heated metal oxide changes resistance based on the volatile organic compounds (VOC) in the air, so it can be used to detect gasses & alcohols such. Connect the MAX 485 driver's A & B pins with the A & B pins of USB to the RS-485 module. yaml; Connect your PC to the micro USB and run: esphome run deye-esp32-bridge. MAX6956 I/O expander - I²C Bus. Modbus RTU / RS485 to MQTT bridge for Solis Mini solar inverter. 2 and Bluetooth low energy. Additionally, the ESP32 comes with touch-sensitive pins that can be used to. . Hardware setup¶ You need an RS485 transceiver module: See How is this RS485 module working? on. mp3 = plays a . Data source is a controller for an electric wall charger (with modbus 485). mp3 audio file from the file system, sound is played in a separate task not blocking the system: I2SRtttl: string = play Ring Tones Text Transfer Language. Bridge Rectifier Modules. The library process a modbus configuration file in JSON format. 3. PCA6416A I/O Expander. On an ESP32, due to a different implementation, serial ports may not be used in conjunction with other Tasmota serial devices. Arduino Code for Master. Modbus RTU is a master-slave protocol. Furthermore, please link to the datasheet of. esp8266 esp32 modbus arduino-library modbus. Clock Generators. PM2. (Dual-core capabilities). It uses an ESP32 board and a 240×240 TFT display. You switched accounts on another tab or window. The meaning of certain inverter registers depends on the inverter type. h : #ifndef USE_KNX #define USE_KNX // Enable KNX IP Protocol. ESP8266 is configured to route between the two protocols records in upcoming tutorials is implemented in SCADA Industrial. USE_MODBUS_BRIDGE_TCP: The bridge can be used by commands in the console and via MQTT messages but also as Modbus TCP/IP bridge Configuration . Secure sensor and gateway platform based on ESP8266 and ESP32. Using Arduino Networking, Protocols, and Devices. The door sensor is also known as entry sensor, contact sensor, or window sensor. Hi everyone, Hope you are doing well. I have 4 ESP32 as MODBUS TCP and 1 ESP32 as a repeater, this set is repeated for 3 floors, one floor has to connect to the other, similar to a wifi repeater but within the same IP range. In full-step mode: 64/2 = 32 steps to complete one rotation. Using the Peacefair PZEM-016 meter add an ESP32. With modbus RTU you can not connect to the Fusion solar app and with modbus RTU at the same time. Serial flashing~ Like most devices, GPIO0 has to be held low during power up to get into flash mode. beep (f l) (ESP32) beeps with a passive piezo beeper. e. On ESP32, PWM phases are by default distributed one after the other to minimize effect on power supply. I’ve been working on a project to send data from mesh network to a Windows Server via TCP/IP protocol. The 28BYJ-48 Stepper Motor has a stride angle of 5. Onboard LED. 0. Basically all of them use the so-called "MiBeacons" which are BLE advertisement. modbus_bridge import ModbusBridge register_file = 'registers/modbusRegisters-MyEVSE. At a given time only one stream can be served, but multiple snapshots. Official OTA Server: Download. Author: Andre Sarmento Barbosa, Alexander Emelianov. Connect any 7-24V DC source to the screw headers (do not use CN2 PINS 7+8 from deye inverter, they only work for about 100mA). Serial to TCP Bridge. I’m having trouble with understanding how to actually write the right. Ethernet Wi-fi Bridge, or AP + STA bridge. brotherv June 20, 2021, 3:43am 1. The Modbus protocol allows devices to map data to four types of registers (Holding, Input, Discrete, Coil). Before establishing communication, you need to set up the PLC to communicate using the MODBUS protocol. In the configuration menu, select South Devices to enter the South Devices interface. local domain!); Port = your MQTT broker port (default port is set to 1883); Client = device's. This suggestion is invalid because no changes were made to the code. 2) add ota ( wireless ) update of the nodes - intermediate. Home Assistant is an open source home automation solution that puts local control and privacy first. Beta Was this translation helpful? Give feedback. You have to save "18 Generic" first and when you go there again after the. 168. For the Add-On you require Home Assistant OS and a RS-485 adaptor to connect to your Sunsynk inverter. Made with Material for MkDocs. esp32ModbusRTU. 4, TLS now support dual mode, depending of the value of SetOption132: SetOption132 0 (default): the server's identity is checked against pre-defined Certificate Authorities. This is a non blocking Modbus client (master) for ESP32. Is this bridge (RTU client => ESP32 BRIDGE => TCP server) correct for this. PC or MCU can connect with the ESP-IoT-Bridge device through multiple interfaces (USB/SPI/SDIO) to gain internet access. Hello everyone, this is my first post in Arduino Forum, and I am quite a beginner in using RS485 sensors, as I am having some trouble understanding Modbus RTU. 1 RS485 port for Modbus RTU. py to the device (refer previous lesson to check how to do that). It takes minimal 3 steps to get going. Transparent WiFi (TCP) to all three UART Bridge, supports both AP and STATION WiFi modes. The ESP32 chip has 3 UART controllers (also referred to as port), each featuring an identical set of registers to simplify programming and for more flexibility. Modbus TCP server for ESP8266/ESP32 and Ethernet library ; Modbus TCP client for ESP8266/ESP32 and Ethernet library ; MODBUS/TCP Security server (ESP8266) ; MODBUS/TCP Security client (ESP8266/ESP32) ; Modbus functions supported: ; 0x01 - Read Coils ; 0x02 - Read Input Status (Read Discrete Inputs) ; 0x03 - Read Holding. That the result if changing your parity modbus bridge to node-red. Simple example of using Arduino Ethernet library with ESP32 and W5500 to send messages to TCP server. ESP32 painlessmesh OTA from web browser. 0. Connect the Modbus device to an ESP and Tasmota will create a bridge to the Modbus network. Supports network transport (Modbus TCP) and Serial line/RS-485 (Modbus RTU). You do not need commercial Modbus gateways. PDAControl Present. The Sonoff Basic R3 uses the ESP8285 chip. implement bridging behaviour on esp8266. The functions below are used to create and then. 5. Step 4: Circuit Connection and Modbus Slave Software Configuration. bin with the following command: esptool. Grove TB6612FNG. . 7. The variables x (of type. Could not load tags. 15. The ESP32 radio hardware is unchanged, but if you prefer just to build an internet bridge you may omit VS1053, LCD display and other internet radio goodies. This means that the motor has a step angle of 5. In this sketch, we will send a command “0” or “1” to the slave Arduino Board. ModbusMaster:. The Modbus is a master-slave protocol used in industrial automation and can be used in other areas, such as home automation. ESP32 hardware serial test on Serial1 and Serial2 Serial Txd is on pin: 1 Serial Rxd is on pin: 3 Serial1 Txd1 is on pin: 13 Serial1 Rxd1 is on pin: 12 Serial2 Txd2 is on pin: 15 Serial2 Rxd2 is on pin: 16 Serial2 = 1TestSerial1 Serial1 = 2TestSerial2. json' rtu_pins =. 0. The MAX485 module acts as a bridge between the ESP32’s TTL-level UART signals and the RS485. 0 which is still not merged. esp8266 esp32 modbus arduino-library modbus-tcp. Matter protocol supported in all ESP32 variants (C3/S2/S3) since Tasmota v13. 1. The Epever eBox-WIFI-01 I tried first was bricked when attempting a by-the-book firmware update before I. In this tutorial, we will discuss how we can interface ESP32 (as master) to any RS485 (Modbus RTU) based sensor (as slave) using Arduino IDE. In this comprehensive tutorial, we will delve into the world of Modbus RTU RS485 protocol integration with the versatile ESP32 board, all within the familiar confines. This requires brainelectronics MicroPython Modbus. Sonoff Basic R3. A generic firmware for an ESP32 to be used as a Modbus TCP/IP gateway for any modbus RTU device. json' rtu_pins =. ESP-WROVER-KIT makes development convenient, easy,. 1053×615 86. PC or MCU can connect with the ESP-IoT-Bridge device through multiple interfaces (USB/SPI/SDIO) to gain internet access. after restart I have typed in console EthType 0, EthClockMode 0 and EthAddress 1. The figure below illustrates an example mapping of a device’s data to the four types of registers. 2 documentation » API Reference » Application Protocols » ESP-Modbus Edit on GitHub ESP-Modbus ¶. 2 Overview (click to enlarge) What You Need ESP32-Ethernet-Kit V1. This feature is included only in tasmota-sensors and tasmota32 binaries. Data source is a controller for an electric wall charger (with modbus 485). ESP32 Camera Web Server. IP-side responses and receives data. The detail instruction, code, wiring diagram,. The PCA9557 chip (or breakout board) must be connected to the ESP8266/ESP32 and the I2C pins must be configured for the module similar to the following: Once that is complete you may want to confirm that the Tasmota firmware is finding your PCA9557 chip by sending the command through serial or MQTT: I2Cscan. Hi Guys, I am using ModbusRTU library to establish a serial modbus connection using MAX485. Contribute to zivillian/esp32-modbus-gateway development by creating an account on GitHub. painlessMesh Library. But, i solved this. e. Each HC-SR04 module includes an ultrasonic transmitter, a receiver and a control circuit. This feature is included only in tasmota-sensors. ESP USB Bridge creates a composite USB. 3. The sensors supported by Tasmota use BLE (Bluetooth Low Energy) to transmit the sensor data, but they differ in their accessibilities quite substantially. 168. ESP32. Espressif platform solutions are as shown below: ESP32-H SoCs and modules with 802. Our Modbus Slave will be PC computer with Modbus simulator software running on it. TCA9548A I²C Multiplexer. 161 for wifi connection and for Ethernet 192. from this point Ethernet started to work – I have internal ip address 192. cpp","path":"src. Having written a sketch to transmit the data in a raw byte form, I can confirm that the ESP32 can be made to work with. Most complete Modbus library for Arduino. VEML6070 UV light sensor. ModbusRTU, ModbusTCP and ModbusTCP Security. You can see the 120Ohms resistor added to the terminals of the bus connection. See the Berry cookbook for H-bridge control. Modbus data. If your inverter is not listed below, it. Also works with ModBus Bridge <port>, [<ipaddress>] = Start listening to port. LCD screen. so please explain what you have done not according to the tutorial and what are the issues you are currently dealing with. NOTE1: When the command completes the device is out of firmware upload mode! NOTE2: For a proper device initialization after first firmware upload. The Modbus is a master-slave protocol used in industrial automation and also can be used in other areas, such as home automation. g. Before establishing communication, you need to set up the PLC to communicate using the MODBUS protocol. 168. Step 4: Circuit Connection and Modbus Slave Software Configuration. I was able to find examples for Arduino MKR WiFi 1010 via Ethernet shield (W5500) and for Arduino NanoV3 via Ethernet shield (ENC28J60). 3. Architecture. The sliders control the duty cycle of different PWM channels to control the brightness of multiple LEDs. It should. This is quite a common pattern for "legacy" protocols. Connect the MAX 485 driver's A & B pins with the A & B pins of USB to the RS-485 module. You can skip the introduction sections and go directly to Section Start Application Development. I've got two identical Growat inverters, so far I have hooked on up to a ESP32 with TTL converter and flashed the dev branch tasmota. The solution. In 2010, after years of debate, the City of Victoria. 1”) Tap the button on the back of the hub once the Lutron app discovers your smart hub (it will prompt you to press the button when ready). While #define USE_MODBUS_BRIDGE should indeed be default for the ESP32 base build, that does not mean that #define USE_MODBUS_BRIDGE_TCP is included too. 625º = 64 steps in half-step mode. It is supported by this EV charge controller: evcc. Primarily developed on and for ESP32 MCUs. See on_frame Trigger. 7 - a Python package on PyPI - Libraries. 3 V AMS1117 LDO (power supply), and a 5 V power indicator LED. things //Choose the bridge you want to. The Modbus is a data communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs). Supports Modbus TCP Security for ESP8266/ESP32. Not only can it be used to monitor the RS485 bus, but it can also be used with your PC and a Modbus app to talk to the sensor. Documentation: Real Implementation: Test 1: ESP32 Code Bridge Mode USB to Serial. client esp8266 tcp server ascii esp32 modbus bridge rs485 linux-client rtu Updated Oct 8, 2023; C++; OpenIBC / Ohsce Star 211. See HC-SR04 Ultrasonic Sensor for more information. WIZnet‘s Hardwired TCP/IP is the market. you linked a tutorial which says. We will create an example project by interfacing a RS485. Support for up to 3 (ESP8266) or 8 (ESP32) phase modbus energy monitoring device using generic Energy Modbus driver; Support for RGB displays #17414; Support for IPv6 DNS records (AAAA) and IPv6 Ping for ESP32 and ESP8266 #17417;. Test 2: Modbus RTU simulator. Reset the device and connect to it via console. Hi. While #define USE_MODBUS_BRIDGE should indeed be default for the ESP32 base build, that does not mean that #define USE_MODBUS_BRIDGE_TCP is included too. Post by alhadi » Mon Jun 20, 2022 12:47 pm . So, reading through the linked post again and trying to figure out the rest of teh custom command, I changed that section to read: - platform: modbus_controller modbus_controller_id: ampinvt name: "Battery Voltage" id: battery_voltage # custom_command to read Ampinvt registers # device slave address: 0x01 # master. ESP32 BLE Beacon. 5 degrees)). Hello. Nova PM Sensor SDS011 can measure the air quality very accurately by measuring air particles or dust based on laser detection. [中文] The Espressif ESP-Modbus Library (esp-modbus) supports Modbus communication in the networks based on RS485, Wi-Fi, and Ethernet interfaces. Industrial Integrations. 3 V voltage regulator modules are needed. Power the device on and off six times with intervals lower than 10 seconds and leave it on after seventh time. In this protocol, only the master device (in our case, an Arduino) is allowed to initiate communication. Furthermore, please link to the datasheet of. Home Assistant. You should see a response giving you. Reload to refresh your session. The painlessMesh library allows us to create a mesh network with the ESP8266 or/and ESP32 boards in an easy way. Supports network transport (Modbus TCP) and Serial line/RS-485 (Modbus RTU).