evcc-io / evcc

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

Kachel Lastmanagement fehlt im Config UI #15227

Closed VolkerK62 closed 1 month ago

VolkerK62 commented 1 month ago

Describe the bug

Wegen #15110 habe ich auf das aktuelle Nightly aktualisiert. Seitdem wird im Config UI die Kachel "Lastmanagement" nicht mehr angezeigt. image

Die circuit Einträge im Log sind weiterhin vorhanden. Die Funktionalität sollte also vorhanden sein.

Steps to reproduce

.

Configuration details

network:
  schema: http
  host: evcc.local
  port: 7070

database:
  type: sqlite
  dsn: /var/lib/evcc/evcc.db

interval: 10s

sponsortoken: xxx

telemetry: true

log: debug
levels:
  #site: info
  #lp-1: info
  #lp-2: info
  #lp-3: info
  #lp-4: info
  #lp-5: info
  #lp-6: info
  #daheimladen-mb: trace
  #hyundai: trace
  #main: trace
  #cache: trace
  #db: trace
  #http: trace
  #influx: trace
  #mqtt: trace
  #proxy-5200: trace
  #gsi: trace

########################################################################
meters:
- name: grid
#  type: movingaverage
#  decay: 0.25
#  meter:
  type: template
  template: shelly-3em
  usage: grid
  host: 192.168.178.28

- name: pv
#  type: movingaverage
#  decay: 0.25
#  meter:
  type: template
  template: solarlog
  usage: pv
  host: 192.168.178.23
  port: 502

- name: battery
#  type: movingaverage
#  decay: 0.25
#  meter:
  type: custom
  power:
    ##Shelly EM Stromzange 2
    source: http
    uri: http://192.168.178.21/emeter/1
    jq: if .pf==0 then .power else .power / (.pf | fabs) end
  soc:
    source: mqtt
    topic: Haus/Bat_SoC
    timeout: 60m
  capacity: 7.5

#- name: WPpwr
#  type: template
#  template: shelly-1pm
#  ##Shelly EM Stromzange 1
#  usage: charge
#  host: 192.168.178.21
#  channel: 0

- name: aux
  type: custom
  power:
    source: mqtt
    topic: Haus/aux_pwr
    timeout: 25h

- name: DLCM
  type: custom
  power:
    source: calc
    add:
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 16
        type: holding
        decode: uint32
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 20
        type: holding
        decode: uint32
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 24
        type: holding
        decode: uint32
      timeout: 10s
  energy:
    source: modbus
    id: 255
    uri: localhost:5200
    register:
      address: 28
      type: holding
      decode: uint32
    scale: 0.1
    timeout: 10s
  currents:
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 6
        type: holding
        decode: uint16
      scale: 0.1
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 8
        type: holding
        decode: uint16
      scale: 0.1
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 10
        type: holding
        decode: uint16
      scale: 0.1
      timeout: 10s
  voltages:
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 109
        type: holding
        decode: uint16
      scale: 0.1
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 111
        type: holding
        decode: uint16
      scale: 0.1
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 113
        type: holding
        decode: uint16
      scale: 0.1
      timeout: 10s
  powers:
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 16
        type: holding
        decode: uint32
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 20
        type: holding
        decode: uint32
      timeout: 10s
    - source: modbus
      id: 255
      uri: localhost:5200
      register:
        address: 24
        type: holding
        decode: uint32
      timeout: 10s

########################################################################
chargers:
- name: wallbox #L3,L1,L2
  type: template
  template: daheimladen-mb
  ##modbusproxy (localhost: 5200)
  ##direkt (192.168.178.26: 502)
  host: localhost
  port: 5200

- name: Ebikes
  type: template
  template: fritzdect
  ##FritzDect in Garage
  uri: http://fritz.box
  user: xxx
  password: xxx
  ain: xxx
  standbypower: 10
  integrateddevice: true
  icon: bike

- name: WPsg
  type: template
  template: shelly
  ##Shelly 1 für SG-Kontakt
  host: 192.168.178.29
  standbypower: -1
  integrateddevice: true
  heating: true
  icon: waterheater

- name: WPautark #L2
  type: template
  template: shelly
  ##Shelly EM für Fake-Kontakt
  host: 192.168.178.21
  channel: 0
  standbypower: 15
  integrateddevice: true
  heating: true
  icon: generic

- name: Waschen #L1
  type: template
  template: shelly
  host: 192.168.178.72
  standbypower: 1
  integrateddevice: true
  icon: generic

- name: Trocknen #L2
  type: template
  template: shelly
  host: 192.168.178.71
  standbypower: 1
  integrateddevice: true
  icon: generic

########################################################################
vehicles:
- name: auto
  type: template
  template: hyundai
  title: (T)Raumschiff
  user: xxx
  password: xxx
  language: de
  icon: car
  capacity: 73
  mode: pv
  #maxcurrent: 21

- name: offline
  type: template
  template: offline
  title: ohne Bluelink
  icon: car
  capacity: 73
  mode: off
  #maxcurrent: 21

- name: Vbike
  type: custom
  title: V-Bike
  icon: bike
  capacity: 0.625
  soc:
    source: mqtt
    topic: evcc/vehicles/VbikeSoc/minSoc
    timeout: 2500h

- name: VbikeSoc #nur zum Speichern von minSoc
  type: custom
  title: VbikeSoc
  soc:
    source: const
    value: 100

- name: WasserSG
  type: custom
  title: WasserSG
  icon: waterheater
  capacity: 10 # 300 Liter x 100 Grad x 1,16 Wh / 3,5 COP = 10kWh
  soc:
    source: calc
    add:
    - source: mqtt
      topic: Haus/Wasser_Temp
      timeout: 60m
    - source: mqtt # Temp Delta 7 Grad, wenn aus 
      topic: evcc/loadpoints/4/chargePower
      jq: if . > 50 then 0 else 7 end
      timeout: 60m

- name: WasserWP
  type: custom
  title: WasserWP
  icon: generic
  capacity: 10
  soc:
    source: mqtt
    topic: Haus/Temp_out2
    timeout: 60m

- name: Waschen
  type: custom
  title: Waschmaschine
  icon: generic
  capacity: 5
  soc:
    source: const
    value: 0.1

- name: Trocknen
  type: custom
  title: Trockner
  icon: generic
  capacity: 10
  soc:
    source: const
    value: 0.1

########################################################################
loadpoints:
- title: Carport
  circuit: carport # Loadmanagement
  charger: wallbox
  meter: DLCM
  #vehicle: auto
  mode: off
  priority: 0
  soc:
    estimate: true
    poll:
      mode: always
      interval: 300m
  enable:
    delay: 2m
  disable:
    delay: 3m

- title: Garage
  charger: Ebikes
  vehicle: Vbike
  priority: 1
  soc:
    estimate: true
  enable:
    delay: 30s
  disable:
    delay: 5m

- title: WP SG+
  charger: WPsg
  #meter: WPpwr
  vehicle: WasserSG
  priority: 5
  soc:
    estimate: false
  enable:
    threshold: 0
    delay: 20m
  disable: 
    threshold: 0
    delay: 20m

- title: WP -Anzeige-
  charger: WPautark
  vehicle: WasserWP
  priority: 10
  mode: now
  soc:
    estimate: false

- title: Waschen -Anzeige-
  charger: Waschen
  vehicle: Waschen
  priority: 10
  mode: now

- title: Trocknen -Anzeige-
  charger: Trocknen
  vehicle: Trocknen
  priority: 10
  mode: now

########################################################################
site:
- title: Haus
  meters:
    grid: grid
    pv: pv
    battery: battery
    aux: aux
  residualpower: 100

circuits: # Loadmanagement
- name: main
  title: Hausanschluss
  maxCurrent: 32
  maxpower: 22000
  meter: grid
- name: carport
  maxCurrent: 20  # wegen Schieflast
  maxpower: 11000 # wegen Genehmigung
  meter: DLCM
  parent: main

hems:
  type: relay
  maxPower: 4200
  limit:
    source: mqtt
    topic: Haus/hems/limit
    timeout: 25h

########################################################################
tariffs:
  currency: EUR
  grid:
    type: custom
    price:
      source: mqtt
      topic: Haus/Preis_Bezug
      timeout: 25h

#    type: template
#    template: energy-charts-api
#    bzn: DE-LU # Gebotszonen - https://api.energy-charts.info/#/prices/day_ahead_price_price_get
#    template: awattar
#    region: DE
#    costs: 0.0 # Zusätzlicher fester Aufschlag pro kWh (z.B. 0.05 für 5 Cent) (optional)
#    tax: 0.0 # Zusätzlicher prozentualer Aufschlag (z.B. 0.2 für 20%) (optional) 

  feedin:
    type: fixed
    price: 0.1095

  co2:
    type: grünstromindex
    zip: xxx

########################################################################
messaging:
  services:
  - type: ntfy
    uri: xxx
  events:
    start:
      title: Start {{.title}}
      msg: |
        {{ if eq .title "Carport" }} Start {{printf `(%02d:%02d)` now.Hour now.Minute}} Soc {{round (.vehicleSoc) 1}} {{- end }}
        {{ if eq .title "Garage" }} Start {{printf `(%02d:%02d)` now.Hour now.Minute}} Soc {{round (.vehicleSoc) 1}} {{- end }} 
        {{ if eq .title "WP -Anzeige-" }} Start {{printf `(%02d:%02d)` now.Hour now.Minute}} Temp {{.limitSoc}} {{- end }} 
    stop:
      title: Stop {{.title}}
      msg: |
        {{ if eq .title "Carport" }} Stop {{printf `(%02d:%02d)` now.Hour now.Minute}} Soc {{round (.vehicleSoc) 1}} {{- end }}
        {{ if eq .title "Garage" }} Stop {{printf `(%02d:%02d)` now.Hour now.Minute}} Soc {{round (.vehicleSoc) 1}} {{- end }} 
        {{ if eq .title "WP -Anzeige-" }} Stop {{printf `(%02d:%02d)` now.Hour now.Minute}} Temp {{.limitSoc}} {{- end }} 

########################################################################
influx:
  url: http://localhost:8086
  database: evcc

mqtt:
  broker: localhost:1883
  topic: evcc

modbusproxy:
- port: 5200
  uri: 192.168.178.26:502

########################################################################

Log details

[main  ] INFO 2024/08/03 21:25:28 evcc 0.129.0 (bbf989c3)
[main  ] INFO 2024/08/03 21:25:28 using config file: /etc/evcc.yaml
[db    ] INFO 2024/08/03 21:25:28 using sqlite database: /var/lib/evcc/evcc.db
[mqtt  ] INFO 2024/08/03 21:25:29 connecting evcc-1375520050 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/08/03 21:25:29 tcp://localhost:1883 connected
[main  ] INFO 2024/08/03 21:25:29 listening at :7070
[proxy-5200] DEBUG 2024/08/03 21:25:29 modbus proxy for 192.168.178.26:502 listening at :5200
[lp-1  ] WARN 2024/08/03 21:25:30 poll mode '{always 5h0m0s}' may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
[lp-1  ] DEBUG 2024/08/03 21:25:31 charge total import: 1983.300kWh
[lp-2  ] DEBUG 2024/08/03 21:25:31 charge total import: 12.052kWh
[lp-3  ] DEBUG 2024/08/03 21:25:31 charge total import: 0.000kWh
[lp-4  ] DEBUG 2024/08/03 21:25:31 charge total import: 1149.906kWh
[lp-5  ] DEBUG 2024/08/03 21:25:31 charge total import: 82.939kWh
[lp-6  ] DEBUG 2024/08/03 21:25:31 charge total import: 53.238kWh
[lpc   ] DEBUG 2024/08/03 21:25:32 validation of max power disabled
[lpc   ] DEBUG 2024/08/03 21:25:32 validation of max phase current disabled
[site  ] WARN 2024/08/03 21:25:32 vehicle 'ohne Bluelink' does not support automatic detection
[site  ] WARN 2024/08/03 21:25:32 vehicle 'Trockner' does not support automatic detection
[site  ] WARN 2024/08/03 21:25:32 vehicle 'V-Bike' does not support automatic detection
[site  ] WARN 2024/08/03 21:25:32 vehicle 'VbikeSoc' does not support automatic detection
[site  ] WARN 2024/08/03 21:25:32 vehicle 'Waschmaschine' does not support automatic detection
[site  ] WARN 2024/08/03 21:25:32 vehicle 'WasserSG' does not support automatic detection
[site  ] WARN 2024/08/03 21:25:32 vehicle 'WasserWP' does not support automatic detection
[site  ] INFO 2024/08/03 21:25:32 site config:
[site  ] INFO 2024/08/03 21:25:32   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/08/03 21:25:32     grid:      power ✓ energy ✓ currents ✓
[site  ] INFO 2024/08/03 21:25:32     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/08/03 21:25:32     battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site  ] INFO 2024/08/03 21:25:32   vehicles:
[site  ] INFO 2024/08/03 21:25:32     vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓
[site  ] INFO 2024/08/03 21:25:32     vehicle 2: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[site  ] INFO 2024/08/03 21:25:32     vehicle 3: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[site  ] INFO 2024/08/03 21:25:32     vehicle 4: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[site  ] INFO 2024/08/03 21:25:32     vehicle 5: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[site  ] INFO 2024/08/03 21:25:32     vehicle 6: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[site  ] INFO 2024/08/03 21:25:32     vehicle 7: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[site  ] INFO 2024/08/03 21:25:32     vehicle 8: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[lp-1  ] INFO 2024/08/03 21:25:32 loadpoint 1:
[lp-1  ] INFO 2024/08/03 21:25:32   mode:        off
[lp-1  ] INFO 2024/08/03 21:25:32   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2024/08/03 21:25:32   meters:      charge ✓
[lp-1  ] INFO 2024/08/03 21:25:32     charge:    power ✓ energy ✓ currents ✓
[lp-2  ] INFO 2024/08/03 21:25:32 loadpoint 2:
[lp-2  ] INFO 2024/08/03 21:25:32   mode:        off
[lp-2  ] INFO 2024/08/03 21:25:32   charger:     power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-2  ] INFO 2024/08/03 21:25:32   meters:      charge ✓
[lp-2  ] INFO 2024/08/03 21:25:32     charge:    power ✓ energy ✓ currents ✗
[lp-3  ] INFO 2024/08/03 21:25:32 loadpoint 3:
[lp-3  ] INFO 2024/08/03 21:25:32   mode:        off
[lp-3  ] INFO 2024/08/03 21:25:32   charger:     power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-3  ] INFO 2024/08/03 21:25:32   meters:      charge ✓
[lp-3  ] INFO 2024/08/03 21:25:32     charge:    power ✓ energy ✓ currents ✗
[lp-4  ] INFO 2024/08/03 21:25:32 loadpoint 4:
[lp-4  ] INFO 2024/08/03 21:25:32   mode:        now
[lp-4  ] INFO 2024/08/03 21:25:32   charger:     power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-4  ] INFO 2024/08/03 21:25:32   meters:      charge ✓
[lp-4  ] INFO 2024/08/03 21:25:32     charge:    power ✓ energy ✓ currents ✗
[lp-5  ] INFO 2024/08/03 21:25:32 loadpoint 5:
[lp-5  ] INFO 2024/08/03 21:25:32   mode:        now
[lp-5  ] INFO 2024/08/03 21:25:32   charger:     power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-5  ] INFO 2024/08/03 21:25:32   meters:      charge ✓
[lp-5  ] INFO 2024/08/03 21:25:32     charge:    power ✓ energy ✓ currents ✗
[lp-6  ] INFO 2024/08/03 21:25:32 loadpoint 6:
[lp-6  ] INFO 2024/08/03 21:25:32   mode:        now
[lp-6  ] INFO 2024/08/03 21:25:32   charger:     power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗
[lp-6  ] INFO 2024/08/03 21:25:32   meters:      charge ✓
[lp-6  ] INFO 2024/08/03 21:25:32     charge:    power ✓ energy ✓ currents ✗
[site  ] DEBUG 2024/08/03 21:25:32 set buffer soc: 90
[site  ] DEBUG 2024/08/03 21:25:32 set buffer start soc: 0
[site  ] DEBUG 2024/08/03 21:25:32 set priority soc: 0
[site  ] DEBUG 2024/08/03 21:25:32 set battery discharge control: true
[site  ] DEBUG 2024/08/03 21:25:32 set residual power: 100
[lp-1  ] DEBUG 2024/08/03 21:25:32 set smart cost limit: 0
[lp-1  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1  ] DEBUG 2024/08/03 21:25:32 phase timer inactive
[lp-1  ] DEBUG 2024/08/03 21:25:32 pv timer inactive
[lp-2  ] DEBUG 2024/08/03 21:25:32 set smart cost limit: 0
[lp-2  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-2  ] DEBUG 2024/08/03 21:25:32 phase timer inactive
[lp-2  ] DEBUG 2024/08/03 21:25:32 pv timer inactive
[lp-2  ] INFO 2024/08/03 21:25:32 vehicle updated: unknown -> V-Bike
[lp-2  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-3  ] DEBUG 2024/08/03 21:25:32 set smart cost limit: 0
[lp-3  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-3  ] DEBUG 2024/08/03 21:25:32 phase timer inactive
[lp-3  ] DEBUG 2024/08/03 21:25:32 pv timer inactive
[lp-3  ] INFO 2024/08/03 21:25:32 vehicle updated: unknown -> WasserSG
[lp-3  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-4  ] DEBUG 2024/08/03 21:25:32 set smart cost limit: 0
[lp-4  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-4  ] DEBUG 2024/08/03 21:25:32 phase timer inactive
[lp-4  ] DEBUG 2024/08/03 21:25:32 pv timer inactive
[lp-4  ] INFO 2024/08/03 21:25:32 vehicle updated: unknown -> WasserWP
[lp-4  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-4  ] DEBUG 2024/08/03 21:25:32 max charge current: 2A
[lp-5  ] DEBUG 2024/08/03 21:25:32 set smart cost limit: 0
[lp-5  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-5  ] DEBUG 2024/08/03 21:25:32 phase timer inactive
[lp-5  ] DEBUG 2024/08/03 21:25:32 pv timer inactive
[lp-5  ] INFO 2024/08/03 21:25:32 vehicle updated: unknown -> Waschmaschine
[lp-5  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-5  ] DEBUG 2024/08/03 21:25:32 max charge current: 10A
[lp-6  ] DEBUG 2024/08/03 21:25:32 set smart cost limit: 0
[lp-6  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-6  ] DEBUG 2024/08/03 21:25:32 phase timer inactive
[lp-6  ] DEBUG 2024/08/03 21:25:32 pv timer inactive
[lp-6  ] INFO 2024/08/03 21:25:32 vehicle updated: unknown -> Trockner
[lp-6  ] DEBUG 2024/08/03 21:25:32 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 1p charger)
[lp-6  ] DEBUG 2024/08/03 21:25:32 max charge current: 10A
[site  ] WARN 2024/08/03 21:25:33 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2024/08/03 21:25:33 ----
[lp-1  ] DEBUG 2024/08/03 21:25:33 charge power: 0W
[lp-1  ] DEBUG 2024/08/03 21:25:33 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2024/08/03 21:25:33 charge power: 0W
[lp-3  ] DEBUG 2024/08/03 21:25:33 charge power: 0W
[lp-4  ] DEBUG 2024/08/03 21:25:33 charge power: 0W
[lp-5  ] DEBUG 2024/08/03 21:25:33 charge power: 0W
[lp-6  ] DEBUG 2024/08/03 21:25:33 charge power: 0W
[circuit-carport] DEBUG 2024/08/03 21:25:33 power: 0W
[circuit-carport] DEBUG 2024/08/03 21:25:33 current: 0A
[circuit-main] DEBUG 2024/08/03 21:25:33 power: 72.23W
[circuit-main] DEBUG 2024/08/03 21:25:33 current: 0.96A
[lpc   ] DEBUG 2024/08/03 21:25:33 power: 72.23W
[lpc   ] DEBUG 2024/08/03 21:25:33 current: 0.96A
[site  ] DEBUG 2024/08/03 21:25:33 pv power: 0W
[site  ] DEBUG 2024/08/03 21:25:33 battery soc: 80%
[site  ] DEBUG 2024/08/03 21:25:33 battery power: 224W
[site  ] DEBUG 2024/08/03 21:25:33 grid meter: 72W
[site  ] DEBUG 2024/08/03 21:25:33 grid powers: [-136 103 105]W
[site  ] DEBUG 2024/08/03 21:25:34 grid currents: [-0.87 0.95 0.67]A
[site  ] DEBUG 2024/08/03 21:25:34 aux power 1: 0W
[site  ] DEBUG 2024/08/03 21:25:34 aux power: 0W
[site  ] DEBUG 2024/08/03 21:25:34 site power: 396W
[lp-1  ] DEBUG 2024/08/03 21:25:34 charge voltages: [232 0 0]V
[lp-1  ] DEBUG 2024/08/03 21:25:34 detected connected phases: 1p
[lp-1  ] DEBUG 2024/08/03 21:25:34 charge total import: 1983.300kWh
[lp-1  ] DEBUG 2024/08/03 21:25:34 charger status: A
[lp-1  ] INFO 2024/08/03 21:25:34 car disconnected
[lp-1  ] DEBUG 2024/08/03 21:25:34 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1  ] DEBUG 2024/08/03 21:25:34 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1  ] DEBUG 2024/08/03 21:25:34 set session soc limit: 0
[lp-1  ] DEBUG 2024/08/03 21:25:34 set session energy limit: 0
[lp-1  ] DEBUG 2024/08/03 21:25:34 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[site  ] DEBUG 2024/08/03 21:25:43 ----

What type of operating system are you running?

Linux

Version

0.129.0 (bbf989c3)

andig commented 1 month ago

Vmtl. ähnliches Problem: HEMS zeigt "nicht konfigurert". Zu prüfen mit dieser demo.yaml Anpassung:

loadpoints:
  - title: Carport
    circuit: root
    charger: charger_1
    mode: pv
    meter: meter_charger_1
    vehicle: vehicle_1
  - title: Garage
    circuit: root
    charger: charger_2
    mode: "off"
    meter: meter_charger_2
    vehicle: vehicle_2

circuits:
  - name: root

hems:
  type: relay
  maxPower: 4200 # single SteuVE
  limit:
    source: go
    script: |
      true
andig commented 1 month ago

http://localhost:7070/api/state?jq=.circuits

{
  "root": {
    "power": 4140
  }
}

http://localhost:7070/api/config/devices/circuit

{
  "result": [
    {
      "name": "root",
      "type": ""
    }
  ]
}
naltatis commented 1 month ago

@andig @VolkerK62 das Problem tritt auf, wenn der Circuit kein Config-Object hat. In eurem konkreten Fall weil habt ihr jeweils mind. einen Circuit ohne Title. Die UI ist jetzt angepasst, dass sie damit klarkommt. ☝️

andig commented 1 month ago

@naltatis das ist nur halb behoben: der LM Circuit wird nicht angezeigt und HEMS erscheint weiterhin als "configured: no".

naltatis commented 1 month ago

der LM Circuit wird nicht angezeigt

Mehr Details bitte. Verstehe nicht was du hier meinst.

HEMS erscheint weiterhin als "configured: no".

Wenn du HEMS noch per yaml konfiguriert hast, ist das das erwartete Verhalten. Genau so funktioniert das bei den anderen Kacheln (Messaging, Influx, ...) auch. Hier wird gecheckt, ob der entsprechende Config-Endpunkt eine Konfiguration zurückliefert. Sobald du diese Punkte auch per UI konfigurierst wird configured: yes angezeigt.

thecem commented 1 month ago

grafik

Config:

site:
  - title: Home-AK3
    meters:
      grid: grid
      pv: 
        - pv2
      battery: battery
    residualPower: 100
    circuit: main

circuits:
  - name: main # eindeutiger Name, wird als Referenz für andere Circuits verwendet
    title: Hauptstromkreis # Anzeige in der UI (später)
    maxCurrent: 35
    maxPower: 24150
    meter: grid

plant: 4711

hems:
  type: relay
  maxPower: 2
  limit:
    source: http
    uri: http://hassio:8123/api/states/input_boolean.limit_14a
    method: GET # default HTTP method
    headers:
    - content-type: application/json
    - authorization: Bearer 4711
    jq: if .state == "on" then "true" else "false" end
    timeout: 3s

somit wird der lpc circuit nicht angezeigt und die config in der HEMS Kachel nicht.

Version: https://github.com/evcc-io/evcc/commit/f3be63f2

andig commented 1 month ago

Wenn du HEMS noch per yaml konfiguriert hast, ist das das erwartete Verhalten.

Ahh, das hatte ich nicht auf dem Radar. Ich dachte "yaml" würde auch angezeigt werden.

somit wird der lpc circuit nicht angezeigt und die config in der HEMS Kachel nicht.

Das liegt vmtl. daran, dass der lpc Circuit dynamisch erzeugt wird und kein echtes "Geräte" ist. PR folgt.

Hier damit kein weiterer Fehler.