Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sungrow-go

GoLang implementation for accessing real-time data from Sungrow inverters with WiNet-S dongle using WebSocket.

Install

$ go mod vendor
$ go build -o ./bin/

Usage

List available and required parameters:

$ sungrow-go -help

Basic usage with ip address of your inverter (e.g. 192.168.2.100) and the Sungrow WiNet-S dongle standard credentials:

$ sungrow-go -ip 192.168.2.100 -user admin -password pw8888

Output: var,value,unit

time,2023-08-25T16:34:00+02:00,RFC3339
sunPowerDay,3.500,kWh
sunPowerTotal,97499.900,kWh
deviceStatus,Netzbetrieb,
inverterTemp,43.600,℃
consumptionRate,57.143,%
netFeedIn,1.500,kW
netPower,0.000,kW
netFeedInDay,0.100,kWh
netFeedInTotal,55694.800,kWh
netPowerDay,0.700,kWh
netPowerTotal,15586.600,kWh
consumption,0.500,kW
sunPower,4.000,kW
batteryCharge,2.500,kW
batteryDischarge,0.000,kW
batteryTemp,23.000,℃
batteryLevel,43.100,%
batteryHealth,99.000,%

Supported inverters

Tested Sungrow inverters with WiNet-S dongle:

  • SH10RT

About

GoLang implementation for accessing real-time data from Sungrow inverters with WiNet-S dongle using WebSocket.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages