evcc
evcc copied to clipboard
Wattpilot mit 0.119.5 funktioniert nicht mehr
Describe the bug
Moin,
Seit 0.119.5 gibt es bei mir Probleme beim Wattpilot. OberflΓ€che nicht erreichbar, journalctl -fau evcc gibt folgendes aus:
Sep 08 14:38:21 NUC8i3BEK-Server systemd[1]: Started evcc.
Sep 08 14:38:21 NUC8i3BEK-Server evcc[3267]: [main ] INFO 2023/09/08 14:38:21 evcc 0.119.5
Sep 08 14:38:21 NUC8i3BEK-Server evcc[3267]: [main ] INFO 2023/09/08 14:38:21 using config file: /etc/evcc.yaml
Sep 08 14:38:21 NUC8i3BEK-Server evcc[3267]: [main ] INFO 2023/09/08 14:38:21 starting ui and api at :7070
Sep 08 14:38:21 NUC8i3BEK-Server evcc[3267]: [db ] INFO 2023/09/08 14:38:21 using sqlite database: /var/lib/evcc/evcc.db
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] WARN 2023/09/08 14:38:23 deprecated: use 'pv' instead of 'pvs'
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 site config:
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 meters: grid β pv β battery β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 grid: power β energy β currents β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 pv 1: power β energy β currents β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 pv 2: power β energy β currents β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 pv 3: power β energy β currents β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 pv 4: power β energy β currents β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 pv 5: power β energy β currents β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 vehicles:
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] INFO 2023/09/08 14:38:23 vehicle 1: range β finish β status β climate β wakeup β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] INFO 2023/09/08 14:38:23 loadpoint 1:
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] INFO 2023/09/08 14:38:23 mode: pv
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] INFO 2023/09/08 14:38:23 charger: power β energy β currents β phases β wakeup β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] INFO 2023/09/08 14:38:23 meters: charge β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] INFO 2023/09/08 14:38:23 charge: power β energy β currents β
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 phase timer inactive
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 pv timer inactive
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 guard timer inactive
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] INFO 2023/09/08 14:38:23 vehicle updated: unknown -> Polestar 2
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 set target soc: 80
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 max charge current: 6A
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] DEBUG 2023/09/08 14:38:23 ----
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 charge power: 1220W
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [main ] ERROR 2023/09/08 14:38:23 version check failed: GET https://api.github.com/repos/evcc-io/evcc/releases/latest: 403 API rate limit exceeded for 91.36.174.238. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 20m19s] (installed: 0.119.5)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] DEBUG 2023/09/08 14:38:23 pv power: 2943W
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] DEBUG 2023/09/08 14:38:23 grid power: 606W
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] DEBUG 2023/09/08 14:38:23 grid powers: [-1407 913 1100]W
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] DEBUG 2023/09/08 14:38:23 grid currents: [-6.03 4.4 4.68]A
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [site ] DEBUG 2023/09/08 14:38:23 site power: 506W
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 charge currents: [5.2 0 0]A
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 charger status: C
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] INFO 2023/09/08 14:38:23 car connected
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 pv timer elapse
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 pv timer inactive
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 charger: guard elapse
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: [lp-1 ] DEBUG 2023/09/08 14:38:23 guard timer inactive
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: panic: interface conversion: interface {} is nil, not string
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: goroutine 110 [running]:
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/mabunixda/wattpilot.(*Wattpilot).GetRFID(...)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/mabunixda/[email protected]/wattpilot.go:712
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/charger.(*Wattpilot).Identify(0xc000901aa0?)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/charger/fronius-wattpilot.go:135 +0x65
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core.(*Loadpoint).createSession(0xc00052d000)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core/loadpoint_session.go:40 +0xff
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core.(*Loadpoint).evVehicleConnectHandler(0xc00052d000)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core/loadpoint.go:470 +0x265
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: reflect.Value.call({0x21f9820?, 0xc001413670?, 0x10?}, {0x2724e19, 0x4}, {0x4e30180, 0x0, 0x7f98238a5a68?})
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: reflect/value.go:596 +0xce7
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: reflect.Value.Call({0x21f9820?, 0xc001413670?, 0x0?}, {0x4e30180?, 0xc000b5e8b8?, 0xc0014dc810?})
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: reflect/value.go:380 +0xb9
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/asaskevich/EventBus.(*EventBus).doPublish(0x22f7d00?, 0xc00141fb60, {0x273161d?, 0xc001413680?}, {0x0?, 0xc0014dc800?, 0x10?})
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/asaskevich/[email protected]/event_bus.go:160 +0x4d
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/asaskevich/EventBus.(*EventBus).Publish(0xc000900dc0, {0x273161d, 0x7}, {0x0, 0x0, 0x0})
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/asaskevich/[email protected]/event_bus.go:144 +0x5bf
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core.(*Loadpoint).updateChargerStatus(0xc00052d000)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core/loadpoint.go:886 +0x46b
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core.(*Loadpoint).Update(0xc00052d000, 0x3fea889fdf0ae579?, 0x0, 0x0?, 0x0?, 0x3fea889fdf0ae579, 0xc000923ca0, 0x0)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core/loadpoint.go:1498 +0x212
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core.(*Site).update(0xc001145200, {0x3166598?, 0xc00052d000})
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core/site.go:755 +0x5ba
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core.(*Site).Run(0xc001145200, 0xc00009c960, 0x6fc23ac00)
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/core/site.go:850 +0x206
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/cmd.runRoot.func4()
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/cmd/root.go:282 +0x25
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: created by github.com/evcc-io/evcc/cmd.runRoot in goroutine 1
Sep 08 14:38:23 NUC8i3BEK-Server evcc[3267]: github.com/evcc-io/evcc/cmd/root.go:281 +0x1a13
Sep 08 14:38:23 NUC8i3BEK-Server systemd[1]: evcc.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 08 14:38:23 NUC8i3BEK-Server systemd[1]: evcc.service: Failed with result 'exit-code'.
Steps to reproduce
0.119.5 installieren, mit 0.119.4 funktioniert alles.
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: xxxxxxxxxxxxxxxxxxxxxxx
interval: 5s # control cycle interval
sponsortoken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
meters:
- name: Shelly3EM # Hausanschluss Shelly am NetzΓΌbergabepunkte
type: template
template: shelly-3em
usage: grid
host: 192.168.1.7
- name: SolarSOHauptdach # Solaranlage SΓΌdOst Hauptdach 1,64 kWP
type: custom
power:
source: http
uri: http://192.168.1.220/rpc/Switch.GetStatus?id=0
method: GET
jq: .apower
timeout: 20s
- name: SolarSONebendach # Solaranlage SΓΌdOst Nebendach 1,23 kWP
type: custom
power:
source: http
uri: http://192.168.1.221/rpc/Switch.GetStatus?id=0
method: GET
jq: .apower
timeout: 20s
- name: SolarSWSOHauptdach # Solaranlage SΓΌdWest und SΓΌdOst Hauptdach 1,25 kWP
type: custom
power:
source: http
uri: http://192.168.1.222/rpc/Switch.GetStatus?id=0
method: GET
jq: .apower
timeout: 20s
- name: ShellyPlugEinspeisenNight # Shelly Steckdose, Wechselrichter Nachteinspeisung
type: template
template: shelly-1pm
usage: battery
host: 192.168.1.226
- name: ShellyPlugEinspeisenZusatz # Shelly Steckdose, Wechselrichter Zusatzeinspeisung
type: template
template: shelly-1pm
usage: battery
host: 192.168.1.228
chargers:
- name: wattpilot # Wallbox Carport
type: template
template: fronius-wattpilot
host: 192.168.1.6
password: xxxxxxxxxxxxxxxxx
loadpoints:
- title: Wallbox
charger: wattpilot
mode: pv
enable:
threshold: -350 # Einschalten bei mehr als 250W Einspeisung in Bezug zum Nullpunkt (residualpower)
delay: 2m # Wert von residualpower (mit Vorzeichen) wird von diesem threshold abgezogen: -350-(-100)=-250
disable:
threshold: 1150 # Ausschalten bei mehr als 1250W Netzbezug in Bezug zum Nullpunkt (residualpower)
delay: 8m # Wert von residualpower (mit Vorzeichen) wird von diesem threshold abgezogen: 1150-(-100)=1250
resetOnDisconnect: true
vehicle: polestar
tariffs:
currency: EUR
grid:
type: fixed
price: 0.347
feedin:
type: fixed
price: 0.00
vehicles:
- name: polestar # Fahrzeug Polestar 2
type: custom
title: Polestar 2
capacity: 80
onIdentify:
minSoc: 20
targetSoc: 80
soc:
source: http
uri: https://xxxxxxxxxxxxxxxxxx/polestar/CarStatsViewer.json
method: GET
jq: .stateOfCharge
scale: 100
site:
title: XXXXXXXXXXXXXXX
meters:
grid: Shelly3EM
pvs:
- SolarSOHauptdach
- SolarSONebendach
- SolarSWSOHauptdach
- ShellyPlugEinspeisenNight
- ShellyPlugEinspeisenZusatz
residualPower: -100 # bei negativ: soviel Netzbezug im PV Modus erlaubt
Log details
[main ] INFO 2023/09/08 14:34:32 evcc 0.119.5
[main ] INFO 2023/09/08 14:34:32 using config file: /etc/evcc.yaml
[main ] INFO 2023/09/08 14:34:32 starting ui and api at :7070
[db ] INFO 2023/09/08 14:34:32 using sqlite database: /home/pathaa/.evcc/evcc.db
[site ] WARN 2023/09/08 14:34:35 deprecated: use 'pv' instead of 'pvs'
[site ] INFO 2023/09/08 14:34:35 site config:
[site ] INFO 2023/09/08 14:34:35 meters: grid β pv β battery β
[site ] INFO 2023/09/08 14:34:35 grid: power β energy β currents β
[site ] INFO 2023/09/08 14:34:35 pv 1: power β energy β currents β
[site ] INFO 2023/09/08 14:34:35 pv 2: power β energy β currents β
[site ] INFO 2023/09/08 14:34:35 pv 3: power β energy β currents β
[site ] INFO 2023/09/08 14:34:35 pv 4: power β energy β currents β
[site ] INFO 2023/09/08 14:34:35 pv 5: power β energy β currents β
[site ] INFO 2023/09/08 14:34:35 vehicles:
[site ] INFO 2023/09/08 14:34:35 vehicle 1: range β finish β status β climate β wakeup β
[lp-1 ] INFO 2023/09/08 14:34:35 loadpoint 1:
[lp-1 ] INFO 2023/09/08 14:34:35 mode: pv
[lp-1 ] INFO 2023/09/08 14:34:35 charger: power β energy β currents β phases β wakeup β
[lp-1 ] INFO 2023/09/08 14:34:35 meters: charge β
[lp-1 ] INFO 2023/09/08 14:34:35 charge: power β energy β currents β
[lp-1 ] DEBUG 2023/09/08 14:34:35 phase timer inactive
[lp-1 ] DEBUG 2023/09/08 14:34:35 pv timer inactive
[lp-1 ] DEBUG 2023/09/08 14:34:35 guard timer inactive
[lp-1 ] INFO 2023/09/08 14:34:35 vehicle updated: unknown -> Polestar 2
[lp-1 ] DEBUG 2023/09/08 14:34:35 set target soc: 80
[lp-1 ] DEBUG 2023/09/08 14:34:35 max charge current: 6A
[site ] DEBUG 2023/09/08 14:34:35 ----
[server] FATAL 2023/09/08 14:34:35 unlinkat /tmp/evcc: operation not permitted
What type of operating system are you running?
Linux
Version
0.119.5
Siehe auch https://github.com/evcc-io/evcc/discussions/9779