evcc-io / evcc

Sonne tanken β˜€οΈπŸš˜
https://evcc.io
MIT License
3.29k stars 602 forks source link

Errors after Update to 0.124.2 from 0.122.0: climater: unexpected status: 500 (Internal Server Error) #12362

Closed stadlaa closed 6 months ago

stadlaa commented 6 months ago

Describe the bug

In the attached Logfile between 20:42 and 20:43 there are several Errors:

ERROR 2024/02/19 20:42:34 climater: unexpected status: 500 (Internal Server Error) ERROR 2024/02/19 20:43:20 vehicle odometer: unexpected status: 500 (Internal Server Error) ERROR 2024/02/19 20:43:20 vehicle soc: unexpected status: 500 (Internal Server #Error)

image

I use the Fronius Wattpilot Wallbox and because of well known connection issues: #7601 I wrote a script that auto-restarts my system after every error-occurrence, which makes EVCC at least usable with the wattpilot. Thats why there is a restart performed after each error occurence.

I don't know why the current error is thrown and what it even means. Hope sb could help.

Bash script for restart:

#!/bin/sh

while [ true ]; do
  sleep 5
  #check if evcc throws any FATAL or ERROR

    if systemctl status evcc | grep -i -E -v "vehicle odometer" | grep -i -E "FATAL|ERROR"; then
      echo "--- $(date) ---" >> restart-evcc.log
      systemctl status evcc | grep -i -E "FATAL|ERROR" >> restart-evcc.log
      sudo systemctl stop evcc
      sleep 2
      sudo systemctl start evcc
      sleep 10
    fi

    #check if gui is accessable
  if systemctl is-active --quiet evcc; then
    curl -I http://10.0.0.228:7070
    if [ $? != 0 ]; then 
      echo "$(date):GUIisOffline" >> restart-evcc.log
      sudo systemctl stop evcc
      sleep 2
      sudo systemctl start evcc
      sleep 10
    fi 
  fi  
done

Steps to reproduce

.

Configuration details

[main  ] INFO 2024/02/19 23:40:13 evcc 0.124.2
[main  ] INFO 2024/02/19 23:40:13 using config file: /etc/evcc.yaml
[lp-1  ] WARN 2024/02/19 23:40:17 poll mode '{always 1h0m0s}' may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
[lp-1  ] WARN 2024/02/19 23:40:17 deprecated: minCurrent setting is ignored, please remove
[lp-1  ] WARN 2024/02/19 23:40:17 deprecated: maxcurrent setting is ignored, please remove

Konfiguration (/etc/evcc.yaml):

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: 30s # control cycle interval

# database configuration for persisting charge sessions and settings
database:
  type: sqlite

# 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,
# 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: FroniusSmartMeter
   type: custom
   power:
      source: modbus
      id: 1
      uri: 10.0.0.122:8899
      rtu: true # rs485 device connected using ethernet adapter
      register:
        address: 40
        type: holding #holding or input
        decode: int32s # int16|32|64, uint16|32|64, float32|64 and u|int32s + float32s
      scale: -0.1 # floating point factor applied to result, e.g. for kW to W conversion
      timeout: 2s # timeout, without unit in ns

# 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
    type: template
    template: fronius-wattpilot
    host: 10.0.0.120 # IP-Adresse oder Hostname
    password: *****

# 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: ZOE
    type: template
    template: renault
    title: ZOE # Wird in der BenutzeroberflΓ€che angezeigt (Optional)
    user: *****
    password: *****
    vin: *****
    capacity: 41 # AkkukapazitΓ€t in kWh (Optional)
   # mode: pv
    mincurrent: 10
    maxcurrent: 32
    priority: 5

# site describes the EVU connection, PV and home battery
site:
  title: Zuhause # display name for UI
  meters:
    grid: FroniusSmartMeter # grid meter
    # pv:
    #   - pv # list of pv inverters/ meters
    # battery:
    #   - battery # list of battery meters
    # aux:
    #   - aux # list of auxiliary meters for adjusting grid operating point
  residualPower: 0 # additional household usage margin  
  maxGridSupplyWhileBatteryCharging: 50 # ignore battery charging if AC consumption is above this value

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Garage # display name for UI
    charger: WattPilot # charger
    #meter:  # charge meter
    mode: "now" # (set default charge mode:"off","pv",minpv","now"   use "off" to disable by default if charger is publicly available
    vehicle: ZOE # set default vehicle (disables vehicle detection)
    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: 32 # maximum charge current (default 16A)

    # remaining settings are experts-only and best left at default values
    priority: 5 # 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: always
        # 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.294 # EUR/kWh
#     zones:
#       - days: Mo-Fr
#         hours: 2-5
#         price: 0.2 # EUR/kWh
#       - days: Sa,So
#         price: 0.15 # EUR/kWh

#     # # or variable via tibber
#     # type: tibber
#     # 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: *****
#     # 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: *****
  # password: *****

influx:
  url: http://localhost:8086
  database: evcc # InfluxDB v2.x uses term `bucket` but for compatibility still named `database` here
  token: *****
  org: Biohof_Stadler

# 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://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>

Version: `0.124.2`

Log details

Feb 19 20:42:32 raspberrypi evcc[4165497]: [site  ] DEBUG 2024/02/19 20:42:32 ----
Feb 19 20:42:32 raspberrypi evcc[4165497]: [lp-1  ] DEBUG 2024/02/19 20:42:32 charge power: 0W
Feb 19 20:42:33 raspberrypi evcc[4165497]: [site  ] DEBUG 2024/02/19 20:42:33 grid power: 1386W
Feb 19 20:42:33 raspberrypi evcc[4165497]: [site  ] DEBUG 2024/02/19 20:42:33 pv power: 0W
Feb 19 20:42:33 raspberrypi evcc[4165497]: [site  ] DEBUG 2024/02/19 20:42:33 site power: 1386W
Feb 19 20:42:33 raspberrypi evcc[4165497]: [lp-1  ] DEBUG 2024/02/19 20:42:33 charge currents: [0 0 0]A
Feb 19 20:42:33 raspberrypi evcc[4165497]: [lp-1  ] DEBUG 2024/02/19 20:42:33 charger status: B
Feb 19 20:42:33 raspberrypi evcc[4165497]: [lp-1  ] DEBUG 2024/02/19 20:42:33 next soc poll remaining time: 44m47s
Feb 19 20:42:33 raspberrypi evcc[4165497]: [lp-1  ] DEBUG 2024/02/19 20:42:33 pv charge current: 0A = 0A + -6.03A (1386W @ 1p)
Feb 19 20:42:34 raspberrypi evcc[4165497]: [lp-1  ] ERROR 2024/02/19 20:42:34 climater: unexpected status: 500 (Internal Server Error)
Feb 19 20:42:37 raspberrypi systemd[1]: Stopping evcc.service - evcc...
Feb 19 20:42:37 raspberrypi systemd[1]: evcc.service: Deactivated successfully.
Feb 19 20:42:37 raspberrypi systemd[1]: Stopped evcc.service - evcc.
Feb 19 20:42:37 raspberrypi systemd[1]: evcc.service: Consumed 4.202s CPU time.
Feb 19 20:42:39 raspberrypi systemd[1]: Started evcc.service - evcc.
Feb 19 20:42:39 raspberrypi evcc[4166629]: [main  ] INFO 2024/02/19 20:42:39 evcc 0.124.2
Feb 19 20:42:39 raspberrypi evcc[4166629]: [main  ] INFO 2024/02/19 20:42:39 using config file: /etc/evcc.yaml
Feb 19 20:42:39 raspberrypi evcc[4166629]: [main  ] INFO 2024/02/19 20:42:39 starting ui and api at :7070
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] WARN 2024/02/19 20:42:44 poll mode '{always 1h0m0s}' may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] WARN 2024/02/19 20:42:44 deprecated: minCurrent setting is ignored, please remove
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] WARN 2024/02/19 20:42:44 deprecated: maxcurrent setting is ignored, please remove
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] INFO 2024/02/19 20:42:44 site config:
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] INFO 2024/02/19 20:42:44   meters:      grid βœ“ pv βœ— battery βœ—
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] INFO 2024/02/19 20:42:44     grid:      power βœ“ energy βœ— currents βœ—
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] INFO 2024/02/19 20:42:44   vehicles:
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] INFO 2024/02/19 20:42:44     vehicle 1: range βœ“ finish βœ“ status βœ“ climate βœ“ wakeup βœ“
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] INFO 2024/02/19 20:42:44 loadpoint 1:
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] INFO 2024/02/19 20:42:44   mode:        now
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] INFO 2024/02/19 20:42:44   charger:     power βœ“ energy βœ— currents βœ“ phases βœ“ wakeup βœ—
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] INFO 2024/02/19 20:42:44   meters:      charge βœ“
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] INFO 2024/02/19 20:42:44     charge:    power βœ“ energy βœ— currents βœ“
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:44 phase timer inactive
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:44 pv timer inactive
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] INFO 2024/02/19 20:42:44 vehicle updated: unknown -> ZOE
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] DEBUG 2024/02/19 20:42:44 ----
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:44 charge power: 0W
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] DEBUG 2024/02/19 20:42:44 grid power: 1497W
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] DEBUG 2024/02/19 20:42:44 pv power: 0W
Feb 19 20:42:44 raspberrypi evcc[4166629]: [site  ] DEBUG 2024/02/19 20:42:44 site power: 1497W
Feb 19 20:42:44 raspberrypi evcc[4166629]: [main  ] INFO 2024/02/19 20:42:44 new version available: 0.124.4
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] ERROR 2024/02/19 20:42:44 vehicle odometer: unexpected status: 500 (Internal Server Error)
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:44 charge currents: [0 0 0]A
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:44 charger status: B
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] INFO 2024/02/19 20:42:44 car connected
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:44 pv timer elapse
Feb 19 20:42:44 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:44 pv timer inactive
Feb 19 20:42:45 raspberrypi evcc[4166629]: [lp-1  ] ERROR 2024/02/19 20:42:45 vehicle soc: unexpected status: 500 (Internal Server Error)
Feb 19 20:42:45 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:45 switched phases: 3p
Feb 19 20:42:45 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:45 max charge current: 16A
Feb 19 20:42:45 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:45 charger enable
Feb 19 20:42:45 raspberrypi evcc[4166629]: [lp-1  ] DEBUG 2024/02/19 20:42:45 wake-up timer: start
Feb 19 20:42:54 raspberrypi systemd[1]: Stopping evcc.service - evcc...
Feb 19 20:42:54 raspberrypi systemd[1]: evcc.service: Deactivated successfully.
Feb 19 20:42:54 raspberrypi systemd[1]: Stopped evcc.service - evcc.
Feb 19 20:42:54 raspberrypi systemd[1]: evcc.service: Consumed 2.198s CPU time.
Feb 19 20:42:57 raspberrypi systemd[1]: Started evcc.service - evcc.
Feb 19 20:42:57 raspberrypi evcc[4166654]: [main  ] INFO 2024/02/19 20:42:57 evcc 0.124.2
Feb 19 20:42:57 raspberrypi evcc[4166654]: [main  ] INFO 2024/02/19 20:42:57 using config file: /etc/evcc.yaml
Feb 19 20:42:57 raspberrypi evcc[4166654]: [main  ] INFO 2024/02/19 20:42:57 starting ui and api at :7070
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] WARN 2024/02/19 20:43:01 poll mode '{always 1h0m0s}' may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] WARN 2024/02/19 20:43:01 deprecated: minCurrent setting is ignored, please remove
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] WARN 2024/02/19 20:43:01 deprecated: maxcurrent setting is ignored, please remove
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] INFO 2024/02/19 20:43:01 site config:
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] INFO 2024/02/19 20:43:01   meters:      grid βœ“ pv βœ— battery βœ—
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] INFO 2024/02/19 20:43:01     grid:      power βœ“ energy βœ— currents βœ—
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] INFO 2024/02/19 20:43:01   vehicles:
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] INFO 2024/02/19 20:43:01     vehicle 1: range βœ“ finish βœ“ status βœ“ climate βœ“ wakeup βœ“
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:01 loadpoint 1:
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:01   mode:        now
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:01   charger:     power βœ“ energy βœ— currents βœ“ phases βœ“ wakeup βœ—
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:01   meters:      charge βœ“
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:01     charge:    power βœ“ energy βœ— currents βœ“
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:01 phase timer inactive
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:01 pv timer inactive
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:01 vehicle updated: unknown -> ZOE
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:01 max charge current: 10A
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] DEBUG 2024/02/19 20:43:01 ----
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:01 charge power: -288W
Feb 19 20:43:01 raspberrypi evcc[4166654]: [lp-1  ] WARN 2024/02/19 20:43:01 charge power must not be negative: -288
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] DEBUG 2024/02/19 20:43:01 grid power: 1489W
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] DEBUG 2024/02/19 20:43:01 pv power: 0W
Feb 19 20:43:01 raspberrypi evcc[4166654]: [site  ] DEBUG 2024/02/19 20:43:01 site power: 1489W
Feb 19 20:43:01 raspberrypi evcc[4166654]: [main  ] INFO 2024/02/19 20:43:01 new version available: 0.124.4
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] ERROR 2024/02/19 20:43:02 vehicle odometer: unexpected status: 500 (Internal Server Error)
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:02 charge currents: [5.85 5.93 5.81]A
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:02 charger status: C
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:02 car connected
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:02 pv timer elapse
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:02 pv timer inactive
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] INFO 2024/02/19 20:43:02 start charging ->
Feb 19 20:43:02 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:02 wake-up timer: stop
Feb 19 20:43:03 raspberrypi evcc[4166654]: [lp-1  ] ERROR 2024/02/19 20:43:03 vehicle soc: unexpected status: 500 (Internal Server Error)
Feb 19 20:43:03 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:03 switched phases: 3p
Feb 19 20:43:03 raspberrypi evcc[4166654]: [lp-1  ] DEBUG 2024/02/19 20:43:03 max charge current: 16A
Feb 19 20:43:12 raspberrypi systemd[1]: Stopping evcc.service - evcc...
Feb 19 20:43:12 raspberrypi systemd[1]: evcc.service: Deactivated successfully.
Feb 19 20:43:12 raspberrypi systemd[1]: Stopped evcc.service - evcc.
Feb 19 20:43:12 raspberrypi systemd[1]: evcc.service: Consumed 2.239s CPU time.
Feb 19 20:43:14 raspberrypi systemd[1]: Started evcc.service - evcc.
Feb 19 20:43:14 raspberrypi evcc[4166682]: [main  ] INFO 2024/02/19 20:43:14 evcc 0.124.2
Feb 19 20:43:14 raspberrypi evcc[4166682]: [main  ] INFO 2024/02/19 20:43:14 using config file: /etc/evcc.yaml
Feb 19 20:43:14 raspberrypi evcc[4166682]: [main  ] INFO 2024/02/19 20:43:14 starting ui and api at :7070
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] WARN 2024/02/19 20:43:19 poll mode '{always 1h0m0s}' may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] WARN 2024/02/19 20:43:19 deprecated: minCurrent setting is ignored, please remove
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] WARN 2024/02/19 20:43:19 deprecated: maxcurrent setting is ignored, please remove
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] INFO 2024/02/19 20:43:19 site config:
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] INFO 2024/02/19 20:43:19   meters:      grid βœ“ pv βœ— battery βœ—
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] INFO 2024/02/19 20:43:19     grid:      power βœ“ energy βœ— currents βœ—
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] INFO 2024/02/19 20:43:19   vehicles:
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] INFO 2024/02/19 20:43:19     vehicle 1: range βœ“ finish βœ“ status βœ“ climate βœ“ wakeup βœ“
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:19 loadpoint 1:
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:19   mode:        now
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:19   charger:     power βœ“ energy βœ— currents βœ“ phases βœ“ wakeup βœ—
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:19   meters:      charge βœ“
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:19     charge:    power βœ“ energy βœ— currents βœ“
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:19 phase timer inactive
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:19 pv timer inactive
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:19 vehicle updated: unknown -> ZOE
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:19 max charge current: 10A
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] DEBUG 2024/02/19 20:43:19 ----
Feb 19 20:43:19 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:19 charge power: 9120W
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] DEBUG 2024/02/19 20:43:19 grid power: 15584W
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] DEBUG 2024/02/19 20:43:19 pv power: 0W
Feb 19 20:43:19 raspberrypi evcc[4166682]: [site  ] DEBUG 2024/02/19 20:43:19 site power: 15584W
Feb 19 20:43:19 raspberrypi evcc[4166682]: [main  ] INFO 2024/02/19 20:43:19 new version available: 0.124.4
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] ERROR 2024/02/19 20:43:20 vehicle odometer: unexpected status: 500 (Internal Server Error)
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:20 charge currents: [14.6 14.7 14.6]A
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:20 charger status: C
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:20 car connected
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:20 pv timer elapse
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:20 pv timer inactive
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] INFO 2024/02/19 20:43:20 start charging ->
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:20 wake-up timer: stop
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] ERROR 2024/02/19 20:43:20 vehicle soc: unexpected status: 500 (Internal Server Error)
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:20 switched phases: 3p
Feb 19 20:43:20 raspberrypi evcc[4166682]: [lp-1  ] DEBUG 2024/02/19 20:43:20 max charge current: 16A
Feb 19 20:43:29 raspberrypi systemd[1]: Stopping evcc.service - evcc...
Feb 19 20:43:29 raspberrypi systemd[1]: evcc.service: Deactivated successfully.
Feb 19 20:43:29 raspberrypi systemd[1]: Stopped evcc.service - evcc.
Feb 19 20:43:29 raspberrypi systemd[1]: evcc.service: Consumed 2.498s CPU time.
Feb 19 20:43:31 raspberrypi systemd[1]: Started evcc.service - evcc.
Feb 19 20:43:32 raspberrypi evcc[4166711]: [main  ] INFO 2024/02/19 20:43:32 evcc 0.124.2
Feb 19 20:43:32 raspberrypi evcc[4166711]: [main  ] INFO 2024/02/19 20:43:32 using config file: /etc/evcc.yaml
Feb 19 20:43:32 raspberrypi evcc[4166711]: [main  ] INFO 2024/02/19 20:43:32 starting ui and api at :7070
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] WARN 2024/02/19 20:43:36 poll mode '{always 1h0m0s}' may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] WARN 2024/02/19 20:43:36 deprecated: minCurrent setting is ignored, please remove
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] WARN 2024/02/19 20:43:36 deprecated: maxcurrent setting is ignored, please remove
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] INFO 2024/02/19 20:43:36 site config:
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] INFO 2024/02/19 20:43:36   meters:      grid βœ“ pv βœ— battery βœ—
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] INFO 2024/02/19 20:43:36     grid:      power βœ“ energy βœ— currents βœ—
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] INFO 2024/02/19 20:43:36   vehicles:
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] INFO 2024/02/19 20:43:36     vehicle 1: range βœ“ finish βœ“ status βœ“ climate βœ“ wakeup βœ“
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36 loadpoint 1:
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36   mode:        now
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36   charger:     power βœ“ energy βœ— currents βœ“ phases βœ“ wakeup βœ—
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36   meters:      charge βœ“
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36     charge:    power βœ“ energy βœ— currents βœ“
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 phase timer inactive
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 pv timer inactive
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36 vehicle updated: unknown -> ZOE
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 max charge current: 10A
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:43:36 ----
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 charge power: 9108W
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:43:36 grid power: 15514W
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:43:36 pv power: 0W
Feb 19 20:43:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:43:36 site power: 15514W
Feb 19 20:43:36 raspberrypi evcc[4166711]: [main  ] INFO 2024/02/19 20:43:36 new version available: 0.124.4
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 vehicle odometer: 116116km
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 charge currents: [14.6 14.8 14.6]A
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 charger status: C
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36 car connected
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 pv timer elapse
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 pv timer inactive
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:43:36 start charging ->
Feb 19 20:43:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:36 wake-up timer: stop
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 vehicle status: C
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 vehicle soc: 58%
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 vehicle range: 114km
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 available power -6407W < 6900W min 3p threshold
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 start phase scale1p timer
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 phase scale1p in 3m0s
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 pv charge current: 0A = 10A + -22.5A (15514W @ 3p)
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 projected site power 10914W >= 0W disable threshold
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 pv disable in 0s
Feb 19 20:43:37 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:37 pv disable timer elapsed
Feb 19 20:43:38 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:38 charger disable
Feb 19 20:43:38 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:43:38 wake-up timer: stop
Feb 19 20:44:06 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:06 ----
Feb 19 20:44:06 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:06 charge power: 0W
Feb 19 20:44:06 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:06 grid power: 1483W
Feb 19 20:44:06 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:06 pv power: 0W
Feb 19 20:44:06 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:06 site power: 1483W
Feb 19 20:44:06 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:06 vehicle odometer: 116116km
Feb 19 20:44:06 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:06 charge currents: [0 0 0]A
Feb 19 20:44:06 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:06 charger status: B
Feb 19 20:44:06 raspberrypi evcc[4166711]: [lp-1  ] INFO 2024/02/19 20:44:06 stop charging <-
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 soc estimated: 58.01% (vehicle: 58.00%)
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 vehicle soc: 58%
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 vehicle range: 115km
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 available power -1483W < 6900W min 3p threshold
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 phase scale1p in 0s
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 switched phases: 1p
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 phase timer inactive
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 pv charge current: 0A = 0A + -6.45A (1483W @ 1p)
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 pv enable timer reset
Feb 19 20:44:08 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:08 pv timer inactive
Feb 19 20:44:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:36 ----
Feb 19 20:44:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:36 charge power: 0W
Feb 19 20:44:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:36 grid power: 1334W
Feb 19 20:44:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:36 pv power: 0W
Feb 19 20:44:36 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:44:36 site power: 1334W
Feb 19 20:44:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:36 charge currents: [0 0 0]A
Feb 19 20:44:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:36 charger status: B
Feb 19 20:44:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:36 next soc poll remaining time: 59m29s
Feb 19 20:44:36 raspberrypi evcc[4166711]: [lp-1  ] DEBUG 2024/02/19 20:44:36 pv charge current: 0A = 0A + -5.8A (1334W @ 1p)
Feb 19 20:45:06 raspberrypi evcc[4166711]: [site  ] DEBUG 2024/02/19 20:45:06 ----

What type of operating system are you running?

Linux

Version

evcc version 0.124.2

andig commented 6 months ago

No changes have been mode to Zoe. Please retry in a few days.