Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 698 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 698 Bytes

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.