evcc icon indicating copy to clipboard operation
evcc copied to clipboard

HA Addon 0.209.6 doesnt start

Open domii666 opened this issue 1 year ago • 16 comments

Describe the bug

Hello,

i updated from 0.209.4 to 0.209.6. after this update EVCC doesnt start. the logfiles are empty.

Installationsmethode Home Assistant OS Core 2025.10.4 Supervisor 2025.10.0 Operating System 16.2 Frontend 20251001.4

Steps to reproduce

...

Configuration details

...

Log details

no info in the log.

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

HomeAssistant Add-on

External automation

  • [x] 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

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

Version

0.209.6

domii666 avatar Nov 02 '25 18:11 domii666

Pls post your addon config

thecem avatar Nov 02 '25 18:11 thecem

Same here

hazy66 avatar Nov 02 '25 18:11 hazy66

Hallo @thecem, same problem here too.

ENV: Home Assistant OS 2025.10.4 evcc Add-on 0.209.6

Config UI:


{
  "site": {
    "title": "",
    "grid": "db:1",
    "pv": ["db:13","db:16"],
    "battery": ["db:14","db:15"],
    "aux": null,
    "ext": null
  },
  "loadpoints": [
    {"id":3,"name":"db:3","charger":"db:2","vehicle":"db:21","title":"Wallbox EM2GO Home","defaultMode":"pv","priority":0,"phasesConfigured":3,"minCurrent":6,"maxCurrent":16,"smartCostLimit":0.16,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}},
    {"id":8,"name":"db:8","charger":"db:17","vehicle":"db:22","title":"Wallbox Luis","defaultMode":"pv","priority":0,"phasesConfigured":1,"minCurrent":10,"maxCurrent":16,"smartCostLimit":0.16,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}},
    {"id":19,"name":"db:19","charger":"db:24","vehicle":"db:20","title":"Fahrradraum","defaultMode":"","priority":0,"phasesConfigured":1,"minCurrent":0.6,"maxCurrent":2,"smartCostLimit":0.16,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
  ],
  "charger": [
    {"config":{"ain":"***","password":"***","standbypower":"15","template":"fritzdect","uri":"https://192.168.2.254","user":"Homeassistant"},"deviceProduct":"FRITZ! FRITZ!Smart Energy 210","id":17,"name":"db:17","type":"template"},
    {"config":{"power":"sensor.smart_switch_2304127313133351080248e1e9c3d577_power","standbypower":"15","switch":"switch.smart_switch_2304127313133351080248e1e9c3d577_outlet","template":"homeassistant-switch","token":"***","uri":"http://homeassistant.local:8123"},"deviceProduct":"Home Assistant Schalter","id":24,"name":"db:24","type":"template"},
    {"config":{"host":"192.168.2.20","template":"em2go-home"},"deviceProduct":"EM2GO Home","id":2,"name":"db:2","type":"template"}
  ],
  "meter": [
    {"config":{"channel":"0","host":"192.168.2.87","password":"***","template":"shelly-1pm","usage":"grid","user":"censored"},"deviceProduct":"Shelly 1PM, EM, Plug S, Pro 3EM in monophase mode","id":1,"name":"db:1","type":"template"},
    {"config":{"account":"censored","capacity":"2","region":"Global","serial":"censored","template":"zendure","timeout":43200000000000,"usage":"pv"},"deviceProduct":"Zendure Hyper 2000","deviceTitle":"Hyper 2000","id":13,"name":"db:13","type":"template"},
    {"config":{"account":"censored","capacity":"2","region":"Global","serial":"censored","template":"zendure","timeout":43200000000000,"usage":"pv"},"deviceProduct":"Zendure Hyper 2000","deviceTitle":"Hub 2000","id":16,"name":"db:16","type":"template"},
    {"config":{"account":"censored","capacity":6,"region":"Global","serial":"censored","template":"zendure","timeout":43200000000000,"usage":"battery"},"deviceProduct":"Zendure Hyper 2000","deviceTitle":"Hyper 2000 Akkupack","id":14,"name":"db:14","type":"template"},
    {"config":{"account":"censored","capacity":3,"region":"Global","serial":"censored","template":"zendure","timeout":43200000000000,"usage":"battery"},"deviceProduct":"Zendure Hyper 2000","deviceTitle":"Hub 2000 Akkupack","id":15,"name":"db:15","type":"template"}
  ],
  "vehicle": [
    {"config":{"capacity":2,"icon":"bike","phases":"1","template":"offline","title":"Fahrradakkus"},"deviceProduct":"Generisches Fahrzeug (ohne API)","id":20,"name":"db:20","type":"template"},
    {"config":{"capacity":84,"clientid":"censored","icon":"car","maxCurrent":16,"minCurrent":6,"mode":"","phases":"","template":"cardata","title":"BMW i4M50","vin":"censored","welcomecharge":true},"deviceProduct":"BMW CarData (EU Data Act)","id":21,"name":"db:21","type":"template"},
    {"config":{"capacity":12,"clientid":"censored","icon":"car","maxCurrent":16,"minCurrent":6,"phases":"1","template":"cardata","title":"BMW 320E","vin":"censored"},"deviceProduct":"BMW CarData (EU Data Act)","id":22,"name":"db:22","type":"template"}
  ],
  "tariffs": "currency: EUR

#grid: # price using energy from the grid
#  type: fixed
#  price: 0.2708 # EUR/kWh

grid: #
  type: fixed
  price: 0.2835  # Standardpreis in EUR/kWh
  zones: #
    - days: Mo-So
      hours: 00-05
      price: 0.1591  # Günstiger Nachtpreis

feedin: # price for feeding solar energy to the grid
  type: fixed
  price: 0.00 # EUR/kWh

#co2: # carbon intensity forecast
#  type: template
#  template: grünstromindex
#  zip: <zip>

#solar: # list of pv generation forecast (additive)
#- type: template
#  template: solcast
#  site: <site>
#  token: <token>"
} 

ghost-ps avatar Nov 02 '25 18:11 ghost-ps

Could you pls post your addon config? In HA -> settings -> addons -> evcc Addon -> Konfiguration -> yaml

thecem avatar Nov 02 '25 18:11 thecem

@thecem, who is meant?

ghost-ps avatar Nov 02 '25 18:11 ghost-ps

@ghost-ps you posted the evcc config not the addon config like:

sqlite_file: /data/evcc.db
config_file: /config/evcc.yaml

thecem avatar Nov 02 '25 19:11 thecem

Looks Like the Config db cannot load. Switching back to evcc.yaml as config, the addon starts

hazy66 avatar Nov 02 '25 19:11 hazy66

https://github.com/evcc-io/evcc/issues/24900

thecem avatar Nov 02 '25 19:11 thecem

network:

schema is the HTTP schema

setting to https does not enable https, it only changes the way URLs are generated

schema: http

host is the hostname or IP address

if the host name contains a .local suffix, the name will be announced on MDNS

docker: MDNS announcements don't work. host must be set to the docker host's name.

host: evcc.local

port is the listening port for UI and api

evcc will listen on all available interfaces

port: 7070

interval: 15s # control cycle interval

database configuration for persisting charge sessions and settings

database:

type: sqlite

dsn:

sponsor token enables optional features (request at https://sponsor.evcc.io)

sponsortoken:token

telemetry enables aggregated statistics

Telemetry allows collecting usage data (grid and green energy, charge power).

Data is aggregated, no individual charging sessions are tracked. The collected,

anonymous data can be retrieved using https://api.evcc.io.

See https://github.com/evcc-io/evcc/pull/4343 or details.

For time being, this is only available to sponsors, hence data is associated with

the sponsor token's identity.

telemetry: true

log settings

log: info levels: site: debug lp-1: debug lp-2: debug cache: error db: error

modbus proxy for allowing external programs to reuse the evcc modbus connection

each entry will start a proxy instance at the given port speaking Modbus TCP and

relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)

modbusproxy:

- port: 5200

uri: solar-edge:502

# rtu: true

# readonly: true

meter definitions

name can be freely chosen and is used as reference when assigning meters to site and loadpoints

for documentation see https://docs.evcc.io/docs/devices/meters

meters:

  • name: my_grid type: template template: victron-energy usage: grid host: 192.168.1.34 port: 502 # Port (Optional)
  • name: my_pv type: template template: victron-energy usage: pv host: 192.168.1.34 port: 502 # Port (Optional)
  • name: my_battery type: template template: victron-energy usage: battery host: 192.168.1.34 port: 502 # Port (Optional)

charger definitions

name can be freely chosen and is used as reference when assigning charger to vehicle

for documentation see https://docs.evcc.io/docs/devices/chargers

chargers:

  • name: charger type: template template: go-e-v3 host: 192.168.1.243 # IP-Adresse oder Hostname

  • name: charger2 type: template template: go-e-v3 host: 192.168.1.51 # IP-Adresse oder Hostname

vehicle definitions

name can be freely chosen and is used as reference when assigning vehicle to loadpoint

for documentation see https://docs.evcc.io/docs/devices/vehicles

vehicles:

  • name: my_car type: template template: tesla title: Model_Y # Wird in der Benutzeroberfläche angezeigt (Optional) clientId: token accessToken: token refreshToken: token

#vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (Optional)

#capacity: 75 # Akkukapazität in kWh (Optional) 
#minSoC: 10
#targetSoC: 80

site describes the EVU connection, PV and home battery

site: title: EVCC # display name for UI meters: grid: my_grid # grid meter pv: - my_pv # list of pv inverters/ meters battery: - my_battery # list of battery meters #aux: # - aux # list of auxiliary meters for adjusting grid operating point residualPower: # additional household usage margin prioritySoc: # give home battery priority up to this soc (empty to disable) bufferSoc: # ignore home battery discharge above soc (empty to disable) maxGridSupplyWhileBatteryCharging: # ignore battery charging if AC consumption is above this value smartCostLimit: # set cost limit for automatic charging in PV mode

loadpoint describes the charger, charge meter and connected vehicle

loadpoints:

  • title: Hof # display name for UI charger: charger # charger #meter: grid # charge meter mode: pv vehicle: my_car # set default vehicle (disables vehicle detection) #resetOnDisconnect: true # set defaults when vehicle disconnects phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases) #minCurrent: 6 # minimum charge current (default 6A) #maxCurrent: 16 # maximum charge current (default 16A)

  • title: Garage # display name for UI charger: charger2 # charger #meter: grid # charge meter mode: pv vehicle: my_car # set default vehicle (disables vehicle detection) #resetOnDisconnect: true # set defaults when vehicle disconnects phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases) #minCurrent: 6 # minimum charge current (default 6A) #maxCurrent: 16 # maximum charge current (default 16A)

    remaining settings are experts-only and best left at default values

    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority) soc:

    polling defines usage of the vehicle APIs

    Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery

    or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.

    poll: # poll mode defines under which condition the vehicle API is called: # charging: update vehicle ONLY when charging (this is the recommended default) # connected: update vehicle when connected (not only charging), interval defines how often # always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle) mode: charging # poll interval defines how often the vehicle API may be polled if NOT charging interval: 60m estimate: true # set false to disable interpolating between api updates (not recommended) enable: # pv mode enable behavior delay: 1m # threshold must be exceeded for this long threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable disable: # pv mode disable behavior delay: 3m # threshold must be exceeded for this long threshold: 0 # maximum import power (W) guardDuration: 5m # switch charger contactor not more often than this (default 5m)

tariffs are the fixed or variable tariffs

tariffs: currency: EUR # three letter ISO-4217 currency code (default EUR) grid: # either static grid price (or price zones) type: fixed price: 0.26 # EUR/kWh zones: - days: Mo-Fr hours: 2-5 price: 0.26 # EUR/kWh - days: Sa,So price: 0.26 # EUR/kWh

# # or variable via tibber
# type: tibber
# token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
# homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

# # or variable via awattar
# type: awattar
# region: de # optional, choose at for Austria

feedin: # rate for feeding excess (pv) energy to the grid type: fixed price: 0.08 # EUR/kWh planner: # planner tariff can be used for target charging if not grid tariff is specified

# GrünStromIndex (Germany only) or ElectricityMaps provide CO2 intensity forecast

# type: grünstromindex
# zip: <zip>

# type: electricitymaps
# uri: <uri>
# token: <token>
# zone: DE

# # or variable Nordpool via elering.ee (only for LT, LV, EE, FI)
# type: elering
# region: ee # or lt, lv, fi

mqtt message broker

mqtt: broker: localhost:1883 topic: evcc # root topic for publishing, set empty to disable user: user password: password

influx database

influx:

url: http://localhost:8086

database: evcc

user:

password:

eebus credentials

eebus:

uri: # :4712

interfaces: # limit eebus to specific network interfaces

- en0

certificate: # local signed certificate, required, can be generated via evcc eebus-cert

public: # public key

private: # private key

push messages

messaging: events: start: # charge start event title: Charge started msg: Started charging in "${mode}" mode stop: # charge stop event title: Charge finished msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}. connect: # vehicle connect event title: Car connected msg: "Car connected at ${pvPower:%.1fk}kW PV" disconnect: # vehicle connected event title: Car disconnected msg: Car disconnected after ${connectedDuration} soc: # vehicle soc update event title: Soc updated msg: Battery charged to ${vehicleSoc:%.0f}% guest: # vehicle could not be identified title: Unknown vehicle msg: Unknown vehicle, guest connected? services:

- type: pushover

app: # app id

recipients:

- # list of recipient ids

- type: telegram

token: # bot id

chats:

- # list of chat ids

- type: email

uri: smtp://:@:/?fromAddress=&toAddresses=

- type: ntfy

uri: https:///

priority:

tags:

domii666 avatar Nov 02 '25 19:11 domii666

#24900

doesnt work.

domii666 avatar Nov 02 '25 19:11 domii666

  1. post your addon config
  2. post NOT evcc config

example:

Image

thecem avatar Nov 02 '25 19:11 thecem

under /addon_configs/49686a9f_evcc/evcc.yaml its the same.

EDIT:

sqlite_file: /data/evcc.db

Image

domii666 avatar Nov 02 '25 19:11 domii666

@thecem, sorry, I thought that was standard with Home Assistant.

config_file: /config/evcc.yaml
sqlite_file: /data/evcc.db

ghost-ps avatar Nov 02 '25 19:11 ghost-ps

@domii666

add:

config_file: /config/evcc.yaml

thecem avatar Nov 02 '25 19:11 thecem

@domii666

add:

config_file: /config/evcc.yaml

added but.

Using config file: config_file: /config/evcc.yaml Config not found. Please create a config under config_file: /config/evcc.yaml. For details see evcc documentation at https://github.com/evcc-io/evcc#readme.

must be added under /addon_configs/49686a9f_evcc/evcc.yaml ?

edit: my fault. /config/evcc.yaml now it works!

thank you! but i didnt change anything in the addon config before the update.

domii666 avatar Nov 02 '25 19:11 domii666

https://docs.evcc.io/docs/installation/home-assistant

pls close here

thecem avatar Nov 03 '25 05:11 thecem