2021-08-18 20:58:40 +10:00
|
|
|
# sungrow
|
|
|
|
|
2023-01-07 17:14:17 +11:00
|
|
|
[![Go Reference](https://pkg.go.dev/badge/gitea.drjosh.dev/josh/sungrow.svg)](https://pkg.go.dev/gitea.drjosh.dev/josh/sungrow)
|
|
|
|
|
|
|
|
A Prometheus exporter that scrapes a Sungrow inverter for information about
|
|
|
|
solar generation, usage, and other fun data. It includes a (minor) fork of
|
|
|
|
github.com/goburrow/modbus (to enable working with Sungrow's "encryption").
|
|
|
|
|
|
|
|
This is part of my own custom solar monitoring setup, so has a few quirks suited
|
|
|
|
to me. In particular, it exports the necessary tariff values to compute
|
|
|
|
import cost and export value - if you are using Aurorar Tariff 93 in Tasmania.
|
2023-01-07 17:15:02 +11:00
|
|
|
It defaults to connecting to the IP address of the inverter on my home network.
|
2023-01-07 17:14:17 +11:00
|
|
|
|
|
|
|
> :warning: There is ABSOLUTELY NO WARRANTY provided with this code. If for
|
|
|
|
> whatever reason it blows up your inverter, THAT'S ON YOU.
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
|
|
|
Docker is recommended:
|
|
|
|
|
2021-08-18 20:58:40 +10:00
|
|
|
```
|
2023-01-06 16:53:25 +11:00
|
|
|
$ docker build -t sungrow .
|
2021-08-18 20:58:40 +10:00
|
|
|
```
|