prometheus_solcast_exporter
A very quick and dirty unofficial Prometheus exporter for Solcast's free home solar forecast API. (So dirty it doesn't even have any tests!)
Usage
$ prometheus_solcast_exporter RESOURCE_ID --api-key=API_KEY
By default will run an Prometheus exporter on port 9534. See --help for
further options.
Metrics
Produces two sets of metrics:
solcast_up{resource_id="..."}: 1 when the most recent Solcast API request succeeded, 0 otherwise.solcast_forecast_watts{resource_id="...", time_offset="NNN", centile="..."}: The forecast solar power in Watts. Thetime_offsetlabel gives the number of minutes into the future the forecast is for. Thecentilelabel is either empty (for the main estimate), 10 (for the 10th percentile estimate) or 90 (for the 90th percentile estimate).
Forecast data is fetched at an interval configured by the --max-age argument,
defaulting to 180 minutes to avoid hitting the 10 requests per day API rate
limit. The most recently fetched data (appropriately time shifted) is returned
between requests.
Historic estimated values are not captured.
Metadata
Release files for prometheus-solcast-exporter 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prometheus_solcast_exporter-0.0.1.tar.gz | 41.1 kB | Without provenance | Details for prometheus_solcast_exporter-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prometheus_solcast_exporter-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for prometheus_solcast_exporter-0.0.1-py3-none-any.whl |
Total release size: 70.6 kB
Release files / prometheus_solcast_exporter-0.0.1.tar.gz
| Download URL | prometheus_solcast_exporter-0.0.1.tar.gz |
|---|---|
| Size | 41.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e60b63a10b2c477c1dca9e89e1d449492dd2e8335c2375c585c4e772a08b32f1
|
|
BLAKE2b-256 checksum How to use checksums |
16b4ea74d6e1c4188f68de1ae94363d7f42e8fbcf9a5d0a085d18d48de96d0bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / prometheus_solcast_exporter-0.0.1-py3-none-any.whl
| Download URL | prometheus_solcast_exporter-0.0.1-py3-none-any.whl |
|---|---|
| Size | 29.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
911a73d4aa2a31e0bdc8b51d6405132827e0b077ecec38a2d4e43d51caf4af7d
|
|
BLAKE2b-256 checksum How to use checksums |
db4c7598a2b200635fb02334095f821922d6685acab452e79641774024332f90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for prometheus-solcast-exporter 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.