Hallo,
ich bin recht neu hier und habe das EVCC And-On 0.133.0 unter HA Core 2025.1.4 installiert.
Die Benutzeroberfläche von EVCC startet nicht.
Ich habe folgendes Setup
- Fritz!Box
- Sonnenbatterie Eco 8.0 15kwh
- 2 Wechselrichter von SolarEdge SE7K
- Wallbox EvBox Elvi
- Audi Q4 e-tron
- PV: 12,45 kWp
Da die Sonnenbatterie alle Daten bzgl. PV-Erzeugung, Verbrauch, Netzbezug und Netzeinspeisung hat, habe ich diese in der evcc.yaml entsprechend konfiguriert.
EVCC startet auch (so denke ich). Allerdings startet die Benutzeroberfläche nicht.
Im Protokoll erscheint auch kein echter Fehler:
Using config file: /config/evcc.yaml
starting evcc: ‘EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml’
[main ] INFO 2025/02/04 15:42:21 evcc 0.133.0
[main ] INFO 2025/02/04 15:42:21 using config file: /config/evcc.yaml
[db ] INFO 2025/02/04 15:42:21 using sqlite database: /data/evcc.db
[main ] INFO 2025/02/04 15:42:21 listening at :7070
Die Syntax von evcc.yaml habe ich mit einem Tool geprüft.
Ich weiß nun wirklich nicht mehr, was ich da tun soll. Von daher lobe ich ein Bier für eine Hilfe aus!
so sieht meine ivcc.yaml aus (token und IPs verändert):
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: 192.168.178.99
# port is the listening port for UI and api
# evcc will listen on all available interfaces
port: 7070
interval: 30s #control cycle interval. Interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
# database configuration for persisting charge sessions and settings
# database:
# type: sqlite
# dsn: <path-to-db-file>
# Das ist der Test-Token von EVCC. sponsor token enables optional features (request at https://sponsor.evcc.io)
sponsortoken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJldmNjLmlvIiwic3ViIjoidHJpYWwiLCJleHAiOjE3MzkxOTk2MDAsImlhdCI6MTczNzkwMzYwMCwic3BlIjp0cnVlLCJzcmMiOiJtYSJ9.b8CUS1bRXE3ZxquNT4T03O_jqfqWf9RAZ2FlgL2PujY
# 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 # use `deny` to raise modbus errors
# 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## minimal configuration example
site:
title: Home # display name for UI
meters:
grid: my_grid
pv: my_pv
battery: my_battery
# define your loadpoints according your needs
# see https://docs.evcc.io/en/docs/reference/configuration/loadpoints
loadpoints:
- title: Garage # display name for UI
charger: my_charger # charger
vehicle: my_car # default vehicle
# 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:
# replace with your real grid meter
- name: my_grid
type: template
template: sonnenbatterie
usage: grid
host: 192.168.178.25 # IP-Adresse oder Hostname
token: abc-defg-hij-xyz-12345678
- name: my_pv
type: template
template: sonnenbatterie
usage: pv
host: 192.168.178.25 # IP-Adresse oder Hostnam
token: abc-defg-hij-xyz-12345678
# replace with your real battery
- name: my_battery
type: template
template: sonnenbatterie
usage: battery
host: 192.168.178.25 # IP-Adresse oder Hostname
# port: 8080 # Port (optional)
token: 5abc-defg-hij-xyz-12345678 # API Token (benötigt für aktive Batteriesteuerung) (optional)
# replace with your real charger
# see https://docs.evcc.io/docs/devices/chargers
chargers:
- name: my_charger
type: template
template: elvi
stationid: EVB-P1234567 # Station ID des Ladepunktes. Nur erforderlich wenn mehrere OCPP-Ladestationen eingerichtet sind um diese korrekt zuzuweisen. Eine einzelne OCPP-Ladestation kann auch automatisch zugeordnet werden. Hinweis: In Ausnahmefällen kann es erforderlich sein, diese ID manuell an die OCPP-URL der Ladestation in der Form ws://<evcc-adresse>:8887/<stationid> anzuhängen. Die meisten Ladestationen fügen die ID intern automatisch hinzu. (optional)
# replace with your real vehicle (optional)
# see https://docs.evcc.io/docs/devices/vehicles
vehicles:
- name: my_car
type: template
template: audi
user: jodl29 # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
password: dasPasswort# Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
title: # Wird in der Benutzeroberfläche angezeigt (optional)
capacity: 77 # Akkukapazität in kWh (optional)
# enter your real grid tariff and feed-in price
# see https://docs.evcc.io/docs/devices/tariffs
tariffs:
currency: EUR
grid:
type: fixed
price: 0.25 # EUR/kWh
feedin:
type: fixed
price: 0.10 # EUR/kWh