Skip to content

sabatex/NetDaemonApps.InverterAnenji-4kw-7.2kw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenESS (Anenji 4kw/7.2kw)

An app that exports electricity consumption and other metrics from Chinese solar inverters to Home Assistant using the WiFi adapter attached to the inverters. SmartESS mobile app.

Thanks Alexey Denisov

Installation and configuration

  1. Install NetDaemon to HomeAssistant
  2. Install MQTT.
  3. Create in you personal computer template project NetDaemon or use exist.
dotnet new --install NetDaemon.Templates.Project
mkdir NetDaemonApps
cd NetDaemonApps
dotnet new nd-project
  1. In solution explorer navigate to folder apps/HasModel and create application folder Anenji Inverter.
  2. In folder click left mouse button and select add existig items, choise all *.cs files from src folder,click on Add's button drop-down menu and choose Add as a link
  3. Open file InverterAnenji4_7.cs and correct lines.
    IPEndPoint WiFiAdapterEndPoint = new IPEndPoint(new IPAddress(new byte[] { 192, 168, 1, 128 }), 58899);
    IPAddress haIpAddress = new IPAddress(new byte[] { 192, 168, 1, 100 });
  1. In the NetDaemon configuration tab in the network configuration area, change port 10000 to 8899.

  2. Run debug or publish to HA.

P.S.

The Application, once launched, automatically registers the OffGrid Inverter Anenji device with all registers 201-234.

After successful integration to Home Assistant recomendation close access to internet for WiFi doungle. (Increases connection stability)