evcc-io / evcc

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

Charger disabled: vehicle not capable of start/stop when nothing connected to chager #9719

Closed Diondk closed 1 year ago

Diondk commented 1 year ago

Describe the bug

Since the update to v0.119.4 I keep getting an notification saying the charger disabled: vehicle not capable of start/stop. At this moment there is nothing connected to my tesla wall charger.

image

Steps to reproduce

  1. update to v0.119.4
  2. open webpage
  3. see notifications coming in. ...

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: xxxxx

interval: 10s # control cycle interval

meters:
- name: pv2
  type: custom
  power:
      source: http
      uri: http://192.168.1.xxx/e
      method: GET # default HTTP method
      headers:
        - content-type: application/json
      insecure: true # set to true to trust self-signed certificates
      jq: .[0].ps0 # parse response json
      scale: 1.0 # floating point factor applied to result, e.g. for kW to W conversion
      timeout: 10s # timeout in golang duration format, see https://golang.org/pkg/time/#ParseDuration
- name: dsmr
  type: custom
  power:
    source: calc
    add:
    - source: http
      uri: http://192.168.1.xxx/api/v2/consumption/electricity-live
      method: GET # default HTTP method
      headers:
      - content-type: application/json
      - X-AUTHKEY: xxx
      insecure: true # set to true to trust self-signed certificates
      jq: .|{currently_delivered}| join(" ")
      scale: 1
      timeout: 10s
    - source: http
      uri: http://192.168.1.xxx/api/v2/consumption/electricity-live
      method: GET # default HTTP method
      headers:
      - content-type: application/json
      - X-AUTHKEY: xxx
      insecure: true # set to true to trust self-signed certificates
      jq: .|{currently_returned}| join(" ")
      scale: -1
      timeout: 10s
  energy:
    source: calc
    add:
    - source: http
      uri: http://192.168.1.xxx/api/v2/consumption/today
      method: GET # default HTTP method
      headers:
      - content-type: application/json
      - X-AUTHKEY: xxx
      insecure: true # set to true to trust self-signed certificates
      jq: .|{electricity_merged}| join(" ")
      scale: 1
      timeout: 10s
    - source: http
      uri: http://192.168.1.xxx/api/v2/consumption/today
      method: GET # default HTTP method
      headers:
      - content-type: application/json
      - X-AUTHKEY: xxx
      insecure: true # set to true to trust self-signed certificates
      jq: .|{electricity_returned_merged}| join(" ")
      scale: -1
      timeout: 10s
  currents:
  - source: http
    uri: http://192.168.1.xxx/api/v2/datalogger/dsmrreading?limit=1&ordering=-timestamp
    method: GET # default HTTP method
    headers:
    - content-type: application/json
    - X-AUTHKEY: xxx
    insecure: true # set to true to trust self-signed certificates
    jq: .results[]|{phase_power_current_l1}| join(" ")
    scale: 1
    timeout: 10s
  - source: http
    uri: http://192.168.1.xxx/api/v2/datalogger/dsmrreading?limit=1&ordering=-timestamp
    method: GET # default HTTP method
    headers:
    - content-type: application/json
    - X-AUTHKEY: xxx
    insecure: true # set to true to trust self-signed certificates
    jq: .results[]|{phase_power_current_l2}| join(" ")
    scale: 1
    timeout: 10s
  - source: http
    uri: http://192.168.1.xxx/api/v2/datalogger/dsmrreading?limit=1&ordering=-timestamp
    method: GET # default HTTP method
    headers:
    - content-type: application/json
    - X-AUTHKEY: xxx
    insecure: true # set to true to trust self-signed certificates
    jq: .results[]|{phase_power_current_l3}| join(" ")
    scale: 1
    timeout: 10s

chargers:
- type: template
  template: twc3 
  host: 8.8.8.8
  name: wallbox3

loadpoints:
- title: Oprit
  charger: wallbox3
  mode: off
  phases: 3
  mincurrent: 2
  maxcurrent: 16
  resetOnDisconnect: false

site:
  - title: Huis
    meters:
      grid: dsmr # grid meter reference
      pv: # (pvs = veraltet)
        - pv2  # first pv meter reference
vehicles:
  - name: my_car
    type: template
    template: tesla
    title: Executor # Wird in der BenutzeroberflÀche angezeigt (Optional)
    accessToken: xxxx
    refreshToken: xxx
    vin: xxx
    #onIdentify: # set defaults when vehicle is identified
    mode: pv # enable PV-charging when vehicle is identified
    minSoc: 30 # immediately charge to 0% regardless of mode unless "off" (disabled)
    targetSoc: 90 # limit charge to 90%

tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    type: tibber
    token: "xx" 
  # grid:
    #either static grid price (or price zones)
    # type: fixed
    # price: 0.58 # EUR/kWh
    # zones:
      # - days: Mo-Fr
        # hours: 07-21
        # price: 0.73 # EUR/kWh
      # - days: Sa,So
        # price: 0.58 # EUR/kWh
mqtt:
  broker: 8.8.8.8:1883
  topic: evcc # root topic for publishing, set empty to disable publishing
  # clientid: foo
  user: evcc
  password: xxxx

Log details

root@evcc:~# evcc --log debug
[main  ] INFO 2023/09/04 11:32:36 evcc 0.119.4
[main  ] INFO 2023/09/04 11:32:36 using config file: /etc/evcc.yaml
[main  ] INFO 2023/09/04 11:32:36 starting ui and api at :7070
[db    ] INFO 2023/09/04 11:32:36 using sqlite database: /root/.evcc/evcc.db
[mqtt  ] INFO 2023/09/04 11:32:36 connecting evcc-836473421 at tcp://192.168.1.3                                                                                                                                                             :1883
[mqtt  ] DEBUG 2023/09/04 11:32:36 tcp://192.168.1.3:1883 connected
[site  ] INFO 2023/09/04 11:32:37 site config:
[site  ] INFO 2023/09/04 11:32:37   meters:      grid βœ“ pv βœ“ battery βœ—
[site  ] INFO 2023/09/04 11:32:37     grid:      power βœ“ energy βœ“ currents βœ“
[site  ] INFO 2023/09/04 11:32:37     pv 1:      power βœ“ energy βœ— currents βœ—
[site  ] INFO 2023/09/04 11:32:37   vehicles:
[site  ] INFO 2023/09/04 11:32:37     vehicle 1: range βœ“ finish βœ“ status βœ“ clima                                                                                                                                                             te βœ— wakeup βœ“
[lp-1  ] INFO 2023/09/04 11:32:37 loadpoint 1:
[lp-1  ] INFO 2023/09/04 11:32:37   mode:        off
[lp-1  ] INFO 2023/09/04 11:32:37   charger:     power βœ“ energy βœ— currents βœ“ pha                                                                                                                                                             ses βœ— wakeup βœ—
[lp-1  ] INFO 2023/09/04 11:32:37   meters:      charge βœ“
[lp-1  ] INFO 2023/09/04 11:32:37     charge:    power βœ“ energy βœ— currents βœ“
[lp-1  ] DEBUG 2023/09/04 11:32:37 phase timer inactive
[lp-1  ] DEBUG 2023/09/04 11:32:37 pv timer inactive
[lp-1  ] DEBUG 2023/09/04 11:32:37 guard timer inactive
[site  ] WARN 2023/09/04 11:32:37 interval <30s can lead to unexpected behavior,                                                                                                                                                              see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2023/09/04 11:32:37 ----
[lp-1  ] DEBUG 2023/09/04 11:32:37 charge power: 0W
[site  ] DEBUG 2023/09/04 11:32:37 pv power: 5741W
[site  ] DEBUG 2023/09/04 11:32:37 grid power: -5201W
[site  ] DEBUG 2023/09/04 11:32:37 grid currents: [6 7 7]A
[site  ] DEBUG 2023/09/04 11:32:37 site power: -5201W
[lp-1  ] DEBUG 2023/09/04 11:32:37 charge voltages: [0 0 0]V
[lp-1  ] DEBUG 2023/09/04 11:32:37 charge currents: [0.3 0 0.4]A
[lp-1  ] DEBUG 2023/09/04 11:32:37 charger status: A
[lp-1  ] INFO 2023/09/04 11:32:37 car disconnected

What type of operating system are you running?

Linux

Version

evcc version 0.119.

andig commented 1 year ago

Could you please add a log of the actual problem with

twc: trace
tesla: trace

will reopen when log available.

KristianHeider commented 8 months ago

Sorry got same problem and even has never worked at all. Do I have to get token each day, each start. Neverless, I got connection with Y and Tesla wall connector. But there was no interaction. evcc 0.124.1 @andig please tell me if you need more informations.

[site  ] DEBUG 2024/02/06 20:29:40 ----
[lp-1  ] DEBUG 2024/02/06 20:29:40 charge power: 1824W
[site  ] DEBUG 2024/02/06 20:29:40 pv power: 0W
[site  ] DEBUG 2024/02/06 20:29:40 site power: 2224W
[lp-1  ] DEBUG 2024/02/06 20:29:40 charge voltages: [225 2.5 0]V
[lp-1  ] DEBUG 2024/02/06 20:29:40 detected connected phases: 1p
[lp-1  ] DEBUG 2024/02/06 20:29:40 charge currents: [8.1 0 0.5]A
[lp-1  ] DEBUG 2024/02/06 20:29:40 detected active phases: 1p
[lp-1  ] DEBUG 2024/02/06 20:29:40 charger status: C
[lp-1  ] DEBUG 2024/02/06 20:29:40 vehicle soc: 68%
[lp-1  ] DEBUG 2024/02/06 20:29:40 vehicle soc limit: 80%
[lp-1  ] DEBUG 2024/02/06 20:29:40 vehicle range: 284km
[lp-1  ] DEBUG 2024/02/06 20:29:40 pv charge current: 0A = 0A + -9.67A (2224W @ 1p)
[lp-1  ] DEBUG 2024/02/06 20:29:40 site power 2224W >= 0W disable threshold
[lp-1  ] DEBUG 2024/02/06 20:29:40 pv disable in 0s
[lp-1  ] DEBUG 2024/02/06 20:29:40 pv disable timer elapsed
[lp-1  ] ERROR 2024/02/06 20:29:40 charger disable: vehicle not capable of start/stop
[site  ] DEBUG 2024/02/06 20:29:50 ----
[lp-1  ] DEBUG 2024/02/06 20:29:51 charge power: 1826W
[site  ] DEBUG 2024/02/06 20:29:51 pv power: 0W
[site  ] DEBUG 2024/02/06 20:29:51 site power: 2226W
[lp-1  ] DEBUG 2024/02/06 20:29:51 charge voltages: [225 2.5 0]V
[lp-1  ] DEBUG 2024/02/06 20:29:51 detected connected phases: 1p
[lp-1  ] DEBUG 2024/02/06 20:29:51 charge currents: [8.1 0 0.5]A
[lp-1  ] DEBUG 2024/02/06 20:29:51 detected active phases: 1p
[lp-1  ] DEBUG 2024/02/06 20:29:51 charger status: C
[lp-1  ] DEBUG 2024/02/06 20:29:51 vehicle soc: 68%
[lp-1  ] DEBUG 2024/02/06 20:29:51 vehicle soc limit: 80%
[lp-1  ] DEBUG 2024/02/06 20:29:51 vehicle range: 284km
[lp-1  ] DEBUG 2024/02/06 20:29:51 pv charge current: 0A = 0A + -9.68A (2226W @ 1p)
[lp-1  ] DEBUG 2024/02/06 20:29:51 site power 2226W >= 0W disable threshold
[lp-1  ] DEBUG 2024/02/06 20:29:51 pv disable in 0s
[lp-1  ] DEBUG 2024/02/06 20:29:51 pv disable timer elapsed
[lp-1  ] ERROR 2024/02/06 20:29:51 charger disable: vehicle not capable of start/stop

config:

mqtt:
  broker: 192.168.3.1:1883
  topic: evcc 
  user: xx
  password: xx

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

chargers:
  - name: wallbox
    type: template
    template: twc3
    host: 192.168.1.50 # IP-Adresse oder Hostname 

vehicles:
  - name: tessi
    type: template
    template: tesla-command
    accessToken: xx
    refreshToken: xx
    vin: xx

levels:
  site: debug
  lp-1: trace
  tesla-command: trace
  tesla: trace

loadpoints:
  - title: Garage # display name for UI
    charger: wallbox # Wallbox Referenz
    vehicle: tessi # Referenz auf Standardfahrzeug
    mode: pv # charge mode (off, now, minpv, pv)

meters:
  - name: inverter1
    type: custom
    power:
      source: mqtt
      topic: get_status/status/pv1_input_power/value  # mqtt.0.get_status.status.pv1_input_power.value
      timeout: 120s # don't accept values older than timeout

  - name: inverter2
    type: custom
    power:
      source: mqtt
      topic: Inverter2/status/pv1_input_power/value  # mqtt.0.Inverter2.status.pv1_input_power.value
      timeout: 120s # don't accept values older than timeout

tariffs:
  currency: EUR # (default EUR)
  grid:
    type: fixed
    price: 0.38 # [currency]/kWh

site:
  - title: xx
    meters: 
      pv: 
        - inverter1
        - inverter2
    residualPower: 400