evcc-io / evcc

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

UI: 124.7 Netzbezug grau und nicht wählbar #12776

Closed rofl0815 closed 7 months ago

rofl0815 commented 7 months ago

Describe the bug

Auf der UI ist der Netzbezug zu einem bestimmten Preis nicht mehr auswählbar. Wir haben das genutzt, wenn zB bei Tibber der Strom besonders günstig war, um schnell zu laden. Das scheint seit v124.4 nicht mehr zu klappen.

Bildschirmfoto 2024-03-08 um 16 25 11

Steps to reproduce

1.install 124.4 nightly

  1. install 124.7
  2. ...

Configuration details

network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
 #levels:
  #site: debug
  #lp-1: debug
  #lp-2: debug
  #cache: error
  #db: error

sponsortoken: 

# unique installation id
# plant:

interval: 15s # control cycle interval

meters:
  - name: gridsma
    type: template
    template: sma-home-manager
    usage: grid
    host: ... # IP-Adresse oder Hostname 

chargers:
- type: template
  template: twc3 
  host: ...  
  name: wallbox4

vehicles:
- name: Fuego
  type: template
  template: tesla 
  title: Fuego  
  accessToken: ...
  refreshToken: ...
  vin: ...
  capacity: 55
  control: true
- name: Data
  type: template
  template: tesla
  title: Data  
  accessToken: ...
  refreshToken:...
  vin:  ...
  capacity: 55
  control: true

loadpoints:
- title: ...
  charger: wallbox4
  vehicle: Data
  mode: pv
#  phases: 3
#  mincurrent: 6
#  maxcurrent: 16
#  resetOnDisconnect: true

site:
  title: Mein Zuhause
  residualPower: 300 # 1000W Hausverbrauch
  meters:
    grid: gridsma

tariffs:
  currency: EUR # (default EUR)
  grid:
    # either
    type: tibber
    token: "..." # access token
#    homeid: "..."

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

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

hems:
  type: sma
  allowcontrol: false # set true to allow SHM controlling charger in PV modes
# Message config using evcc go-text-template rendering, evcc variables and sprig-functions
messaging:
  events:
    start: # charge start event
      title: Charge of {{.vehicleTitle}} started
      msg: |
        Wallbox {{.title}} started charging {{.vehicleTitle}} in {{ toString .mode | upper }} mode.
        --------------------------
        evcc Status {{printf `(%d-%02d-%02d %02d:%02d:%02d)` now.Year now.Month now.Day now.Hour now.Minute now.Second}}
        Netz-Leistung: {{round (divf .gridPower 1000) 3 }} kW
        Solar-Leistung: {{round (divf .pvPower 1000) 3 }} kW
        Eigenverbrauch: {{round (divf .homePower 1000) 3 }} kW
        {{if .batteryConfigured}}Batteriespeicher-Status: {{round (divf .batteryPower 1000) 3 }} kW ({{.batterySoc }} %){{end}}
    stop: # charge stop event
      title: Charge of {{.vehicleTitle}} finished
      msg: |
        Wallbox {{.title}} finished charging {{.vehicleTitle}} 
        with {{round (divf .chargedEnergy 1000) 2 }} kWh in {{.chargeDuration}}.
        --------------------------
        evcc Status {{printf `(%d-%02d-%02d %02d:%02d:%02d)` now.Year now.Month now.Day now.Hour now.Minute now.Second}}
        Netz-Leistung: {{round (divf .gridPower 1000) 3 }} kW
        Solar-Leistung: {{round (divf .pvPower 1000) 3 }} kW
        Eigenverbrauch: {{round (divf .homePower 1000) 3 }} kW
        {{if .batteryConfigured}}Batteriespeicher-Status: {{round (divf .batteryPower 1000) 3 }} kW ({{.batterySoc }} %){{end}}
    connect: # vehicle connect event
      title: "{{.vehicleTitle}} connected on wallbox {{.title}}"
      msg: |
        {{.vehicleTitle}} connected on wallbox {{.title}} at {{round (divf .pvPower 1000) 2 }} kW PV.
        --------------------------
        evcc Status {{printf `(%d-%02d-%02d %02d:%02d:%02d)` now.Year now.Month now.Day now.Hour now.Minute now.Second}}
        Netz-Leistung: {{round (divf .gridPower 1000) 3 }} kW
        Solar-Leistung: {{round (divf .pvPower 1000) 3 }} kW
        Eigenverbrauch: {{round (divf .homePower 1000) 3 }} kW
        {{if .batteryConfigured}}Batteriespeicher-Status: {{round (divf .batteryPower 1000) 3 }} kW ({{.batterySoc }} %){{end}}
    disconnect: # vehicle connected event
      title: "{{.vehicleTitle}} disconnected of wallbox {{.title}}"
      msg: |
        {{.vehicleTitle}} disconnected of wallbox {{.title}} after {{.connectedDuration}}.
        --------------------------
        evcc Status {{printf `(%d-%02d-%02d %02d:%02d:%02d)` now.Year now.Month now.Day now.Hour now.Minute now.Second}}
        Netz-Leistung: {{round (divf .gridPower 1000) 3 }} kW
        Solar-Leistung: {{round (divf .pvPower 1000) 3 }} kW
        Eigenverbrauch: {{round (divf .homePower 1000) 3 }} kW
        {{if .batteryConfigured}}Batteriespeicher-Status: {{round (divf .batteryPower 1000) 3 }} kW ({{.batterySoc }} %){{end}}
  services:
    - type: pushover
      app: ...
      recipients:
        - ...

Log details

[main  ] INFO 2024/03/08 16:43:25 evcc 0.124.7
[main  ] INFO 2024/03/08 16:43:25 using config file: evcc.yaml
[main  ] INFO 2024/03/08 16:43:25 starting ui and api at :7070
[db    ] INFO 2024/03/08 16:43:26 using sqlite database: /home/pi/.evcc/evcc.db
[semp  ] WARN 2024/03/08 16:43:30 SEMP_BASE_URL unspecified, using http://...:7070 instead
[site  ] INFO 2024/03/08 16:43:30 site config:
[site  ] INFO 2024/03/08 16:43:30   meters:      grid ✓ pv ✗ battery ✗
[site  ] INFO 2024/03/08 16:43:30     grid:      power ✓ energy ✓ currents ✓
[site  ] INFO 2024/03/08 16:43:30   vehicles:
[site  ] INFO 2024/03/08 16:43:30     vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓
[site  ] INFO 2024/03/08 16:43:30     vehicle 2: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓
[lp-1  ] INFO 2024/03/08 16:43:30 loadpoint 1:
[lp-1  ] INFO 2024/03/08 16:43:30   mode:        pv
[lp-1  ] INFO 2024/03/08 16:43:30   charger:     power ✓ energy ✗ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2024/03/08 16:43:30   meters:      charge ✓
[lp-1  ] INFO 2024/03/08 16:43:30     charge:    power ✓ energy ✗ currents ✓
[lp-1  ] DEBUG 2024/03/08 16:43:30 phase timer inactive
[lp-1  ] DEBUG 2024/03/08 16:43:30 pv timer inactive
[lp-1  ] INFO 2024/03/08 16:43:30 vehicle updated: unknown -> Data
[site  ] WARN 2024/03/08 16:43:30 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2024/03/08 16:43:30 ----
[lp-1  ] DEBUG 2024/03/08 16:43:30 charge power: 0W
[site  ] DEBUG 2024/03/08 16:43:30 grid meter: 830W
[site  ] DEBUG 2024/03/08 16:43:30 grid powers: [-264 1127 -33]W
[site  ] DEBUG 2024/03/08 16:43:30 grid currents: [-1.4 5 -1.36]A
[site  ] DEBUG 2024/03/08 16:43:30 pv power: 0W
[site  ] DEBUG 2024/03/08 16:43:30 site power: 1130W
[lp-1  ] DEBUG 2024/03/08 16:43:31 vehicle odometer: 20287km
[lp-1  ] DEBUG 2024/03/08 16:43:31 charge voltages: [0 4.1 0]V
[lp-1  ] DEBUG 2024/03/08 16:43:31 charge currents: [0 0.2 0.2]A
[lp-1  ] DEBUG 2024/03/08 16:43:31 charger status: B
[lp-1  ] INFO 2024/03/08 16:43:31 car connected
[lp-1  ] DEBUG 2024/03/08 16:43:31 pv timer elapse
[lp-1  ] DEBUG 2024/03/08 16:43:31 pv timer inactive
[lp-1  ] DEBUG 2024/03/08 16:43:31 vehicle status: A
[lp-1  ] DEBUG 2024/03/08 16:43:31 vehicle soc: 50%
[lp-1  ] DEBUG 2024/03/08 16:43:31 vehicle soc limit: 100%
[lp-1  ] DEBUG 2024/03/08 16:43:31 vehicle range: 200km
[lp-1  ] DEBUG 2024/03/08 16:43:31 pv charge current: 0A = 0A + -1.64A (1130W @ 3p)
[lp-1  ] DEBUG 2024/03/08 16:43:31 pv enable timer reset
[lp-1  ] DEBUG 2024/03/08 16:43:31 pv timer inactive
[site  ] DEBUG 2024/03/08 16:43:45 ----
[lp-1  ] DEBUG 2024/03/08 16:43:46 charge power: 0W
[site  ] DEBUG 2024/03/08 16:43:46 grid meter: -427W
[site  ] DEBUG 2024/03/08 16:43:46 grid powers: [-260 -116 -51]W
[site  ] DEBUG 2024/03/08 16:43:46 grid currents: [-1.4 -1.56 -1.36]A
[site  ] DEBUG 2024/03/08 16:43:46 pv power: 727W
[site  ] DEBUG 2024/03/08 16:43:46 site power: -127W
[lp-1  ] DEBUG 2024/03/08 16:43:46 vehicle odometer: 20287km
[lp-1  ] DEBUG 2024/03/08 16:43:46 charge voltages: [0 4.1 0]V
[lp-1  ] DEBUG 2024/03/08 16:43:46 charge currents: [0 0.2 0.2]A
[lp-1  ] DEBUG 2024/03/08 16:43:46 charger status: B
[lp-1  ] DEBUG 2024/03/08 16:43:46 pv charge current: 0.184A = 0A + 0.184A (-127W @ 3p)
[site  ] DEBUG 2024/03/08 16:44:00 ----
[lp-1  ] DEBUG 2024/03/08 16:44:01 charge power: 0W
[site  ] DEBUG 2024/03/08 16:44:01 grid meter: -401W
[site  ] DEBUG 2024/03/08 16:44:01 grid powers: [-257 -115 -29]W
[site  ] DEBUG 2024/03/08 16:44:01 grid currents: [-1.38 -1.54 -1.34]A
[site  ] DEBUG 2024/03/08 16:44:01 pv power: 701W
[site  ] DEBUG 2024/03/08 16:44:01 site power: -101W
[lp-1  ] DEBUG 2024/03/08 16:44:01 charge voltages: [0 4.1 0]V
[lp-1  ] DEBUG 2024/03/08 16:44:01 charge currents: [0 0.2 0.2]A
[lp-1  ] DEBUG 2024/03/08 16:44:01 charger status: B
[lp-1  ] DEBUG 2024/03/08 16:44:01 pv charge current: 0.147A = 0A + 0.147A (-101W @ 3p)
[lp-1  ] INFO 2024/03/08 16:44:05 vehicle updated: Data -> Fuego
[site  ] DEBUG 2024/03/08 16:44:15 ----
[lp-1  ] DEBUG 2024/03/08 16:44:16 charge power: 0W
[site  ] DEBUG 2024/03/08 16:44:16 grid meter: -450W
[site  ] DEBUG 2024/03/08 16:44:16 grid powers: [-260 -117 -73]W
[site  ] DEBUG 2024/03/08 16:44:16 grid currents: [-1.4 -1.51 -1.38]A
[site  ] DEBUG 2024/03/08 16:44:16 pv power: 750W
[site  ] DEBUG 2024/03/08 16:44:16 site power: -150W
[lp-1  ] DEBUG 2024/03/08 16:44:16 vehicle odometer: 23931km
[lp-1  ] DEBUG 2024/03/08 16:44:16 charge voltages: [0 4.1 0]V
[lp-1  ] DEBUG 2024/03/08 16:44:16 charge currents: [0 0.2 0.2]A
[lp-1  ] DEBUG 2024/03/08 16:44:16 charger status: B
[lp-1  ] DEBUG 2024/03/08 16:44:16 vehicle status: B
[lp-1  ] DEBUG 2024/03/08 16:44:16 vehicle soc: 100%
[lp-1  ] DEBUG 2024/03/08 16:44:16 vehicle soc limit: 100%
[lp-1  ] DEBUG 2024/03/08 16:44:16 vehicle range: 401km
[lp-1  ] DEBUG 2024/03/08 16:44:16 pv charge current: 0.217A = 0A + 0.217A (-150W @ 3p)

What type of operating system are you running?

Linux

Version

evcc version 0.124.7

andig commented 7 months ago

Die Einstellung ist jetzt je Ladepunkt.

@naltatis hier wieder die Frage, das bei nur einem LP auch an der alten Stelle anzuzeigen...

rofl0815 commented 7 months ago

Ähh…sorry, was heisst „ Die Einstellung ist jetzt je Ladepunkt.“ ?