New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

gitea.drjosh.dev/josh/sungrow

Package Overview
Dependencies
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitea.drjosh.dev/josh/sungrow

Go Modules
Version
v0.0.2
Version published
Created
Source

sungrow

Go Reference

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. It defaults to connecting to the IP address of the inverter on my home network.

: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:

$ docker build -t sungrow .

FAQs

Package last updated on 07 Jan 2023

Related posts