Very simple HTTP API to query the SolarEdge ModBus
- Build project
- Put target endpoint in appsettings.json (for ModBus protocol)
- Open browser at localhost:<port>/api/v1/photovoltaic
{
"power": 9635, // Power Production (W)
"battery": {
"percentage": 0.85, // Battery Percentage (0.0 - 1.0)
"status": 0 // (0 = Idle, 1 = Charging, 2 = Discharging)
}
}