evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Deadlook ab Version 0.85

Open mhibu opened this issue 4 years ago • 3 comments

EVCC stopt nach der Fahrzeugabfrage, im Debugmodus wird dann neu gestartet

Mein Setup Sungrow SH10RT, BYD HVS12,8, Go-e, Wallbe eco und Seat Mii.

Interface Error nach Debug stop:

Network Error: API request failed http://raspi:7070/api/health

Expected behavior

Wo ist der Fehler? Bis Version 0.84 lief evcc mit dieser Config

EVCC details: Show output of evcc -v:

evcc version 0.85.1647312075 (016dffb7)

Show output of evcc dump -c configfile:
Unsupported Config Type ""

Show evcc configuration file :
uri: 0.0.0.0:7070 # uri for ui
interval: 10s # control cycle interval

log: debug # info

meters:

  • type: template template: sungrow id: 1
    host: 192.168.178.72
    port: 502
    usage: grid
    modbus: tcpip
    name: grid1
  • type: template template: sungrow id: 1
    host: 192.168.178.72
    port: 502
    usage: pv
    modbus: tcpip
    name: pv2
  • type: template template: sungrow id: 1
    host: 192.168.178.72
    port: 502
    usage: battery
    modbus: tcpip
    name: battery3

chargers:

  • type: template template: wallbe host: 192.168.178.8
    port: 502
    name: wallbox5
  • type: template template: go-e-v3 host: go-echarger-059095.fritz.box
    name: wallbox6

vehicles:

  • type: template template: seat title: Mii
    user: xxx password: xxx vin: xxx
    capacity: 32
    phases: 2
    mode: pv
    minSoC: 40
    targetSoC: 80
    minCurrent: 6
    maxCurrent: 16
    identifiers:
    • xxx cloud: false
      name: ev4

loadpoints:

  • title: Wand charger: wallbox5 vehicles:
    • ev4 mode: pv phases: 3 mincurrent: 6 maxcurrent: 16 soc: poll: mode: charging interval: 60m min: 40 # immediately charge to 30% regardless of mode unless "off" ( 0 disabled) target: 80 # always charge to 90% estimate: true # set false to do not interpolate between api updates enable: # pv mode enable behavior delay: 1m # threshold must be exceeded for this long threshold: -3000 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable disable: # pv mode disable behavior delay: 10m # threshold must be exceeded for this long threshold: 0 # maximum import power (W) guardDuration: 10m # switch charger contactor not more often than this (default 10m) resetOnDisconnect: true
  • title: Tor charger: wallbox6 vehicles:
    • ev4 mode: pv phases: 3 mincurrent: 6 maxcurrent: 16 soc:

      poll:

      mode: charging

      interval: 60m min: 40 # immediately charge to 30% regardless of mode unless "off" ( 0 disabled) target: 80 # always charge to 90% estimate: true # set false to do not interpolate between api updates enable: # pv mode enable behavior delay: 1m # threshold must be exceeded for this long threshold: -3000 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable disable: # pv mode disable behavior delay: 10m # threshold must be exceeded for this long threshold: 0 # maximum import power (W) guardDuration: 10m # switch charger contactor not more often than this (default 10m) resetOnDisconnect: true

site: title: Zuhause meters: grid: grid1 pvs: - pv2 batteries: - battery3 prioritySoC: 80 # give home battery priority up to this soc (empty to disable) bufferSoC: 90 # ignore home battery discharge above soc (empty to disable)

tariffs are the fixed or variable tariffs

cheap (tibber/awattar) can be used to define a tariff rate considered cheap enough for charging

tariffs: currency: EUR # three letter ISO-4217 currency code (default EUR) grid: # either static grid price type: fixed price: 0.294 # EUR/kWh

# # or variable via tibber
# type: tibber
# cheap: 0.2 # EUR/kWh
# token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
# homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

# # or variable via awattar
# type: awattar
# cheap: 0.2 # EUR/kWh
# region: de # optional, choose at for Austria

feedin: # rate for feeding excess (pv) energy to the grid type: fixed price: 0.0791 # EUR/kWh

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} 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://:@:/?fromAddress=&toAddresses=

Show evcc log output with --log debug:
bash: Unsupported: Kommando nicht gefunden.
bash: Unsupported: Kommando nicht gefunden.
[main  ] INFO 2022/03/16 20:31:10 evcc 0.85.1647312075 (016dffb7)
[main  ] INFO 2022/03/16 20:31:10 using config file /etc/evcc.yaml
[main  ] INFO 2022/03/16 20:31:10 listening at 0.0.0.0:7070
[go-e  ] WARN 2022/03/16 20:31:10 automatic 1p3p phase switching requires sponsor token
[site  ] INFO 2022/03/16 20:31:12 site config:
[site  ] INFO 2022/03/16 20:31:12   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2022/03/16 20:31:12     grid:      power ✓ energy ✗ currents ✗
[site  ] INFO 2022/03/16 20:31:12     pv 0:      power ✓ energy ✗ currents ✗
[site  ] INFO 2022/03/16 20:31:12     battery 0: power ✓ energy ✗ currents ✗ soc ✓
[lp-1  ] INFO 2022/03/16 20:31:12 loadpoint 1:
[lp-1  ] INFO 2022/03/16 20:31:12   mode:        pv
[lp-1  ] INFO 2022/03/16 20:31:12   charger:     power ✗ energy ✗ currents ✗ phases ✗
[lp-1  ] INFO 2022/03/16 20:31:12   meters:      charge ✗
[lp-1  ] INFO 2022/03/16 20:31:12   vehicles:    ✓
[lp-1  ] INFO 2022/03/16 20:31:12     vehicle 0: range ✓ finish ✓ status ✓ climate ✓
[lp-2  ] INFO 2022/03/16 20:31:12 loadpoint 2:
[lp-2  ] INFO 2022/03/16 20:31:12   mode:        pv
[lp-2  ] INFO 2022/03/16 20:31:12   charger:     power ✓ energy ✓ currents ✓ phases ✗
[lp-2  ] INFO 2022/03/16 20:31:12   meters:      charge ✓
[lp-2  ] INFO 2022/03/16 20:31:12     charge:    power ✓ energy ✓ currents ✓
[lp-2  ] INFO 2022/03/16 20:31:12   vehicles:    ✓
[lp-2  ] INFO 2022/03/16 20:31:12     vehicle 0: range ✓ finish ✓ status ✓ climate ✓
[lp-1  ] INFO 2022/03/16 20:31:12 vehicle updated: unknown -> Mii
[lp-1  ] DEBUG 2022/03/16 20:31:12 set charge mode: pv
[lp-1  ] DEBUG 2022/03/16 20:31:12 set min current: 6
[lp-1  ] DEBUG 2022/03/16 20:31:12 set max current: 16
[lp-1  ] DEBUG 2022/03/16 20:31:12 set min soc: 40
[lp-1  ] DEBUG 2022/03/16 20:31:12 set target soc: 80
[lp-2  ] INFO 2022/03/16 20:31:12 vehicle updated: unknown -> Mii
[lp-2  ] DEBUG 2022/03/16 20:31:12 set charge mode: pv
[lp-2  ] DEBUG 2022/03/16 20:31:12 set min current: 6
[lp-2  ] DEBUG 2022/03/16 20:31:12 set max current: 16
[lp-2  ] DEBUG 2022/03/16 20:31:12 set min soc: 40
[lp-2  ] DEBUG 2022/03/16 20:31:12 set target soc: 80
[site  ] DEBUG 2022/03/16 20:31:13 ----
[site  ] DEBUG 2022/03/16 20:31:13 pv power: 0W
[site  ] DEBUG 2022/03/16 20:31:13 battery power: 334W
[site  ] DEBUG 2022/03/16 20:31:13 grid power: 8W
[site  ] DEBUG 2022/03/16 20:31:13 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:31:13 site power: 342W
[lp-1  ] DEBUG 2022/03/16 20:31:13 charge power: 0W
[lp-1  ] DEBUG 2022/03/16 20:31:13 charger status: A
[site  ] DEBUG 2022/03/16 20:31:23 ----
[site  ] DEBUG 2022/03/16 20:31:23 pv power: 0W
[site  ] DEBUG 2022/03/16 20:31:23 battery power: 333W
[site  ] DEBUG 2022/03/16 20:31:23 grid power: 8W
[site  ] DEBUG 2022/03/16 20:31:23 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:31:23 site power: 341W
[lp-2  ] DEBUG 2022/03/16 20:31:24 charge power: 0W
[lp-2  ] DEBUG 2022/03/16 20:31:24 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2022/03/16 20:31:24 charger status: B
[lp-2  ] DEBUG 2022/03/16 20:31:25 vehicle status: B
[lp-2  ] DEBUG 2022/03/16 20:31:25 vehicle soc: 42%
[lp-2  ] DEBUG 2022/03/16 20:31:25 vehicle range: 113km
[lp-2  ] DEBUG 2022/03/16 20:31:25 vehicle odometer: 9671km
[lp-2  ] DEBUG 2022/03/16 20:31:26 pv charge current: 0A = 0A + -0.741A (341W @ 2p)
[lp-2  ] DEBUG 2022/03/16 20:31:26 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[lp-2  ] DEBUG 2022/03/16 20:31:26 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[site  ] DEBUG 2022/03/16 20:31:33 ----
[site  ] DEBUG 2022/03/16 20:31:33 pv power: 0W
[site  ] DEBUG 2022/03/16 20:31:33 battery power: 332W
[site  ] DEBUG 2022/03/16 20:31:33 grid power: 9W
[site  ] DEBUG 2022/03/16 20:31:33 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:31:33 site power: 341W
[lp-1  ] DEBUG 2022/03/16 20:31:33 charge power: 0W
[lp-1  ] DEBUG 2022/03/16 20:31:33 charger status: A
[site  ] DEBUG 2022/03/16 20:31:43 ----
[site  ] DEBUG 2022/03/16 20:31:43 pv power: 0W
[site  ] DEBUG 2022/03/16 20:31:43 battery power: 334W
[site  ] DEBUG 2022/03/16 20:31:43 grid power: 8W
[site  ] DEBUG 2022/03/16 20:31:43 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:31:43 site power: 342W
[lp-2  ] DEBUG 2022/03/16 20:31:43 charge power: 0W
[lp-2  ] DEBUG 2022/03/16 20:31:43 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2022/03/16 20:31:43 charger status: B
[lp-2  ] DEBUG 2022/03/16 20:31:43 pv charge current: 0A = 0A + -0.743A (342W @ 2p)
[lp-2  ] DEBUG 2022/03/16 20:31:43 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[lp-2  ] DEBUG 2022/03/16 20:31:43 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[site  ] DEBUG 2022/03/16 20:31:53 ----
[site  ] DEBUG 2022/03/16 20:31:53 pv power: 0W
[site  ] DEBUG 2022/03/16 20:31:53 battery power: 333W
[site  ] DEBUG 2022/03/16 20:31:53 grid power: 9W
[site  ] DEBUG 2022/03/16 20:31:53 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:31:53 site power: 342W
[lp-1  ] DEBUG 2022/03/16 20:31:53 charge power: 0W
[lp-1  ] DEBUG 2022/03/16 20:31:53 charger status: A
[site  ] DEBUG 2022/03/16 20:32:03 ----
[site  ] DEBUG 2022/03/16 20:32:03 pv power: 0W
[site  ] DEBUG 2022/03/16 20:32:03 battery power: 334W
[site  ] DEBUG 2022/03/16 20:32:03 grid power: 8W
[site  ] DEBUG 2022/03/16 20:32:03 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:32:03 site power: 342W
[lp-2  ] DEBUG 2022/03/16 20:32:04 charge power: 0W
[lp-2  ] DEBUG 2022/03/16 20:32:04 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2022/03/16 20:32:04 charger status: B
[lp-2  ] DEBUG 2022/03/16 20:32:04 pv charge current: 0A = 0A + -0.743A (342W @ 2p)
[lp-2  ] DEBUG 2022/03/16 20:32:04 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[lp-2  ] DEBUG 2022/03/16 20:32:04 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[site  ] DEBUG 2022/03/16 20:32:13 ----
[site  ] DEBUG 2022/03/16 20:32:13 pv power: 0W
[site  ] DEBUG 2022/03/16 20:32:13 battery power: 333W
[site  ] DEBUG 2022/03/16 20:32:13 grid power: 8W
[site  ] DEBUG 2022/03/16 20:32:13 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:32:13 site power: 341W
[lp-1  ] DEBUG 2022/03/16 20:32:13 charge power: 0W
[lp-1  ] DEBUG 2022/03/16 20:32:13 charger status: A
[site  ] DEBUG 2022/03/16 20:32:23 ----
[site  ] DEBUG 2022/03/16 20:32:23 pv power: 0W
[site  ] DEBUG 2022/03/16 20:32:23 battery power: 334W
[site  ] DEBUG 2022/03/16 20:32:23 grid power: 9W
[site  ] DEBUG 2022/03/16 20:32:23 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:32:23 site power: 343W
[lp-2  ] DEBUG 2022/03/16 20:32:24 charge power: 0W
[lp-2  ] DEBUG 2022/03/16 20:32:24 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2022/03/16 20:32:24 charger status: B
[lp-2  ] DEBUG 2022/03/16 20:32:24 pv charge current: 0A = 0A + -0.746A (343W @ 2p)
[lp-2  ] DEBUG 2022/03/16 20:32:24 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[lp-2  ] DEBUG 2022/03/16 20:32:24 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[site  ] DEBUG 2022/03/16 20:32:33 ----
[site  ] DEBUG 2022/03/16 20:32:33 pv power: 0W
[site  ] DEBUG 2022/03/16 20:32:33 battery power: 335W
[site  ] DEBUG 2022/03/16 20:32:33 grid power: 8W
[site  ] DEBUG 2022/03/16 20:32:33 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:32:33 site power: 343W
[lp-1  ] DEBUG 2022/03/16 20:32:33 charge power: 0W
[lp-1  ] DEBUG 2022/03/16 20:32:33 charger status: A
[site  ] DEBUG 2022/03/16 20:32:43 ----
[site  ] DEBUG 2022/03/16 20:32:43 pv power: 0W
[site  ] DEBUG 2022/03/16 20:32:43 battery power: 334W
[site  ] DEBUG 2022/03/16 20:32:43 grid power: 10W
[site  ] DEBUG 2022/03/16 20:32:43 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:32:43 site power: 344W
[lp-2  ] DEBUG 2022/03/16 20:32:43 charge power: 0W
[lp-2  ] DEBUG 2022/03/16 20:32:43 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2022/03/16 20:32:43 charger status: B
[lp-2  ] DEBUG 2022/03/16 20:32:43 pv charge current: 0A = 0A + -0.748A (344W @ 2p)
[lp-2  ] DEBUG 2022/03/16 20:32:43 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[lp-2  ] DEBUG 2022/03/16 20:32:43 climater active: false, target temp: 22.0°C, outside temp: 14.0°C
[site  ] DEBUG 2022/03/16 20:32:53 ----
[site  ] DEBUG 2022/03/16 20:32:53 pv power: 0W
[site  ] DEBUG 2022/03/16 20:32:53 battery power: 333W
[site  ] DEBUG 2022/03/16 20:32:53 grid power: 9W
[site  ] DEBUG 2022/03/16 20:32:53 battery soc 0: 78%
[site  ] DEBUG 2022/03/16 20:32:53 site power: 342W
[lp-1  ] DEBUG 2022/03/16 20:32:53 charge power: 0W
[lp-1  ] DEBUG 2022/03/16 20:32:53 charger status: A

mhibu avatar Mar 16 '22 19:03 mhibu

Für weitere Diagnose schau dann mal bitte in https://github.com/evcc-io/evcc/issues/2748 Wo es ein ähnliches Problem gab.

andig avatar Mar 16 '22 23:03 andig

Ab Verion 0.86 läuft es wieder ohne Änderung der Config.

mhibu avatar Mar 17 '22 19:03 mhibu

Super!

andig avatar Mar 17 '22 19:03 andig