evcc: Sunny lib does not handle resumed UDP session

Describe the bug Every time mqtt server is temporary not available (eg restarted), evcc fails to update any sma component from meters section. mqtt connection is re-established once mqtt server is available (updates can be seenon broker side), but polling of sma meters (inversters) keeps failing and only recovers after evcc restart. Issue is reproducable very easy, can provide additional debug/trace logs and configs when relevant/needed.

To Reproduce Steps to reproduce the behavior:

  1. Start mqtt server (in my case embedded in fhem - should be reproducable with mosquitto too)
  2. Start evcc with at leasst one sma inverter configured in yaml
  3. Restart MQTT server
  4. sma inverter updates permanently fail until evcc is restarted

Expected behavior Restart of mqtt server / failing of mqtt connection does not impact communication with sma inverters

Additional information: Tested also to stop/restart influxdb to check if there is the same behaviour. Here errors for writing to influx where logged as expected, but sma inverters continued to update flawlessly, the issue seems to be related to mqtt backend specifically.

EVCC details: Show output of evcc -v

evcc version 0.66 (9181925)

Show output of evcc dump -c configfile:
<- paste here

Show evcc configuration file evcc.yaml:
# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for examples see https://github.com/andig/evcc-config#meters
meters:
- name: grid
  type: sma
  uri: 192.168.1.13
- name: STP10000
  type: sma
  uri: 192.168.1.11
- name: SI60H
  type: sma
  uri: 192.168.1.12

Show evcc log output with --log debug:
restart MQTT Broker at 21:18:46:

evcc --log debug [main ] INFO 2021/11/03 21:18:13 evcc 0.66 (9181925) [main ] INFO 2021/11/03 21:18:13 using config file /etc/evcc.yaml [main ] INFO 2021/11/03 21:18:13 listening at 0.0.0.0:7070 [mqtt ] INFO 2021/11/03 21:18:13 connecting evcc at localhost:1883 [mqtt ] DEBUG 2021/11/03 21:18:13 localhost:1883 connected [sma ] DEBUG 2021/11/03 21:18:14 wait for initial value [sma ] DEBUG 2021/11/03 21:18:14 wait for initial value [lp-1 ] WARN 2021/11/03 21:18:15 poll mode ‘{always 1h0m0s}’ may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK. [cache ] DEBUG 2021/11/03 21:18:15 title: Garage [cache ] DEBUG 2021/11/03 21:18:15 minCurrent: 6 [cache ] DEBUG 2021/11/03 21:18:15 maxCurrent: 16 [cache ] DEBUG 2021/11/03 21:18:15 phases: 2 [cache ] DEBUG 2021/11/03 21:18:15 activePhases: 2 [cache ] DEBUG 2021/11/03 21:18:15 hasVehicle: true [lp-1 ] INFO 2021/11/03 21:18:15 vehicle updated: unknown -> eGolf [cache ] DEBUG 2021/11/03 21:18:15 mode: pv [cache ] DEBUG 2021/11/03 21:18:15 targetSoC: 80 [cache ] DEBUG 2021/11/03 21:18:15 minSoC: 10 [cache ] DEBUG 2021/11/03 21:18:15 vehiclePresent: true [cache ] DEBUG 2021/11/03 21:18:15 vehicleTitle: eGolf [cache ] DEBUG 2021/11/03 21:18:15 vehicleCapacity: 36 [site ] INFO 2021/11/03 21:18:15 site config: [site ] INFO 2021/11/03 21:18:15 meters: grid ✓ pv ✓ battery ✓ [cache ] DEBUG 2021/11/03 21:18:15 siteTitle: Daheim [cache ] DEBUG 2021/11/03 21:18:15 gridConfigured: true [site ] INFO 2021/11/03 21:18:15 grid: power ✓ energy ✓ currents ✓ [site ] INFO 2021/11/03 21:18:15 pv 0: power ✓ energy ✓ currents ✓ [site ] INFO 2021/11/03 21:18:15 battery 0: power ✓ energy ✓ currents ✓ soc ✓ [lp-1 ] INFO 2021/11/03 21:18:15 loadpoint 1: [lp-1 ] INFO 2021/11/03 21:18:15 mode: pv [lp-1 ] INFO 2021/11/03 21:18:15 charger: power ✗ energy ✗ currents ✗ timer ✓ [lp-1 ] INFO 2021/11/03 21:18:15 meters: charge ✗ [lp-1 ] INFO 2021/11/03 21:18:15 vehicles: ✓ [lp-1 ] INFO 2021/11/03 21:18:15 car 0: range ✓ finish ✓ status ✓ climate ✓ [site ] DEBUG 2021/11/03 21:18:15 ---- [site ] DEBUG 2021/11/03 21:18:15 pv power: 0W [cache ] DEBUG 2021/11/03 21:18:15 pvConfigured: true [cache ] DEBUG 2021/11/03 21:18:15 batteryConfigured: true [cache ] DEBUG 2021/11/03 21:18:15 prioritySoC: 70 [cache ] DEBUG 2021/11/03 21:18:15 chargeConfigured: false [cache ] DEBUG 2021/11/03 21:18:15 pvPower: 0 [site ] DEBUG 2021/11/03 21:18:15 grid power: 1142W [site ] DEBUG 2021/11/03 21:18:15 battery power: 0W [cache ] DEBUG 2021/11/03 21:18:15 gridPower: 1142.2 [cache ] DEBUG 2021/11/03 21:18:15 batteryPower: 0 [site ] DEBUG 2021/11/03 21:18:15 grid currents: [2.12 1.67 2.81]A [cache ] DEBUG 2021/11/03 21:18:15 gridCurrents: [2.121 1.665 2.813] [site ] DEBUG 2021/11/03 21:18:15 battery soc 0: 23% [site ] DEBUG 2021/11/03 21:18:15 site power: 1142W [lp-1 ] DEBUG 2021/11/03 21:18:15 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:15 batterySoC: 23 [cache ] DEBUG 2021/11/03 21:18:15 mode: pv [cache ] DEBUG 2021/11/03 21:18:15 chargePower: 0 [cache ] DEBUG 2021/11/03 21:18:15 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:18:15 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:18:15 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:18:16 charger status: A [lp-1 ] INFO 2021/11/03 21:18:16 car disconnected [cache ] DEBUG 2021/11/03 21:18:16 connectedDuration: 0s [cache ] DEBUG 2021/11/03 21:18:16 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:18:16 connectedDuration: 292.238µs [lp-1 ] INFO 2021/11/03 21:18:16 set charge mode: pv [lp-1 ] INFO 2021/11/03 21:18:16 set target soc: 80 [cache ] DEBUG 2021/11/03 21:18:16 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:18:16 connected: false [cache ] DEBUG 2021/11/03 21:18:16 charging: false [cache ] DEBUG 2021/11/03 21:18:16 enabled: false [lp-1 ] DEBUG 2021/11/03 21:18:16 vehicle status: A [lp-1 ] DEBUG 2021/11/03 21:18:16 vehicle soc: 76% [lp-1 ] DEBUG 2021/11/03 21:18:16 vehicle range: 166km [cache ] DEBUG 2021/11/03 21:18:16 vehicleSoC: 76 [cache ] DEBUG 2021/11/03 21:18:16 chargeRemainingDuration: -1ns [cache ] DEBUG 2021/11/03 21:18:16 chargeRemainingEnergy: 1600 [cache ] DEBUG 2021/11/03 21:18:16 vehicleRange: 166 [lp-1 ] DEBUG 2021/11/03 21:18:16 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:16 homePower: 1142.2 [cache ] DEBUG 2021/11/03 21:18:16 chargePower: 0 [site ] DEBUG 2021/11/03 21:18:25 ---- [site ] DEBUG 2021/11/03 21:18:25 pv power: 0W [cache ] DEBUG 2021/11/03 21:18:25 pvPower: 0 [site ] DEBUG 2021/11/03 21:18:25 grid power: 1175W [site ] DEBUG 2021/11/03 21:18:25 battery power: 0W [site ] DEBUG 2021/11/03 21:18:25 grid currents: [2.26 1.66 2.81]A [site ] DEBUG 2021/11/03 21:18:25 battery soc 0: 23% [cache ] DEBUG 2021/11/03 21:18:25 gridPower: 1175.2 [cache ] DEBUG 2021/11/03 21:18:25 batteryPower: 0 [cache ] DEBUG 2021/11/03 21:18:25 gridCurrents: [2.2600000000000002 1.6640000000000001 2.8120000000000003] [cache ] DEBUG 2021/11/03 21:18:25 batterySoC: 23 [site ] DEBUG 2021/11/03 21:18:25 site power: 1175W [lp-1 ] DEBUG 2021/11/03 21:18:25 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:25 mode: pv [cache ] DEBUG 2021/11/03 21:18:25 chargePower: 0 [cache ] DEBUG 2021/11/03 21:18:25 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:18:26 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:18:26 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:18:26 charger status: A [lp-1 ] DEBUG 2021/11/03 21:18:26 next soc poll remaining time: 59m49s [cache ] DEBUG 2021/11/03 21:18:26 connected: false [cache ] DEBUG 2021/11/03 21:18:26 charging: false [cache ] DEBUG 2021/11/03 21:18:26 enabled: false [lp-1 ] DEBUG 2021/11/03 21:18:26 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:26 homePower: 1175.2 [cache ] DEBUG 2021/11/03 21:18:26 chargePower: 0 [site ] DEBUG 2021/11/03 21:18:35 ---- [site ] DEBUG 2021/11/03 21:18:35 pv power: 0W [cache ] DEBUG 2021/11/03 21:18:35 pvPower: 0 [site ] DEBUG 2021/11/03 21:18:35 grid power: 1175W [site ] DEBUG 2021/11/03 21:18:35 battery power: 0W [site ] DEBUG 2021/11/03 21:18:35 grid currents: [2.26 1.66 2.8]A [site ] DEBUG 2021/11/03 21:18:35 battery soc 0: 23% [cache ] DEBUG 2021/11/03 21:18:35 gridPower: 1174.9 [cache ] DEBUG 2021/11/03 21:18:35 batteryPower: 0 [cache ] DEBUG 2021/11/03 21:18:35 gridCurrents: [2.259 1.6620000000000001 2.801] [cache ] DEBUG 2021/11/03 21:18:35 batterySoC: 23 [site ] DEBUG 2021/11/03 21:18:35 site power: 1175W [lp-1 ] DEBUG 2021/11/03 21:18:35 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:35 mode: pv [cache ] DEBUG 2021/11/03 21:18:35 chargePower: 0 [cache ] DEBUG 2021/11/03 21:18:35 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:18:36 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:18:36 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:18:36 charger status: A [lp-1 ] DEBUG 2021/11/03 21:18:36 next soc poll remaining time: 59m39s [cache ] DEBUG 2021/11/03 21:18:36 connected: false [cache ] DEBUG 2021/11/03 21:18:36 charging: false [cache ] DEBUG 2021/11/03 21:18:36 enabled: false [lp-1 ] DEBUG 2021/11/03 21:18:36 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:36 homePower: 1174.9 [cache ] DEBUG 2021/11/03 21:18:36 chargePower: 0 [site ] DEBUG 2021/11/03 21:18:45 ---- [site ] DEBUG 2021/11/03 21:18:45 pv power: 0W [cache ] DEBUG 2021/11/03 21:18:45 pvPower: 0 [site ] DEBUG 2021/11/03 21:18:45 grid power: 1174W [site ] DEBUG 2021/11/03 21:18:45 battery power: 0W [cache ] DEBUG 2021/11/03 21:18:45 gridPower: 1173.6000000000001 [cache ] DEBUG 2021/11/03 21:18:45 batteryPower: 0 [site ] DEBUG 2021/11/03 21:18:45 grid currents: [2.26 1.66 2.8]A [site ] DEBUG 2021/11/03 21:18:45 battery soc 0: 23% [site ] DEBUG 2021/11/03 21:18:45 site power: 1174W [lp-1 ] DEBUG 2021/11/03 21:18:45 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:45 gridCurrents: [2.2560000000000002 1.659 2.8040000000000003] [cache ] DEBUG 2021/11/03 21:18:45 batterySoC: 23 [cache ] DEBUG 2021/11/03 21:18:45 mode: pv [cache ] DEBUG 2021/11/03 21:18:45 chargePower: 0 [cache ] DEBUG 2021/11/03 21:18:45 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:18:46 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:18:46 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:18:46 charger status: A [lp-1 ] DEBUG 2021/11/03 21:18:46 next soc poll remaining time: 59m29s [cache ] DEBUG 2021/11/03 21:18:46 connected: false [cache ] DEBUG 2021/11/03 21:18:46 charging: false [cache ] DEBUG 2021/11/03 21:18:46 enabled: false [lp-1 ] DEBUG 2021/11/03 21:18:46 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:46 homePower: 1173.6000000000001 [cache ] DEBUG 2021/11/03 21:18:46 chargePower: 0 [mqtt ] ERROR 2021/11/03 21:18:46 localhost:1883 connection lost: EOF [mqtt ] DEBUG 2021/11/03 21:18:48 timeout [sma ] ERROR 2021/11/03 21:18:50 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:18:50 login failed: no packet received in timeout [mqtt ] DEBUG 2021/11/03 21:18:52 timeout [mqtt ] DEBUG 2021/11/03 21:18:52 timeout [mqtt ] DEBUG 2021/11/03 21:18:52 timeout [sma ] ERROR 2021/11/03 21:18:55 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:18:55 login failed: no packet received in timeout [site ] DEBUG 2021/11/03 21:18:55 ---- [site ] ERROR 2021/11/03 21:18:56 updating pv meter 0: update timeout: 11s [site ] DEBUG 2021/11/03 21:18:56 pv power: 0W [site ] DEBUG 2021/11/03 21:18:56 grid power: 1187W [cache ] DEBUG 2021/11/03 21:18:56 pvPower: 0 [cache ] DEBUG 2021/11/03 21:18:56 gridPower: 1187.3 [site ] ERROR 2021/11/03 21:18:56 updating battery meter 0: update timeout: 12s [site ] DEBUG 2021/11/03 21:18:56 battery power: 0W [site ] DEBUG 2021/11/03 21:18:56 grid currents: [2.31 1.66 2.8]A [cache ] DEBUG 2021/11/03 21:18:56 batteryPower: 0 [cache ] DEBUG 2021/11/03 21:18:56 gridCurrents: [2.308 1.663 2.803] [site ] ERROR 2021/11/03 21:18:56 updating battery soc 0: update timeout: 12s [site ] DEBUG 2021/11/03 21:18:56 site power: 1187W [lp-1 ] DEBUG 2021/11/03 21:18:56 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:56 batterySoC: 0 [cache ] DEBUG 2021/11/03 21:18:56 mode: pv [cache ] DEBUG 2021/11/03 21:18:56 chargePower: 0 [cache ] DEBUG 2021/11/03 21:18:56 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:18:56 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:18:56 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:18:56 charger status: A [lp-1 ] DEBUG 2021/11/03 21:18:56 next soc poll remaining time: 59m19s [cache ] DEBUG 2021/11/03 21:18:56 connected: false [cache ] DEBUG 2021/11/03 21:18:56 charging: false [cache ] DEBUG 2021/11/03 21:18:56 enabled: false [lp-1 ] DEBUG 2021/11/03 21:18:56 charge power: 0W [cache ] DEBUG 2021/11/03 21:18:56 homePower: 1187.3 [cache ] DEBUG 2021/11/03 21:18:56 chargePower: 0 [mqtt ] DEBUG 2021/11/03 21:18:57 timeout [mqtt ] DEBUG 2021/11/03 21:18:57 timeout [mqtt ] DEBUG 2021/11/03 21:18:57 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [mqtt ] DEBUG 2021/11/03 21:18:58 timeout [sma ] ERROR 2021/11/03 21:19:00 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:00 login failed: no packet received in timeout [mqtt ] DEBUG 2021/11/03 21:19:02 timeout [mqtt ] DEBUG 2021/11/03 21:19:02 timeout [mqtt ] DEBUG 2021/11/03 21:19:02 timeout [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 connected [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 subscribe evcc/loadpoints/1/minSoC/set [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 subscribe evcc/loadpoints/1/targetSoC/set [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 subscribe evcc/loadpoints/1/minCurrent/set [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 subscribe evcc/loadpoints/1/maxCurrent/set [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 subscribe evcc/loadpoints/1/phases/set [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 subscribe evcc/site/prioritySoC/set [mqtt ] DEBUG 2021/11/03 21:19:04 localhost:1883 subscribe evcc/loadpoints/1/mode/set [sma ] ERROR 2021/11/03 21:19:05 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:05 login failed: no packet received in timeout [site ] DEBUG 2021/11/03 21:19:05 ---- [site ] ERROR 2021/11/03 21:19:06 updating pv meter 0: update timeout: 21s [site ] DEBUG 2021/11/03 21:19:06 pv power: 0W [site ] DEBUG 2021/11/03 21:19:06 grid power: 1162W [cache ] DEBUG 2021/11/03 21:19:06 pvPower: 0 [cache ] DEBUG 2021/11/03 21:19:06 gridPower: 1162.3 [site ] ERROR 2021/11/03 21:19:06 updating battery meter 0: update timeout: 22s [site ] DEBUG 2021/11/03 21:19:06 battery power: 0W [site ] DEBUG 2021/11/03 21:19:06 grid currents: [2.21 1.67 2.8]A [site ] ERROR 2021/11/03 21:19:06 updating battery soc 0: update timeout: 22s [cache ] DEBUG 2021/11/03 21:19:06 batteryPower: 0 [cache ] DEBUG 2021/11/03 21:19:06 gridCurrents: [2.205 1.669 2.801] [cache ] DEBUG 2021/11/03 21:19:06 batterySoC: 0 [site ] DEBUG 2021/11/03 21:19:06 site power: 1162W [lp-1 ] DEBUG 2021/11/03 21:19:06 charge power: 0W [cache ] DEBUG 2021/11/03 21:19:06 mode: pv [cache ] DEBUG 2021/11/03 21:19:06 chargePower: 0 [cache ] DEBUG 2021/11/03 21:19:06 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:19:06 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:19:06 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:19:06 charger status: A [lp-1 ] DEBUG 2021/11/03 21:19:06 next soc poll remaining time: 59m9s [cache ] DEBUG 2021/11/03 21:19:06 connected: false [cache ] DEBUG 2021/11/03 21:19:06 charging: false [cache ] DEBUG 2021/11/03 21:19:06 enabled: false [lp-1 ] DEBUG 2021/11/03 21:19:06 charge power: 0W [cache ] DEBUG 2021/11/03 21:19:06 homePower: 1162.3 [cache ] DEBUG 2021/11/03 21:19:06 chargePower: 0 [sma ] ERROR 2021/11/03 21:19:10 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:10 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:15 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:15 login failed: no packet received in timeout [site ] DEBUG 2021/11/03 21:19:15 ---- [site ] ERROR 2021/11/03 21:19:16 updating pv meter 0: update timeout: 31s [site ] DEBUG 2021/11/03 21:19:16 pv power: 0W [site ] DEBUG 2021/11/03 21:19:16 grid power: 1148W [cache ] DEBUG 2021/11/03 21:19:16 pvPower: 0 [cache ] DEBUG 2021/11/03 21:19:16 gridPower: 1148.1000000000001 [site ] ERROR 2021/11/03 21:19:16 updating battery meter 0: update timeout: 32s [site ] DEBUG 2021/11/03 21:19:16 battery power: 0W [site ] DEBUG 2021/11/03 21:19:16 grid currents: [2.15 1.66 2.8]A [cache ] DEBUG 2021/11/03 21:19:16 batteryPower: 0 [site ] ERROR 2021/11/03 21:19:16 updating battery soc 0: update timeout: 32s [site ] DEBUG 2021/11/03 21:19:16 site power: 1148W [cache ] DEBUG 2021/11/03 21:19:16 gridCurrents: [2.149 1.6640000000000001 2.803] [lp-1 ] DEBUG 2021/11/03 21:19:16 charge power: 0W [cache ] DEBUG 2021/11/03 21:19:16 batterySoC: 0 [cache ] DEBUG 2021/11/03 21:19:16 mode: pv [cache ] DEBUG 2021/11/03 21:19:16 chargePower: 0 [cache ] DEBUG 2021/11/03 21:19:16 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:19:16 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:19:16 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:19:16 charger status: A [lp-1 ] DEBUG 2021/11/03 21:19:16 next soc poll remaining time: 58m59s [cache ] DEBUG 2021/11/03 21:19:16 connected: false [cache ] DEBUG 2021/11/03 21:19:16 charging: false [cache ] DEBUG 2021/11/03 21:19:16 enabled: false [lp-1 ] DEBUG 2021/11/03 21:19:16 charge power: 0W [cache ] DEBUG 2021/11/03 21:19:16 homePower: 1148.1000000000001 [cache ] DEBUG 2021/11/03 21:19:16 chargePower: 0 [sma ] ERROR 2021/11/03 21:19:20 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:20 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:25 login failed: no packet received in timeout [sma ] ERROR 2021/11/03 21:19:25 login failed: no packet received in timeout [site ] DEBUG 2021/11/03 21:19:25 ---- [site ] ERROR 2021/11/03 21:19:26 updating pv meter 0: update timeout: 41s [site ] DEBUG 2021/11/03 21:19:26 pv power: 0W [site ] DEBUG 2021/11/03 21:19:26 grid power: 1157W [cache ] DEBUG 2021/11/03 21:19:26 pvPower: 0 [cache ] DEBUG 2021/11/03 21:19:26 gridPower: 1157.2 [site ] ERROR 2021/11/03 21:19:26 updating battery meter 0: update timeout: 42s [site ] DEBUG 2021/11/03 21:19:26 battery power: 0W [site ] DEBUG 2021/11/03 21:19:26 grid currents: [2.17 1.66 2.82]A [cache ] DEBUG 2021/11/03 21:19:26 batteryPower: 0 [cache ] DEBUG 2021/11/03 21:19:26 gridCurrents: [2.174 1.6640000000000001 2.817] [site ] ERROR 2021/11/03 21:19:26 updating battery soc 0: update timeout: 42s [site ] DEBUG 2021/11/03 21:19:26 site power: 1157W [lp-1 ] DEBUG 2021/11/03 21:19:26 charge power: 0W [cache ] DEBUG 2021/11/03 21:19:26 batterySoC: 0 [cache ] DEBUG 2021/11/03 21:19:26 mode: pv [cache ] DEBUG 2021/11/03 21:19:26 chargePower: 0 [cache ] DEBUG 2021/11/03 21:19:26 chargeCurrent: 0 [cache ] DEBUG 2021/11/03 21:19:26 chargedEnergy: 0 [cache ] DEBUG 2021/11/03 21:19:26 chargeDuration: 1h1m59s [lp-1 ] DEBUG 2021/11/03 21:19:26 charger status: A [lp-1 ] DEBUG 2021/11/03 21:19:26 next soc poll remaining time: 58m49s [cache ] DEBUG 2021/11/03 21:19:26 connected: false [cache ] DEBUG 2021/11/03 21:19:26 charging: false [cache ] DEBUG 2021/11/03 21:19:26 enabled: false [lp-1 ] DEBUG 2021/11/03 21:19:26 charge power: 0W [cache ] DEBUG 2021/11/03 21:19:26 homePower: 1157.2 [cache ] DEBUG 2021/11/03 21:19:26 chargePower: 0

If using Docker: Show output of docker run andig/evcc -v:

<- paste here

Show evcc log output with docker logs <container id>:
<- paste here

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 22 (18 by maintainers)

Most upvoted comments

@F-L-0 ich hab nochmal über das Thema nachgedacht und ich denke es wäre wirklich das Sinnvollste dieses Verhalten einfach zu dokumentieren.

Mir scheint das es (zumindest in go) möglich ist das selbe multicast listen mehrfach zu machen (beim normalen UDP listen geht es nicht). Vielleicht könnte man hier versuchen noch ein zusätzlichen normalen listen auf den port zu machen aber ich weiß nicht ob das wirklich sinnvoll ist.

Ich versuche bei Gelegenheit mir mal SPFSpot genauer anzuschauen vielleicht wird da ja was anders gemacht was in der go lib nützlich wäre. In der nächsten Zeit werde ich allerdings nicht dazu kommen.