Skip to content
Prometheus exporter for the SolarEdge monitoring API
Go Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
exporter
http
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yml
go.mod
go.sum
main.go
prometheus.yml

README.md

SolarEdge Exporter

This is a Prometheus exporter for the SolarEdge monitoring API.

Usage

There are two requirements, an api token and a site ID. These must be exported to the environment as: API_TOKEN and SITE_ID to run the exporter.

Binary

go build -o solaredge-exporter

Docker-compose (testing)

docker-compose up

Limitations

Currently, the exporter only queries the overview endpoint and gathers the current power output.

Also, due to the API request limitations of the SolarEdge API being 300/req/day I have disabled querying from the hours of 7PM to 7AM CST. In a future iteration I plan on allowing users to specify a lat/long so I can get sunrise/sunset data.

You can’t perform that action at this time.