evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.54k stars 656 forks source link

Tapo Steckdose ausschalten nicht möglich über UI #11676

Closed AndreasR0 closed 9 months ago

AndreasR0 commented 9 months ago

Describe the bug

Wenn der Akkustand der Hausbatterie über "Fahrzeug zuerst" % in den Batterieeinstellungen liegt, lässt sich die Steckdose nicht mehr über den UI Button Aus ausschalten. Die Steckdose schaltet zwar aus, wird jedoch sofort von evcc wieder eingeschaltet. Meldung in der UI: charger logic error: disabled but charging Er geht in der UI kurz auf Aus, dann auf PV und lädt weiter. Erst wenn man in den Batterieeinstellungen die % höher als den Ladestand der Hausbatterie setzt, kann man ausschalten. Auch dann geht er nur kurz auf Aus, dann auf PV > kann man einen Loadpoint gar nicht mehr ausschalten?

Dieses Verhalten ist seit dem Christmas Release.

Steps to reproduce

Siehe Erklärung Bug

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: info
levels:
  cache: error

# unique installation id
plant: 

interval: 20s # control cycle interval

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

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.082  # [currency]/kWh

meters:
- type: template
  template: sungrow-hybrid
  id: 1
  host: 10.0.
  port: 502
  usage: grid
  modbus: tcpip
  name: grid1
- type: template
  template: sungrow-hybrid
  id: 1
  host: 10.0.
  port: 502
  usage: pv
  modbus: tcpip
  name: pv2
- type: template
  template: sungrow-hybrid
  id: 1
  host: 10.0.
  port: 502
  usage: battery
  modbus: tcpip
  name: battery3

chargers:
- type: template
  template: elliconnect
  ski: 
  ip: 10.0.
  name: wallbox5
- type: template
  template: tapo
  host: 10.0.
  user: 
  password: 
  standbypower: -0
  integrateddevice: true
  icon: heater
  name: Tapo92
- type: template
  template: tapo
  host: 10.0.
  user: 
  password: 
  standbypower: -0
  integrateddevice: true
  icon: heater
  name: Tapo93

vehicles:
- type: template
  template: cupra
  title: Cupra
  user: 
  password: 
  capacity: 58
  icon: car
  name: ev4

loadpoints:
- title: Garage
  charger: wallbox5
  vehicle: ev4
  mode: pv
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  enable:
    delay: 1m
  disable:
    delay: 5m
  priority: 9
- title: Steckdose92
  charger: Tapo92
  mode: pv
  phases: 1
  mincurrent: 8
  maxcurrent: 9
  guardduration: 30s
  #  Definiert den zeitlichen Mindestabstand in welchem der Strom gesperrt oder wieder freigegeben werden darf.
  enable:
    delay: 1m
  disable:
    delay: 5s
  priority: 1
- title: Steckdose93
  charger: Tapo93
  mode: pv
  phases: 1
  mincurrent: 8
  maxcurrent: 9
  guardduration: 30s
  #  Definiert den zeitlichen Mindestabstand in welchem der Strom gesperrt oder wieder freigegeben werden darf.
  enable:
    delay: 1m
  disable:
    delay: 5s
  priority: 2

site:
  title: XX
  meters:
    grid: grid1
    pv:
    - pv2
    battery:
    - battery3
  residualPower: 250

eebus:
  certificate:

Log details

[main  ] INFO 2024/01/14 13:16:36 evcc 0.123.8
[main  ] INFO 2024/01/14 13:16:36 using config file: /etc/evcc.yaml
[main  ] INFO 2024/01/14 13:16:36 starting ui and api at :7070
[db    ] INFO 2024/01/14 13:16:37 using sqlite database: /home/pi/.evcc/evcc.db
[eebus ] INFO 2024/01/14 13:16:37 Local SKI: 
[eebus ] DEBUG 2024/01/14 13:16:37 mdns: announce
[eebus ] DEBUG 2024/01/14 13:16:37 mdns: using avahi
[eebus ] DEBUG 2024/01/14 13:16:37 starting websocket server on :4712
[eebus ] DEBUG 2024/01/14 13:16:37 mdns: start search
[eebus ] DEBUG 2024/01/14 13:16:37 ski: 
[eebus ] DEBUG 2024/01/14 13:16:37 delaying connection to XX by 485ms to minimize double connection probability
[tapo  ] DEBUG 2024/01/14 13:16:37 SMART.TAPOPLUG P110 connected (fw:1.3.0 Build 230905 Rel.152200,hw:1.0,mac:AC-15-A2-93-F1-5D)
[eebus ] DEBUG 2024/01/14 13:16:38 trying to connect to XX at 1089
[eebus ] DEBUG 2024/01/14 13:16:38 initiating connection to XX at 1089:4712
[eebus ] DEBUG 2024/01/14 13:16:38 incoming connection request from XX
[eebus ] DEBUG 2024/01/14 13:16:38 closing existing double connection
[eebus ] DEBUG 2024/01/14 13:16:38 XX websocket read error:  read tcp 10101:50310->1089:4712: use of closed network connection
[eebus ] DEBUG 2024/01/14 13:16:38 Send:  read 1 NodeManagementDetailedDiscoveryData
[eebus ] DEBUG 2024/01/14 13:16:38 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement read 823178 NodeManagementDetailedDiscoveryData
[eebus ] DEBUG 2024/01/14 13:16:38 Send: d:_i:47859_Elli-Wallbox-211 reply 2 823178 NodeManagementDetailedDiscoveryData
[eebus ] DEBUG 2024/01/14 13:16:38 Send: d:_i:47859_Elli-Wallbox-211 result 3 823178 ResultData 0
[eebus ] DEBUG 2024/01/14 13:16:38 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement reply 823180 1 NodeManagementDetailedDiscoveryData
[eebus ] DEBUG 2024/01/14 13:16:38 Send:  call 4 NodeManagementSubscriptionRequestCall
[eebus ] DEBUG 2024/01/14 13:16:38 Send: d:_i:47859_Elli-Wallbox-211 read 5 DeviceClassificationManufacturerData
[eebus ] DEBUG 2024/01/14 13:16:38 Send: d:_i:47859_Elli-Wallbox-211 read 6 DeviceDiagnosisStateData
[eebus ] DEBUG 2024/01/14 13:16:38 Send: d:_i:47859_Elli-Wallbox-211 read 7 NodeManagementUseCaseData
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement call 823182 NodeManagementSubscriptionRequestCall
[eebus ] DEBUG 2024/01/14 13:16:39 Send: d:_i:47859_Elli-Wallbox-211 result 8 823182 ResultData 0
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to DeviceClassification reply 823186 5 DeviceClassificationManufacturerData
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement result 823190 4 ResultData 0
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to DeviceDiagnosis reply 823192 6 DeviceDiagnosisStateData
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement reply 823193 7 NodeManagementUseCaseData
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement read 823194 NodeManagementDetailedDiscoveryData
[eebus ] DEBUG 2024/01/14 13:16:39 Send: d:_i:47859_Elli-Wallbox-211 reply 9 823194 NodeManagementDetailedDiscoveryData
[eebus ] DEBUG 2024/01/14 13:16:39 Send: d:_i:47859_Elli-Wallbox-211 result 10 823194 ResultData 0
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement read 823195 NodeManagementDestinationListData
[eebus ] DEBUG 2024/01/14 13:16:39 Send: d:_i:47859_Elli-Wallbox-211 reply 11 823195 NodeManagementDestinationListData
[eebus ] DEBUG 2024/01/14 13:16:39 Send: d:_i:47859_Elli-Wallbox-211 result 12 823195 ResultData 0
[eebus ] DEBUG 2024/01/14 13:16:39 Recv: d:_i:47859_Elli-Wallbox-211: to NodeManagement read 823196 NodeManagementUseCaseData
[eebus ] DEBUG 2024/01/14 13:16:39 Send: d:_i:47859_Elli-Wallbox-211 reply 13 823196 NodeManagementUseCaseData
[eebus ] DEBUG 2024/01/14 13:16:39 Send: d:_i:47859_Elli-Wallbox-211 result 14 823196 ResultData 0
[site  ] INFO 2024/01/14 13:16:43 site config:
[site  ] INFO 2024/01/14 13:16:43   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/01/14 13:16:43     grid:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/01/14 13:16:43     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/01/14 13:16:43     battery 1: power ✓ energy ✓ currents ✗ soc ✓ capacity ✗
[site  ] INFO 2024/01/14 13:16:43   vehicles:
[site  ] INFO 2024/01/14 13:16:43     vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✗
[lp-1  ] INFO 2024/01/14 13:16:43 loadpoint 1:
[lp-1  ] INFO 2024/01/14 13:16:43   mode:        pv
[lp-1  ] INFO 2024/01/14 13:16:43   charger:     power ✗ energy ✗ currents ✗ phases ✗ wakeup ✗
[lp-1  ] INFO 2024/01/14 13:16:43   meters:      charge ✗
[lp-2  ] INFO 2024/01/14 13:16:43 loadpoint 2:
[lp-2  ] INFO 2024/01/14 13:16:43   mode:        pv
[lp-2  ] INFO 2024/01/14 13:16:43   charger:     power ✓ energy ✗ currents ✗ phases ✗ wakeup ✗
[lp-2  ] INFO 2024/01/14 13:16:43   meters:      charge ✓
[lp-2  ] INFO 2024/01/14 13:16:43     charge:    power ✓ energy ✗ currents ✗
[lp-3  ] INFO 2024/01/14 13:16:43 loadpoint 3:
[lp-3  ] INFO 2024/01/14 13:16:43   mode:        pv
[lp-3  ] INFO 2024/01/14 13:16:43   charger:     power ✓ energy ✗ currents ✗ phases ✗ wakeup ✗
[lp-3  ] INFO 2024/01/14 13:16:43   meters:      charge ✓
[lp-3  ] INFO 2024/01/14 13:16:43     charge:    power ✓ energy ✗ currents ✗
[lp-1  ] DEBUG 2024/01/14 13:16:43 phase timer inactive
[lp-1  ] DEBUG 2024/01/14 13:16:43 pv timer inactive
[lp-1  ] DEBUG 2024/01/14 13:16:43 guard timer inactive
[lp-1  ] INFO 2024/01/14 13:16:43 vehicle updated: unknown -> Cupra
[lp-2  ] DEBUG 2024/01/14 13:16:43 phase timer inactive
[lp-2  ] DEBUG 2024/01/14 13:16:43 pv timer inactive
[lp-2  ] DEBUG 2024/01/14 13:16:43 guard timer inactive
[lp-3  ] DEBUG 2024/01/14 13:16:43 phase timer inactive
[lp-3  ] DEBUG 2024/01/14 13:16:43 pv timer inactive
[lp-3  ] DEBUG 2024/01/14 13:16:43 guard timer inactive
[site  ] WARN 2024/01/14 13:16:43 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2024/01/14 13:16:43 ----
[lp-1  ] DEBUG 2024/01/14 13:16:43 charge power: 0W
[lp-2  ] DEBUG 2024/01/14 13:16:43 charge power: 0W
[lp-3  ] DEBUG 2024/01/14 13:16:43 charge power: 0W
[site  ] DEBUG 2024/01/14 13:16:43 pv power: 7281W
[site  ] DEBUG 2024/01/14 13:16:43 battery soc: 69%
[site  ] DEBUG 2024/01/14 13:16:43 battery power: -5631W
[site  ] DEBUG 2024/01/14 13:16:43 grid power: -1452W
[site  ] DEBUG 2024/01/14 13:16:43 site power: -6833W
[lp-1  ] DEBUG 2024/01/14 13:16:44 vehicle odometer: 10065km
[lp-1  ] DEBUG 2024/01/14 13:16:44 charger status: A
[lp-1  ] INFO 2024/01/14 13:16:44 car disconnected
[lp-1  ] DEBUG 2024/01/14 13:16:44 set session soc limit: 0
[lp-1  ] DEBUG 2024/01/14 13:16:44 set session energy limit: 0
[lp-1  ] DEBUG 2024/01/14 13:16:44 set ev4 plan soc: 0 @ 0001-01-01 00:53:28 +0053 LMT
[site  ] DEBUG 2024/01/14 13:17:03 ----
[lp-1  ] DEBUG 2024/01/14 13:17:03 charge power: 0W
[lp-2  ] DEBUG 2024/01/14 13:17:03 charge power: 0W
[lp-3  ] DEBUG 2024/01/14 13:17:03 charge power: 0W
[site  ] DEBUG 2024/01/14 13:17:03 pv power: 7078W
[site  ] DEBUG 2024/01/14 13:17:03 battery soc: 69%
[site  ] DEBUG 2024/01/14 13:17:03 battery power: -5632W
[site  ] DEBUG 2024/01/14 13:17:03 grid power: -1249W
[site  ] DEBUG 2024/01/14 13:17:03 site power: -6631W
[lp-2  ] DEBUG 2024/01/14 13:17:04 charger status: B
[lp-2  ] INFO 2024/01/14 13:17:04 car connected
[lp-2  ] DEBUG 2024/01/14 13:17:04 pv timer elapse
[lp-2  ] DEBUG 2024/01/14 13:17:04 pv timer inactive
[lp-2  ] DEBUG 2024/01/14 13:17:04 charger: guard elapse
[lp-2  ] DEBUG 2024/01/14 13:17:04 guard timer inactive
[lp-2  ] DEBUG 2024/01/14 13:17:04 pv charge current: 28.8A = 0A + 28.8A (-6631W @ 1p)
[lp-2  ] DEBUG 2024/01/14 13:17:04 site power -6631W <= 0W enable threshold
[lp-2  ] DEBUG 2024/01/14 13:17:04 pv enable in 0s
[lp-2  ] DEBUG 2024/01/14 13:17:04 pv enable timer elapsed
[lp-2  ] DEBUG 2024/01/14 13:17:04 max charge current: 8A
[lp-2  ] DEBUG 2024/01/14 13:17:04 charger enable
[lp-2  ] DEBUG 2024/01/14 13:17:04 wake-up timer: start

What type of operating system are you running?

Linux

Version

0.123.8

VolkerK62 commented 9 months ago

mode beim Loadpoint entfernen. Dann funktioniert es wieder. Steckdosen auf "aus" schalten ist wie Fahrzeug entfernen und bei diesem "disconnect" greift der Modus, der am Loadpoint konfiguriert ist.