Hilfe bei EVCC und MQTT

Hallo,

Ich hab nun schon einiges gelesen und komm seit Tagen leider nicht weiter.

ich hab HA soweit am laufen und versuche nun verzweifelt PV Überschuss mit EVCC zum laufen zu bekommen. Problem ist das EVCC einfach nicht startet und meine Wallbox nicht findet. Die Wallbox (Warp2) wird aber im MQTT erkannt.
EVCC findet vermutlich MQTT nicht. Hab eigentlich alles eingetragen in der evcc yaml. Bin nach der beispieldatei vorgegangen.

Für Hilfe wäre ich sehr dankbar und nebenbei… Bin da ein absoluter Anfänger :wink:

Keine Verbindung zum Server.Erneut laden?

FEHLER BEIM STARTEN

cannot create charger 'my_charger'cannot create charger 'template'cannot create charger 'warp2'error connectingnot Authorized

Bitte überprüfe deine Konfigurationsdatei. Sollte dir die Fehlermeldung nicht weiterhelfen, suche in unseren GitHub Diskussionen nach einer Lösung.

Hinweis: Ein weiterer Grund könnte ein fehlerhaftes Gerät (Wechselrichter, Zähler, …) sein. Überprüfe deine Netzwerkverbindungen.

Konfiguration

Verwendete Konfigurationsdatei: /config/evcc.yamlBehebe das Problem und starte den Server neu.

Neu starten

network: # schema is the HTTP schema # setting to httpsdoes 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: homeassistant.local
# port is the listening port for UI and api
# evcc will listen on all available interfaces
port: 7070

interval: 10s # control cycle interval

database configuration for persisting charge sessions and settings

database:

type: sqlite

dsn:

sponsor token: ***** # sponsortoken: *****

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,

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

meter definitions

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

meters:
- name: my_grid
type: template
template: solax
usage: grid

  # RS485 via TCP/IP (Modbus RTU)
  modbus: rs485tcpip
  id: 1
  host: 192.168.178.101 # Hostname
  port: 502 # Port

charger definitions

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

for documentation see Wallboxen | evcc - Sonne tanken ☀️🚘

chargers:
- name: my_charger
type: template
template: tinkerforge-warp
host: homeassistant.local # IP Adresse oder der Hostname des MQTT Brokers
port: 1883 # MQTT Broker Port (optional)
topic: warp2/28kF # Topic (ohne / am Anfang) (optional)
energymanager: # EnergyManager MQTT Topic (falls installiert) (optional)

vehicle definitions

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

vehicles:
- name: my_car
type: template
template: vw
title: E-UP # Wird in der Benutzeroberfläche angezeigt (optional)
user: ***** password: ***** vin: ***** capacity: 32 # Akkukapazität in kWh (optional)

site describes the EVU connection, PV and home battery

site:
title: Home # 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: 0 # additional household usage margin
prioritySoc: 0 # give home battery priority up to this soc (empty to disable)
bufferSoc: 0 # continue charging on battery above soc (0 to disable)
bufferStartSoc: 0 # start charging on battery above soc (0 to disable)
maxGridSupplyWhileBatteryCharging: 0 # ignore battery charging if AC consumption is above this value
smartCostLimit: 0 # set cost limit for automatic charging in PV mode

loadpoint describes the charger, charge meter and connected vehicle

loadpoints:
- title: Garage # display name for UI
charger: my_charger # charger
meter: charge # charge meter
mode: “off” # set default charge mode, use “off” to disable by default if charger is publicly available
# vehicle: car1 # set default vehicle (disables vehicle detection)
resetOnDisconnect: true # set defaults when vehicle disconnects
phases: 3 # 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.355 # EUR/kWh
zones:
- days: Mon-Fri
hours: 2-5
price: 0.2 # EUR/kWh
- days: Sat,Sun
price: 0.15 # EUR/kWh

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

  # type: awattar
  # region: de # optional, choose at for Austria
  # charges: # optional, additional charges per kWh
  # tax: # optional, additional tax (0.1 for 10%)

  # type: octopusenergy
  # tariff: AGILE-FLEX-22-11-25 # Tariff code
  # region: A # optional

  # type: elering # Nordpool
  # region: ee # or lt, lv, fi
  # charges: # optional, additional charges per kWh
  # tax: # optional, additional tax (0.1 for 10%)

  # type: energinet # Energinet using the price in DKK
  # region: dk1 # or dk2
  # charges: # optional, additional charges per kWh
  # tax: # optional, additional tax (0.1 for 10%)
feedin:
  # rate for feeding excess (pv) energy to the grid
  type: fixed
  price: 0.08 # EUR/kWh

  # type: octopusenergy
  # tariff: AGILE-FLEX-22-11-25 # Tariff code
  # region: A # optional
co2:
  # co2 tariff provides co2 intensity forecast and is for co2-optimized target charging if no variable grid tariff is specified
  # type: grünstromindex # GrünStromIndex (Germany only)
  # zip: <zip>

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

  # type: ngeso # National Grid Electricity System Operator data (United Kingdom only) https://carbonintensity.org.uk/
  # provides national data if both region and postcode are omitted - do not supply both at the same time!
  # region: 1 # optional, coarser than using a postcode - see https://api.carbonintensity.org.uk/ for full list
  # postcode: SW1A1AA # optional

mqtt message broker

mqtt:
# broker: homeassistant.local:1883
# topic: evcc # root topic for publishing, set empty to disable
# user: ***** # password: *****

influx database

influx:
# url:
# 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: ***** # recipients: ***** # - # list of recipient ids
# - type: telegram
# token: ***** # chats: ***** # - # list of chat ids
# - type: email
# uri: smtp://<user: ***** # - type: ntfy
# uri: https:///
# priority:
# tags: `

English only please: https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#zero-language-3