ESP32 to ESP8266 migrated project for Aurora inverter monitoring.
- WiFi SSID: MyWifiSSID
- WiFi Password: MySuperPassword
- Inverter IP: 192.168.1.190
- Inverter Port: 1470
- HTTP Server Port: 8100
-
Compile and upload:
pio run --target upload --upload-port /dev/ttyUSB0
-
Monitor serial output:
pio device monitor --port /dev/ttyUSB0
- Automatic WiFi connection
- HTTP server with REST API for Aurora inverter
- Support for formats: TXT, JSON, XML
- Health check endpoint
- TCP communication with Aurora inverter
- Complete inverter data monitoring (power, energy, voltages, currents)
GET /- Complete inverter status in text formatGET /health- Health check (inverter reachability)GET /json- Complete inverter data in JSON formatGET /xml- Complete inverter data in XML format
When the inverter is online, the following data is available:
- ST - Inverter status
- CET - Total energy produced
- CED - Daily energy produced
- DSP3 - Current power output
- DSP23 - DC voltage
- DSP25 - DC current
- DSP26 - AC voltage
- DSP27 - AC current
- SN - Serial number
- VR - Firmware version
- Board: NodeMCU v2 (ESP8266)
- Port: /dev/ttyUSB0
- Baud Rate: 115200
- Chip: CH340 USB-serial converter
The system gracefully handles inverter communication errors:
- When inverter is offline: Returns "ERROR" status with descriptive message
- When inverter is online: Returns complete data with "OK" status
- Timeout protection prevents server blocking
- Multiple retry attempts with exponential backoff