Skip to content

zabuTNT/aurora-esp8266

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Aurora ESP8266 Project

ESP32 to ESP8266 migrated project for Aurora inverter monitoring.

Configuration in file platformio.ini

  • WiFi SSID: MyWifiSSID
  • WiFi Password: MySuperPassword
  • Inverter IP: 192.168.1.190
  • Inverter Port: 1470
  • HTTP Server Port: 8100

Compilation and Upload

  1. Compile and upload:

    pio run --target upload --upload-port /dev/ttyUSB0
  2. Monitor serial output:

    pio device monitor --port /dev/ttyUSB0

Features

  • 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)

API Endpoints

  • GET / - Complete inverter status in text format
  • GET /health - Health check (inverter reachability)
  • GET /json - Complete inverter data in JSON format
  • GET /xml - Complete inverter data in XML format

Inverter Data Retrieved

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

Hardware

  • Board: NodeMCU v2 (ESP8266)
  • Port: /dev/ttyUSB0
  • Baud Rate: 115200
  • Chip: CH340 USB-serial converter

Error Handling

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

About

Aurora Inverter Communication application for ESP8266

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published