Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions templates/definition/tariff/pvnode-v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
template: pvnode-v2
products:
- brand: pvnode V2 API
requirements:
description:
en: |
[pvnode V2 API](https://pvnode.com) provides 15-minute PV production forecasts via REST API Version 2 with site ID and easy configuration via web app.
An API key is required (free plan available).
**Attention**: The free plan only allows one fixed site with forecasts for today & tomorrow and only one update per day and 250 cached queries.
de: |
[pvnode V2 API](https://pvnode.com) liefert 15-Minuten PV Vorhersagen per REST API Version 2 mit Standort-ID und leichter Konfiguration über Web-App
Ein API-Key ist erforderlich (kostenloser Plan möglich)
**Achtung**: Mit dem kostenlosen Plan ist nur ein Standort (fest) möglich mit einer Prognose für Heute & Morgen und nur einem Update pro Tag und 250 gecached Abfragen.
evcc: ["skiptest"]
group: solar

params:
- name: site_id
description:
en: Site ID
de: Standort-ID
required: true
- name: apikey
description:
en: pvnode API key
de: pvnode API Key
required: true
- name: forecast_days
description:
en: Forecast days
de: Vorhersagetage
help:
en: The free plan of pvnode only allows 2 forecast day.
de: Der kostenlose Plan von pvnode erlaubt nur 2 Vorhersagetag.
type: int
default: 2
advanced: true

render: |
type: custom
tariff: solar
features: ["cacheable"]
forecast:
source: http
uri: https://api.pvnode.com/v2/forecast/{{ .site_id }}?forecast_days={{ .forecast_days }}&past_days=0
auth:
type: bearer
token: {{ .apikey }}
jq: |
[.values[] |
{
start: (.timestamp + "Z"),
end: (.timestamp + "Z" | fromdateiso8601 + 900 | todateiso8601 ),
value: (.pv_power | round )
}
] | tostring
7 changes: 5 additions & 2 deletions templates/definition/tariff/pvnode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ params:
required: true
- name: forecast_days
description:
en: Forecast days (free plan = 1).
de: Vorhersagetage (Free Plan = 1).
en: Forecast days
de: Vorhersagetage
help:
en: The free plan of pvnode only allows 1 forecast day.
de: Der kostenlose Plan von pvnode erlaubt nur 1 Vorhersagetag.
type: int
default: 1
advanced: true
Expand Down
Loading