Skip to content

Energy-Charts - no more data in tariff / HASS #24734

Description

@Watchdog3

Describe the bug

Hi, ich nutze evcc 0.209.3 in Home Assistant.
Ich habe die dynamischen Tarife auf Basis von energy-charts konfiguriert. Nun scheinen aber keine Daten mehr reinzukommen. In der Vorhersage ist die Preis-Kategorie nicht mehr auswählbar.

Hier der Auszug aus der Konfig:

grid: # price using energy from the grid type: template template: energy-charts-api bzn: DE-LU # Gebotszone, siehe https://api.energy-charts.info/#/prices/day_ahead_price_price_get #charges: 0.168 # Fester Aufschlag pro kWh (z. B. 20ct Netzentgelt, 2ct Gebühren) charges: 0.13371 #lt chatgpt tax: 0.19 # Prozentualer Aufschlag (z. B. 19% MwSt.)

Hat das Problem sonst noch jemand?
Einziger Fehler aktuell ist wohl eine "token expired" bei der Verbindung zum Citroën ë C4

Besten Dank im Voraus.

Steps to reproduce

...

Configuration details

grid: # price using energy from the grid
  #type: fixed
  #price: 0.268 # EUR/kWh
  type: template
  template: energy-charts-api
  bzn: DE-LU # Gebotszone, siehe https://api.energy-charts.info/#/prices/day_ahead_price_price_get
  #charges: 0.168 # Fester Aufschlag pro kWh (z. B. 20ct Netzentgelt, 2ct Gebühren)
  charges: 0.13371 #lt chatgpt 
  tax: 0.19 # Prozentualer Aufschlag (z. B. 19% MwSt.)`

Log details

[main ] INFO 2025/10/25 16:59:27 evcc 0.209.3
[main ] INFO 2025/10/25 16:59:27 using config file: /config/evcc.yaml
[db ] INFO 2025/10/25 16:59:27 using sqlite database: /data/evcc.db
[mqtt ] INFO 2025/10/25 16:59:27 connecting evcc at tcp://192.168.178.135:1883
[main ] INFO 2025/10/25 16:59:27 UI listening at :7070
[mqtt ] DEBUG 2025/10/25 16:59:27 tcp://192.168.178.135:1883 connected
[main ] ERROR 2025/10/25 16:59:27 creating vehicle my_car failed: cannot create vehicle type 'template': cannot create vehicle type 'citroen': token expired
[tariff] DEBUG 2025/10/25 16:59:27 using cache: grünstromindex-e7cf38c594fd9bb4329fa300c449c2815ed575933443e9ca9f6f996b601faa93 (start: 2025-10-25 16:00:00 +0200 CEST, end: 2025-10-30 00:00:00 +0100 CET)
[tariff] ERROR 2025/10/25 16:59:27 jq: query failed: cannot divide: null and number (1000)
[main ] ERROR 2025/10/25 16:59:27 creating tariff grid failed: cannot create tariff type 'template': cannot create tariff type 'custom': jq: query failed: cannot divide: null and number (1000)
[lp-2 ] DEBUG 2025/10/25 16:59:27 charge total import: 0.000kWh
[site ] INFO 2025/10/25 16:59:28 site config:
[site ] INFO 2025/10/25 16:59:28 meters: grid ✓ pv ✓ battery ✓
[site ] INFO 2025/10/25 16:59:28 grid: power ✓ energy ✗ currents ✗
[site ] INFO 2025/10/25 16:59:28 pv 1: power ✓ energy ✗ currents ✗
[site ] INFO 2025/10/25 16:59:28 battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✗
[site ] INFO 2025/10/25 16:59:28 vehicles:
[site ] INFO 2025/10/25 16:59:28 vehicle 1: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[site ] INFO 2025/10/25 16:59:28 tariffs:
[site ] INFO 2025/10/25 16:59:28 grid: TariffType(0)
[site ] INFO 2025/10/25 16:59:28 feed-in: pricestatic
[site ] INFO 2025/10/25 16:59:28 co2: ✓
[site ] INFO 2025/10/25 16:59:28 solar: ✓
[lp-1 ] INFO 2025/10/25 16:59:28 loadpoint 1:
[lp-1 ] INFO 2025/10/25 16:59:28 mode: off
[lp-1 ] INFO 2025/10/25 16:59:28 charger: power ✓ energy ✗ currents ✓ phases ✗ wakeup ✗
[lp-1 ] INFO 2025/10/25 16:59:28 meters: charge ✓
[lp-1 ] INFO 2025/10/25 16:59:28 charge: power ✓ energy ✗ currents ✓
[lp-2 ] INFO 2025/10/25 16:59:28 loadpoint 2:
[lp-2 ] INFO 2025/10/25 16:59:28 mode: pv
[lp-2 ] INFO 2025/10/25 16:59:28 charger: power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-2 ] INFO 2025/10/25 16:59:28 meters: charge ✓
[lp-2 ] INFO 2025/10/25 16:59:28 charge: power ✓ energy ✓ currents ✗
[site ] DEBUG 2025/10/25 16:59:28 set buffer soc: 85
[site ] DEBUG 2025/10/25 16:59:28 set buffer start soc: 90
[site ] DEBUG 2025/10/25 16:59:28 set priority soc: 80
[site ] DEBUG 2025/10/25 16:59:28 set residual power: 100
[site ] DEBUG 2025/10/25 16:59:28 set grid charge limit: 0.1
[site ] DEBUG 2025/10/25 16:59:28 accumulated solar yield: restored 115.300kWh forecasted, map[my_pv:{clock:<nil> updated:{wall:0 ext:0 loc:<nil>} meter:<nil> Accumulated:86.99001160448483}] produced
[site ] DEBUG 2025/10/25 16:59:28 solar forecast: accumulated 9.049Wh from 0001-01-01 00:00:00 +0000 UTC to 2025-10-25 16:59:28 +0200 CEST
[site ] DEBUG 2025/10/25 16:59:28 solar forecast: produced 86.990
[site ] DEBUG 2025/10/25 16:59:28 solar forecast: accumulated 115.300kWh, produced 86.990kWh, scale 0.754
[lp-1 ] DEBUG 2025/10/25 16:59:28 set smart cost limit: 55.0
[lp-1 ] DEBUG 2025/10/25 16:59:28 phase timer inactive
[lp-1 ] DEBUG 2025/10/25 16:59:28 pv timer inactive
[lp-1 ] INFO 2025/10/25 16:59:28 vehicle updated: unknown -> ë-C4
[lp-2 ] DEBUG 2025/10/25 16:59:29 set smart cost limit: 0.1
[lp-2 ] DEBUG 2025/10/25 16:59:29 phase timer inactive
[lp-2 ] DEBUG 2025/10/25 16:59:29 pv timer inactive
[site ] DEBUG 2025/10/25 16:59:29 ----
[lp-2 ] DEBUG 2025/10/25 16:59:29 charge power: 0W
[lp-1 ] DEBUG 2025/10/25 16:59:29 charge power: 0W
[lp-1 ] DEBUG 2025/10/25 16:59:29 charge currents: [0 0 0]A
[site ] DEBUG 2025/10/25 16:59:29 grid power: 26W
[site ] DEBUG 2025/10/25 16:59:29 battery 1 power: 916W
[site ] DEBUG 2025/10/25 16:59:29 pv 1 power: 455W
[site ] DEBUG 2025/10/25 16:59:29 !! solar production: accumulate add my_pv 0.000W power (was: Accumulated: 86.990kWh updated: 0001-01-01 00:00:00 +0000 UTC)
[site ] DEBUG 2025/10/25 16:59:29 !! solar production: accumulate moved my_pv from 86.990 to 86.990
[site ] DEBUG 2025/10/25 16:59:29 battery 1 soc: 7%
[site ] DEBUG 2025/10/25 16:59:29 site power: 1042W
[lp-1 ] DEBUG 2025/10/25 16:59:29 charger status: A
[lp-1 ] INFO 2025/10/25 16:59:29 car disconnected
[lp-1 ] DEBUG 2025/10/25 16:59:29 set battery boost: false
[lp-1 ] DEBUG 2025/10/25 16:59:29 set session soc limit: 0
[lp-1 ] DEBUG 2025/10/25 16:59:29 set session energy limit: 0
[site ] DEBUG 2025/10/25 16:59:29 solar forecast: accumulated 0.000Wh from 2025-10-25 16:59:28 +0200 CEST to 2025-10-25 16:59:29 +0200 CEST
[site ] DEBUG 2025/10/25 16:59:29 solar forecast: produced 86.990
[site ] DEBUG 2025/10/25 16:59:29 solar forecast: accumulated 115.300kWh, produced 86.990kWh, scale 0.754
[site ] DEBUG 2025/10/25 16:59:59 ----
[lp-2 ] DEBUG 2025/10/25 16:59:59 charge power: 0W
[lp-1 ] DEBUG 2025/10/25 16:59:59 charge power: 0W
[lp-1 ] DEBUG 2025/10/25 16:59:59 charge currents: [0 0 0]A
[site ] DEBUG 2025/10/25 16:59:59 battery 1 power: 897W
[site ] DEBUG 2025/10/25 16:59:59 pv 1 power: 502W
[site ] DEBUG 2025/10/25 16:59:59 !! solar production: accumulate add my_pv 0.000W power (was: Accumulated: 86.990kWh updated: 2025-10-25 16:59:29 +0200 CEST)
[site ] DEBUG 2025/10/25 16:59:59 !! solar production: accumulate moved my_pv from 86.990 to 86.994
[site ] DEBUG 2025/10/25 16:59:59 grid power: 21W
[site ] DEBUG 2025/10/25 16:59:59 battery 1 soc: 7%
[site ] DEBUG 2025/10/25 16:59:59 site power: 1018W
[lp-2 ] DEBUG 2025/10/25 16:59:59 charge total import: 0.000kWh
[lp-2 ] DEBUG 2025/10/25 16:59:59 charger status: B
[lp-2 ] DEBUG 2025/10/25 16:59:59 charge start energy: 0.000kWh
[lp-2 ] INFO 2025/10/25 16:59:59 car connected
[lp-2 ] DEBUG 2025/10/25 16:59:59 pv timer elapse
[lp-2 ] DEBUG 2025/10/25 16:59:59 pv timer inactive
[lp-2 ] DEBUG 2025/10/25 16:59:59 charge total import: 0.000kWh
[lp-2 ] DEBUG 2025/10/25 16:59:59 charge final energy: 0.000kWh
[lp-2 ] DEBUG 2025/10/25 16:59:59 charge total import: 0.000kWh
[lp-2 ] DEBUG 2025/10/25 16:59:59 pv charge current: 0A = 0A + -1.48A (1018W @ 3p)
[lp-2 ] DEBUG 2025/10/25 16:59:59 pv enable timer reset
[lp-2 ] DEBUG 2025/10/25 16:59:59 pv timer inactive
[site ] DEBUG 2025/10/25 16:59:59 solar forecast: accumulated 0.013Wh from 2025-10-25 16:59:29 +0200 CEST to 2025-10-25 16:59:59 +0200 CEST
[site ] DEBUG 2025/10/25 16:59:59 solar forecast: produced 86.994
[site ] DEBUG 2025/10/25 16:59:59 solar forecast: accumulated 115.313kWh, produced 86.994kWh, scale 0.754

What type of operating system or environment does evcc run on?

HomeAssistant Add-on

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

0.209.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    tariffsSpecific tariff support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions