diff --git a/templates/definition/tariff/electricitymaps-free.yaml b/templates/definition/tariff/electricitymaps-free.yaml new file mode 100644 index 000000000..b1f044bd7 --- /dev/null +++ b/templates/definition/tariff/electricitymaps-free.yaml @@ -0,0 +1,28 @@ +template: electricitymaps-free +products: + - brand: Electricity Maps + description: + generic: Free API +requirements: + description: + de: "CO₂-Daten für viele Länder von https://electricitymaps.com/. Der 'Free Personal Tier' beinhaltet leider keine Prognosedaten. Dafür benötigst du einen kommerziellen Account von https://api-portal.electricitymaps.com/. Kostenloser Testmonat verfügbar." + en: "CO₂ data for many countries from https://electricitymaps.com/. The 'Free Personal Tier' unfortunately does not include forecast data. You'll need a commercial account from https://api-portal.electricitymaps.com/. Free trial available." + evcc: ["skiptest"] +group: co2 +params: + - name: token + required: true + - name: zone + required: true + example: "DE" + help: + de: "siehe https://api.electricitymap.org/v3/zones" + en: "see https://api.electricitymap.org/v3/zones" +render: | + type: custom + price: + source: http + uri: https://api.electricitymap.org/v3/carbon-intensity/latest?zone={{ .zone }} + headers: + - auth-token: {{ .token }} + jq: .carbonIntensity