evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.56k stars 660 forks source link

Failure happened: sending of fullStatus still in progress, paralell not allowed anymore! Wattpilot #14967

Closed Xerenas closed 3 months ago

Xerenas commented 3 months ago

Describe the bug

I am currently experiencing issues with the connection between EVCC and my 'Wattpilot'. When switching from 'Off' to 'PV' and vice versa, the following message always appears: [lp-1 ] ERROR 2024/07/22 09:16:26 charger status: could not find value of car. EVCC only works again after a restart, which needs to be performed two to three times. Charging at a lower electricity rate does not work either.

Steps to reproduce

When switching from 'Off' to 'PV' and vice versa, the following message always appears: [lp-1 ] ERROR 2024/07/22 09:16:26 charger status: could not find value of car. EVCC only works again after a restart.

Configuration details

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.xxxx
  # 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: /data/evcc.db

# sponsor token enables optional features (request at https://sponsor.evcc.io)
# 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,
# 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
meters:
  - name: my_grid
    type: template
    template: fronius-solarapi-v1
    usage: grid
    host: 192.168.1xxxx# IP-Adresse oder Hostname
    user: technician # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) (optional)
    password: xxxxxxxxxxx # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) (optional)
  - name: my_pv
    type: template
    template: fronius-solarapi-v1
    usage: pv
    host: 192.168.xxxx # IP-Adresse oder Hostname
    user: technician # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) (optional)
    password: xxxxxx # Port (optional) 
  - name: my_battery
    type: template
    template: fronius-solarapi-v1
    usage: battery
    host: 192.168.xxx # IP-Adresse oder Hostname
    user: technician # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) (optional)
    password: xxxxx # 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: wattpilot_mapa
    type: template
    template: fronius-wattpilot
    host: 192.168.xxx # IP-Adresse oder Hostname
    password: xxxxxx # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) (optional) 
  - name: wattpilot_sandro
    type: template
    template: fronius-wattpilot
    host: 192.168.178.xx # IP-Adresse oder Hostname
    password: xxxxx # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) (optional) 

# 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: kia
    title: KIA EV6 # Wird in der Benutzeroberfläche angezeigt (optional)
    user: xxxx # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: xxxx # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    capacity: 77 # Akkukapazität in kWh (optional)
    language: de # 'de' für Deutsch und 'en' für Englisch (optional)

  - name: mercedes
    type: mercedes
    title: A250e
    user: xxxxx # Mercedes Me Nutzer-Id (email)
    region: EMEA # MB me Region (EMEA, APAC, NORAM)
    capacity: 16 # Akkukapazität in kWh (optional)
    vin: W1K177xxx
    tokens:
      access: xxxxxxxxxxxxzz6Vrc-PcJiqK7FEujZVHnmobLqW5ycdaa69cwD9e2aysN3yruL8tssaplIdXbDdSzcz1LXf9a8DkPJFU9VykZ-KOL6vUITZ9PeX9iOYKUbC92R-v-l7kXtVeaFDPZyzyKpraW5oOzQHb_yTVy9ndgvUcuobjRm5dVQEgfAXm5CwJ6KgqNgPHIfF_eAbV1OenciTeAkpsMtKRxAjPhI8Cci3GzKYhe96J3CcIVHorIW7q2GIhgevqK01jcf6nKP8jc0ySOVSEB68F6ih1rhST8dmlicQGAxi-qAydG9gDn77sgtkTek72KPnFuT2j0vgwFQKg4IhmtWXt5hHmfaTCCT5l6HaWylEEojC62i8aw9lmjoADsraksFFUlTznd5qn89Zk92cZqIw0bexIdajRf1BLVu6wL82PG63Wqjhx3dAMpepwmhqzMJc0cFIbNKN69DoYqHb9xo530AvzzPazEflSxQiaZk8gTaf1JCwZcm94JJ3wNlLtOGny2cHln5OT-IMOyqx5jX29JTvbEqIuwGxQQKc5IV0MrvKgzgf6ACmDpMy_rQu72sqYw9Hl7F3K74aU1ol642J2WWHjkhudpxpWGKp4fTP4KpADOBsbGdjsukNox2DADWFryE9oE8jCWFpNxxxxxxxgliDePyvmjGqRL_FsWu0EtHEzOGX97lYdlXnp59skZnzQwYxF3Uq7weRzv3_tyHDgrAtKfC6Pv4kHvxlfrJUFHkv25ud7tUEuobjP9xAxzXWIuAverYb1eH09iP-KyC4BOUUOM2Q_pvgy5lK1vXsLboPQedsVTOREjhyslWnGGKGI9iqEqbF9msYRXFk3Zi_8.VcyCGigFR79MmcfUGitKPMUD5u5-Vf10YmWNCCzlCUo
      refresh: utMOY6axxxxxxxxuho7ddWTkxTQ6bs.q4nTEK

  - name: smart
    type: smart
    title: Smart EQ # Wird in der Benutzeroberfläche angezeigt (optional)
    user: xxxx # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: xxxx # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    capacity: 18 # 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

  residualPower: 100 # additional household usage margin
  maxGridSupplyWhileBatteryCharging: 0 # ignore battery charging if AC consumption is above this value

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Garage MaPa # display name for UI
    charger: wattpilot_mapa # charger
    vehicle: my_car
    # meter: charge # charge meter
    mode: pv # default charge mode to apply when vehicle is disconnected; use "off" to disable by default if charger is publicly available

    # 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)

  - title: Garage Sandro # display name for UI
    charger: wattpilot_sandro # charger
    #vehicle: mercedes
    #vehicle: smart
    # meter: charge # charge meter
    mode: pv # default charge mode to apply when vehicle is disconnected; use "off" to disable by default if charger is publicly available

    # remaining settings are experts-only and best left at default values
    priority: 1 # 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)

# 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.294 # 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: "l7bcon3xxxxxxxxxxxxbFZB0129Y6L6IlqdefQhfiYds" # access token
    # homeid: "cc83e83xxxxxxx95-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

  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

    # type: amber
    # token: # api token from https://app.amber.com.au/developers/
    # siteid: # site ID returned by the API
    # channel: feedIn
  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 # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token> # needs to be a token with forecast (not in the free tier)
    # zone: DE

    # type: ngeso # National Grid Electricity System Operator data (Great Britain only) https://carbonintensity.org.uk/
    # provides national data if both region and postcode are omitted - Choose ONE only!
    # region: 1 # optional, coarser than using a postcode - The region details are at https://carbon-intensity.github.io/api-definitions/#region-list
    # postcode: SW1 # optional - Outward postcode i.e. RG41 or SW1 or TF8. Do not include full postcode, outward postcode only

# mqtt message broker
mqtt:
  # broker: localhost:1883
  # topic: evcc # root topic for publishing, set empty to disable
  # user:
  # 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://<user>:<password>@<host>:<port>/?fromAddress=<from>&toAddresses=<to>
  # - type: ntfy
  #   uri: https://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>

Log details

[lp-2  ] DEBUG 2024/07/22 09:15:56 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-2  ] DEBUG 2024/07/22 09:15:56 pv charge current: 0A = 0A + -0.618A (142W @ 1p)
{"level":"error","msg":"Failure happened: sending of fullStatus still in progress, paralell not allowed anymore!","time":"2024-07-22T09:16:20+02:00","wattpilot":"192.168.178.68"}
{"level":"error","msg":"Failure happened: sending of fullStatus still in progress, paralell not allowed anymore!","time":"2024-07-22T09:16:20+02:00","wattpilot":"192.168.178.68"}
[site  ] DEBUG 2024/07/22 09:16:25 ----
[lp-1  ] DEBUG 2024/07/22 09:16:25 charge power: 0W
[lp-1  ] DEBUG 2024/07/22 09:16:25 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/07/22 09:16:25 charge power: 0W
[lp-2  ] DEBUG 2024/07/22 09:16:25 charge currents: [0 0 0]A
[site  ] DEBUG 2024/07/22 09:16:26 pv power: 700W
[site  ] DEBUG 2024/07/22 09:16:26 battery soc: 17%
[site  ] DEBUG 2024/07/22 09:16:26 battery power: 1W
[site  ] DEBUG 2024/07/22 09:16:26 grid meter: -9W
[site  ] DEBUG 2024/07/22 09:16:26 site power: 92W
[lp-1  ] ERROR 2024/07/22 09:16:26 charger status: could not find value of car
{"level":"error","msg":"Failure happened: sending of fullStatus still in progress, paralell not allowed anymore!","time":"2024-07-22T09:16:50+02:00","wattpilot":"192.168.178.68"}
{"level":"error","msg":"Failure happened: sending of fullStatus still in progress, paralell not allowed anymore!","time":"2024-07-22T09:16:50+02:00","wattpilot":"192.168.178.68"}
[site  ] DEBUG 2024/07/22 09:16:55 ----
[lp-1  ] DEBUG 2024/07/22 09:16:55 charge power: 0W
[lp-1  ] DEBUG 2024/07/22 09:16:55 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/07/22 09:16:55 charge power: 0W
[lp-2  ] DEBUG 2024/07/22 09:16:55 charge currents: [0 0 0]A
[site  ] DEBUG 2024/07/22 09:16:56 pv power: 721W
[site  ] DEBUG 2024/07/22 09:16:56 battery soc: 17%
[site  ] DEBUG 2024/07/22 09:16:56 battery power: -16W
[site  ] DEBUG 2024/07/22 09:16:56 grid meter: 23W
[site  ] DEBUG 2024/07/22 09:16:56 battery has priority at soc 17% (< 90%)
[site  ] DEBUG 2024/07/22 09:16:56 site power: 123W
[lp-2  ] DEBUG 2024/07/22 09:16:56 charger status: B
[lp-2  ] DEBUG 2024/07/22 09:16:56 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-2  ] DEBUG 2024/07/22 09:16:56 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-2  ] DEBUG 2024/07/22 09:16:56 pv charge current: 0A = 0A + -0.533A (123W @ 1p)
[lp-2  ] DEBUG 2024/07/22 09:17:15 set charge mode: off
[site  ] DEBUG 2024/07/22 09:17:15 ----
[lp-1  ] DEBUG 2024/07/22 09:17:15 charge power: 0W
[lp-1  ] DEBUG 2024/07/22 09:17:15 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/07/22 09:17:15 charge power: 0W
[lp-2  ] DEBUG 2024/07/22 09:17:15 charge currents: [0 0 0]A
[site  ] DEBUG 2024/07/22 09:17:15 pv power: 738W
[site  ] DEBUG 2024/07/22 09:17:15 battery soc: 17%
[site  ] DEBUG 2024/07/22 09:17:15 battery power: 2W
[site  ] DEBUG 2024/07/22 09:17:16 grid meter: 5W
[site  ] DEBUG 2024/07/22 09:17:16 site power: 107W
[lp-2  ] DEBUG 2024/07/22 09:17:16 charger status: B
[lp-2  ] DEBUG 2024/07/22 09:17:17 set charge mode: pv
[site  ] DEBUG 2024/07/22 09:17:17 ----
[lp-1  ] DEBUG 2024/07/22 09:17:17 charge power: 0W
[lp-1  ] DEBUG 2024/07/22 09:17:17 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/07/22 09:17:17 charge power: 0W
[lp-2  ] DEBUG 2024/07/22 09:17:17 charge currents: [0 0 0]A
[site  ] DEBUG 2024/07/22 09:17:17 pv power: 738W
[site  ] DEBUG 2024/07/22 09:17:17 battery soc: 17%
[site  ] DEBUG 2024/07/22 09:17:17 battery power: -2W
[site  ] DEBUG 2024/07/22 09:17:17 grid meter: -28W
[site  ] DEBUG 2024/07/22 09:17:17 battery has priority at soc 17% (< 90%)
[site  ] DEBUG 2024/07/22 09:17:17 site power: 72W
[lp-2  ] DEBUG 2024/07/22 09:17:17 charger status: B
[lp-2  ] DEBUG 2024/07/22 09:17:17 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-2  ] DEBUG 2024/07/22 09:17:17 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-2  ] DEBUG 2024/07/22 09:17:17 pv charge current: 0A = 0A + -0.312A (72W @ 1p)
[lp-1  ] DEBUG 2024/07/22 09:17:19 set charge mode: pv
[lp-1  ] DEBUG 2024/07/22 09:17:19 set charge mode: off
[site  ] DEBUG 2024/07/22 09:17:19 ----
[lp-1  ] DEBUG 2024/07/22 09:17:19 charge power: 0W
[lp-1  ] DEBUG 2024/07/22 09:17:19 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/07/22 09:17:19 charge power: 0W
[lp-2  ] DEBUG 2024/07/22 09:17:19 charge currents: [0 0 0]A
[site  ] DEBUG 2024/07/22 09:17:19 pv power: 741W
[site  ] DEBUG 2024/07/22 09:17:20 battery soc: 17%
[site  ] DEBUG 2024/07/22 09:17:20 battery power: -27W
{"level":"error","msg":"Failure happened: sending of fullStatus still in progress, paralell not allowed anymore!","time":"2024-07-22T09:17:20+02:00","wattpilot":"192.168.178.68"}
{"level":"error","msg":"Failure happened: sending of fullStatus still in progress, paralell not allowed anymore!","time":"2024-07-22T09:17:20+02:00","wattpilot":"192.168.178.68"}
[site  ] DEBUG 2024/07/22 09:17:20 grid meter: -25W
[site  ] DEBUG 2024/07/22 09:17:20 battery has priority at soc 17% (< 90%)
[site  ] DEBUG 2024/07/22 09:17:20 site power: 75W
[lp-1  ] ERROR 2024/07/22 09:17:20 charger status: could not find value of car
[lp-1  ] DEBUG 2024/07/22 09:17:21 set charge mode: pv
[site  ] DEBUG 2024/07/22 09:17:21 ----
[lp-1  ] DEBUG 2024/07/22 09:17:21 charge power: 0W
[lp-1  ] DEBUG 2024/07/22 09:17:21 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/07/22 09:17:21 charge power: 0W
[lp-2  ] DEBUG 2024/07/22 09:17:21 charge currents: [0 0 0]A
[site  ] DEBUG 2024/07/22 09:17:21 pv power: 742W
[site  ] DEBUG 2024/07/22 09:17:21 battery soc: 17%
[site  ] DEBUG 2024/07/22 09:17:21 battery power: -20W
[site  ] DEBUG 2024/07/22 09:17:21 grid meter: -25W
[site  ] DEBUG 2024/07/22 09:17:21 battery has priority at soc 17% (< 90%)
[site  ] DEBUG 2024/07/22 09:17:21 site power: 75W
[lp-1  ] ERROR 2024/07/22 09:17:21 charger status: could not find value of car
[site  ] DEBUG 2024/07/22 09:17:25 ----
[lp-1  ] DEBUG 2024/07/22 09:17:25 charge power: 0W
[lp-1  ] DEBUG 2024/07/22 09:17:25 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/07/22 09:17:25 charge power: 0W
[lp-2  ] DEBUG 2024/07/22 09:17:25 charge currents: [0 0 0]A
[site  ] DEBUG 2024/07/22 09:17:25 pv power: 748W
[site  ] DEBUG 2024/07/22 09:17:26 battery soc: 17%
[site  ] DEBUG 2024/07/22 09:17:26 battery power: -51W
[site  ] DEBUG 2024/07/22 09:17:26 grid meter: 22W
[site  ] DEBUG 2024/07/22 09:17:26 battery has priority at soc 17% (< 90%)
[site  ] DEBUG 2024/07/22 09:17:26 site power: 122W
[lp-1  ] ERROR 2024/07/22 09:17:26 charger status: could not find value of car

What type of operating system are you running?

HomeAssistant Add-on

Version

v0.128.3

andig commented 3 months ago

/cc @mabunixda

andig commented 3 months ago

Let's please continue in https://github.com/evcc-io/evcc/discussions/14629 which already collects similar cases.