Collect solar forecast data from https://forecast.solar or https://solcast.com and push it to InfluxDB.
-
Make sure your InfluxDB database is ready (not subject of this README)
-
Prepare an
.env
file (see.env.example
) with your InfluxDB credentials and some details about your PV plant (Geo location, azimuth, declination etc.)Find details about the underlying APIs here:
- Forecast.Solar API documentation.
- Solcast API documentation in the Legacy/Hobbyist section
-
Run the Docker container on your Linux box:
docker run -it --rm \ --env-file .env \ ghcr.io/solectrus/forecast-collector
It's recommended to integrate the forecast-collector
into your SOLECTRUS hosting. See more here:
https://github.com/solectrus/hosting
Copyright (c) 2020-2024 Georg Ledermann, released under the MIT License