I’ve managed to get full local control of my Anenji 6.2KW (Voltronic Clone) inverter without replacing the built-in WiFi dongle or doing any hardware mods.
What it does:
- Intercepts the cloud traffic on your router using NAT
- Runs a Python bridge that speaks Modbus-over-TCP
- Provides real-time monitoring and control
- Works completely offline once set up
- No random disconnects
- Connects to HA via Netcat
The approach: Instead of using ESPHome or connecting via rs232/USB, I redirect the inverter’s cloud connection (port 18899) to a local server. The WiFi dongle still works normally, but now talks to your own machine instead of China.
Main features (there are more not mentioned):
- Read all sensors (battery, PV, grid, loads)
- Control charging modes (SNU/OSO/CSO)
- Control over Inverter Output Source Priority (SBU/SUB/UTI/SOL)
- Adjust SOC thresholds
Full code and setup instructions: GitHub - samuelolteanu/Local-Cloud-Bridge-for-Anenji-Easun-MPP-Solar-Inverters
Should work on any inverter that uses Dessmonior/SmartESS app.
The register mapping might need tweaking for different models, but the interception method is universal.