Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dannerph committed Nov 9, 2020
2 parents 0fd53bd + ade629b commit 3b42341
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Solcast [[Home Assistant](https://www.home-assistant.io/) Component]
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)

This custom component integrates the Solcast API into Home Assistant.

## Basic Installation/Configuration Instructions:
Expand Down Expand Up @@ -49,4 +51,4 @@ push_measurement:
desciption: >
The end period of the total power in UTC timezone
example: 2018-02-02T03:30:00.0000000Z
```
```
3 changes: 2 additions & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "Solcast",
"render_readme": true,
"domains": [
"sensor"
],
"iot_class": "cloud_poll"
}
}
47 changes: 47 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Solcast PV Forecasting
This custom component integrates the Solcast API into Home Assistant.

## Rooftop Site Configuration:
```yaml
solcast:
api_key: XXXXXX
resource_id: YYYYYY
api_limit: 10
disable_ssl_check: False
disable_automatic_forecast_fetching: False
```
Switch configuration variables:
* **api_key**: Your API key from Solcast.
* **resource_id**: The rooftop site resouce_id from Solcast.
* **api_limit** (optional): Number of API calls that should be used for the history over the day, default is 10.
* **disable_ssl_check** (optional): Disable SSL certificate check, only enable this if you are facing connection problems.
* **disable_automatic_forecast_fetching** (optional): if you want to set forecasting fetching via automation.
## Available service calls
```yaml
update_forecast:
description: >
Fetches the forecasts from Solcast.
update_history:
description: >
Fetches historical data from Solcast.
push_measurement:
desciption: >
Pushes PV measurements to Solcast for model fine tuning.
fields:
total_power:
desciption: >
The total power of the PV system for the given period.
example: 1.23456
period:
desciption: >
The period of the total power (e.g. PT5M, PT15M, PT30M, ...)
example: PT5M
period_end:
desciption: >
The end period of the total power in UTC timezone
example: 2018-02-02T03:30:00.0000000Z
```

0 comments on commit 3b42341

Please sign in to comment.