identity-matching
identity-matching copied to clipboard
After uprgrade to 0.129.0: panic: json: unsupported value: NaN
Hello!
After upgrading to 0.129.0 I can't start evcc anymore.
I get the following entries in the logfile:
[main ] INFO 2024/08/08 10:17:44 evcc 0.129.0
[main ] INFO 2024/08/08 10:17:44 using config file: /etc/evcc.yaml
[db ] INFO 2024/08/08 10:17:44 using sqlite database: /root/.evcc/evcc.db
[mqtt ] INFO 2024/08/08 10:17:44 connecting evcc at tcp://xxx.xxx.xxx.xxx:18885
[mqtt ] DEBUG 2024/08/08 10:17:44 tcp://xxx.xxx.xxx.xxx:18885 connected
[main ] INFO 2024/08/08 10:17:44 listening at :7070
[lp-1 ] DEBUG 2024/08/08 10:17:46 charge total import: xxx.xxxkWh
[lp-2 ] DEBUG 2024/08/08 10:17:46 charge total import: xxx.xxxkWh
[mqtt ] ERROR 2024/08/08 10:17:47 set evcc/site/smartCostLimit/set: invalid float value: NaN
[site ] INFO 2024/08/08 10:17:48 site config:
[site ] INFO 2024/08/08 10:17:48 meters: grid ✓ pv ✓ battery ✓
[site ] INFO 2024/08/08 10:17:48 grid: power ✓ energy ✓ currents ✓
[site ] INFO 2024/08/08 10:17:48 pv 1: power ✓ energy ✓ currents ✗
[site ] INFO 2024/08/08 10:17:48 pv 2: power ✓ energy ✓ currents ✗
[site ] INFO 2024/08/08 10:17:48 battery 1: power ✓ energy ✓ currents ✗ soc ✓ capacity ✗
[site ] INFO 2024/08/08 10:17:48 vehicles:
[site ] INFO 2024/08/08 10:17:48 vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓
[site ] INFO 2024/08/08 10:17:48 vehicle 2: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓
[lp-1 ] INFO 2024/08/08 10:17:48 loadpoint 1:
[lp-1 ] INFO 2024/08/08 10:17:48 mode: off
[lp-1 ] INFO 2024/08/08 10:17:48 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✓
[lp-1 ] INFO 2024/08/08 10:17:48 meters: charge ✓
[lp-1 ] INFO 2024/08/08 10:17:48 charge: power ✓ energy ✓ currents ✓
[lp-2 ] INFO 2024/08/08 10:17:48 loadpoint 2:
[lp-2 ] INFO 2024/08/08 10:17:48 mode: off
[lp-2 ] INFO 2024/08/08 10:17:48 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-2 ] INFO 2024/08/08 10:17:48 meters: charge ✓
[lp-2 ] INFO 2024/08/08 10:17:48 charge: power ✓ energy ✓ currents ✓
[site ] DEBUG 2024/08/08 10:17:48 set buffer soc: 100
[site ] DEBUG 2024/08/08 10:17:48 set buffer start soc: 100
[site ] DEBUG 2024/08/08 10:17:48 set priority soc: 60
[site ] DEBUG 2024/08/08 10:17:48 set battery discharge control: false
[lp-1 ] DEBUG 2024/08/08 10:17:48 set smart cost limit: 0.2
[lp-1 ] DEBUG 2024/08/08 10:17:48 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger)
[lp-1 ] DEBUG 2024/08/08 10:17:48 phase timer inactive
[lp-1 ] DEBUG 2024/08/08 10:17:48 pv timer inactive
[lp-1 ] INFO 2024/08/08 10:17:48 vehicle updated: unknown -> xxxxxx
[lp-1 ] DEBUG 2024/08/08 10:17:48 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/08/08 10:17:48 set smart cost limit: 0
[lp-2 ] DEBUG 2024/08/08 10:17:48 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/08/08 10:17:48 phase timer inactive
[lp-2 ] DEBUG 2024/08/08 10:17:48 pv timer inactive
[lp-2 ] INFO 2024/08/08 10:17:48 vehicle updated: unknown -> yyyyy
[lp-2 ] DEBUG 2024/08/08 10:17:48 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger)
[site ] WARN 2024/08/08 10:17:48 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site ] DEBUG 2024/08/08 10:17:48 ----
[lp-1 ] DEBUG 2024/08/08 10:17:48 charge power: 0W
[lp-1 ] DEBUG 2024/08/08 10:17:48 charge currents: [0 0 0]A
[lp-2 ] DEBUG 2024/08/08 10:17:48 charge power: 0W
[lp-2 ] DEBUG 2024/08/08 10:17:48 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/08 10:17:48 pv power: 6048W
panic: json: unsupported value: NaN
goroutine 72 [running]:
github.com/evcc-io/evcc/server.kv({0x0, {0x2e2760c, 0x2}, {0x27a4520, 0xc0019953b0}})
github.com/evcc-io/evcc/server/socket_helper.go:48 +0x5fc
github.com/evcc-io/evcc/server.(*SocketHub).welcome(0xc001917760?, 0xc000c584d0, {0xc0016a8008?, 0x65?, 0x27a4520?})
github.com/evcc-io/evcc/server/socket.go:131 +0x247
github.com/evcc-io/evcc/server.(*SocketHub).Run(0xc0017c98f0, 0xc000911980, 0xc000c87c60)
github.com/evcc-io/evcc/server/socket.go:161 +0x157
created by github.com/evcc-io/evcc/cmd.runRoot in goroutine 1
github.com/evcc-io/evcc/cmd/root.go:161 +0x85f
Hope somebody can help!
Thanks!
KR,
Dieter