Skip to content

Prometheus exporter for the SolarEdge monitoring API

License

Notifications You must be signed in to change notification settings

cmckeen/solaredge-exporter

 
 

Repository files navigation

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.

About

Prometheus exporter for the SolarEdge monitoring API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 90.6%
  • Dockerfile 9.4%