-
Notifications
You must be signed in to change notification settings - Fork 29
Home
tobiasfaust edited this page Oct 19, 2022
·
16 revisions
This project implements a Gatewayx for Solax X1/X3 Inverter with Version G4 with Modbus-RTU communication to MQTT on ESP32 basis. Please note: A Solax Inverter Version G3 don´t works because the modbus protocol has changed between G3 and G4.
- ESP32 NodeMCU
- MAX485 Module TTL Switch Schalter to RS-485 Module RS485 5V Modul (this can also handle 3.3V from ESP)
An ESP8266 is actually not sufficient, because Modbus communication works fail-free only with hardwareserial. ESP8266 has only one Hardwareserial port which is used by serial/debug output. ESP32 has 3 Hardewareserial ports and we use one of them.
It´s recommend to start with one example to check wiring works correctly. The example request the inverter SN and if wiring is correct, the inverter will answer with his number.
request: 01 03 00 00 00 07 08 04
Response: 01 03 .....

- Overview
- Schematic
- Start it
- Configuration
- Compiling firmware
- Advanced stuff
- Questions and Answers