evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Akkuparameter ΓΌber mqtt werden nicht aktualisiert

Open bofi99 opened this issue 3 years ago β€’ 1 comments

Describe the bug

Seit ca. 2 Wochen werden beim Nightly-build bei mir die Akkuparameter die ich ΓΌber mqtt und calc beziehe nicht aktualisiert. Nur beim Start des Servers werden diese ein mal korrekt ausgegeben und verΓ€ndern sich dann nicht mehr. Bisher hat das perfekt funktioniert. evcc

Steps to reproduce

  1. Start server
  2. Akkuwerte werden nicht aktualisiert 3. ...

Configuration details

- name: akku
  type: custom
  power:
    source: calc
    add:
    - source: mqtt
      topic: ........./state/ac_output_power
    - source: mqtt
      topic: ........./state/dc_input_power
      scale: -1
    - source: mqtt
      topic: ....../state/ac_input_power
      scale: -1
  soc:
    source: mqtt
    topic: ......../state/total_battery_percent

# mqtt message broker
mqtt:
  broker: localhost:1883
  topic: evcc # root topic for publishing, set empty to disable publishing
  user: ******
  password: ************

Log details

Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64

pi@raspberrypi:~ $ evcc --log debug
[main  ] INFO 2023/05/26 09:05:07 evcc 0.117.4 (f9311a10)
[main  ] INFO 2023/05/26 09:05:07 using config file: /home/pi/evcc.yaml
[main  ] WARN 2023/05/26 09:05:07 `uri` is deprecated and will be ignored. Use `network` instead.
[main  ] INFO 2023/05/26 09:05:07 starting ui and api at :7070
[db    ] INFO 2023/05/26 09:05:08 using sqlite database: /home/pi/.evcc/evcc.db
[mqtt  ] INFO 2023/05/26 09:05:08 connecting evcc-808171731 at tcp://localhost:1883
[mqtt  ] DEBUG 2023/05/26 09:05:08 tcp://localhost:1883 connected
[site  ] WARN 2023/05/26 09:05:08 deprecated: use 'pv' instead of 'pvs'
[site  ] WARN 2023/05/26 09:05:08 battery configured but residualPower is missing (add residualPower: 100 to site)
[site  ] INFO 2023/05/26 09:05:08 site config:
[site  ] INFO 2023/05/26 09:05:08   meters:      grid βœ“ pv βœ“ battery βœ“
[site  ] INFO 2023/05/26 09:05:08     grid:      power βœ“ energy βœ— currents βœ—
[site  ] INFO 2023/05/26 09:05:08     pv 1:      power βœ“ energy βœ— currents βœ—
[site  ] INFO 2023/05/26 09:05:08     pv 2:      power βœ“ energy βœ— currents βœ—
[site  ] INFO 2023/05/26 09:05:08     battery 1: power βœ“ energy βœ— currents βœ— soc βœ“ capacity βœ—
[site  ] INFO 2023/05/26 09:05:08   vehicles:
[site  ] INFO 2023/05/26 09:05:08     vehicle 1: range βœ“ finish βœ“ status βœ“ climate βœ— wakeup βœ—
[lp-1  ] INFO 2023/05/26 09:05:08 loadpoint 1:
[lp-1  ] INFO 2023/05/26 09:05:08   mode:        now
[lp-1  ] INFO 2023/05/26 09:05:08   charger:     power βœ“ energy βœ“ currents βœ“ phases βœ— wakeup βœ—
[lp-1  ] INFO 2023/05/26 09:05:08   meters:      charge βœ“
[lp-1  ] INFO 2023/05/26 09:05:08     charge:    power βœ“ energy βœ“ currents βœ“
[lp-1  ] DEBUG 2023/05/26 09:05:08 phase timer inactive
[lp-1  ] DEBUG 2023/05/26 09:05:08 pv timer inactive
[lp-1  ] DEBUG 2023/05/26 09:05:08 guard timer inactive
[lp-1  ] INFO 2023/05/26 09:05:08 vehicle updated: unknown -> Soul
[lp-1  ] DEBUG 2023/05/26 09:05:08 set charge mode: now
[lp-1  ] DEBUG 2023/05/26 09:05:08 set max current: 16
[lp-1  ] DEBUG 2023/05/26 09:05:08 set min soc: 50
[lp-1  ] DEBUG 2023/05/26 09:05:08 set target soc: 85
[site  ] DEBUG 2023/05/26 09:05:08 ----
[lp-1  ] DEBUG 2023/05/26 09:05:08 charge power: 0W
[site  ] DEBUG 2023/05/26 09:05:08 pv power: 519W
[site  ] DEBUG 2023/05/26 09:05:08 battery soc: 6%
[site  ] DEBUG 2023/05/26 09:05:08 battery power: 0W
[site  ] DEBUG 2023/05/26 09:05:08 grid power: -154W
[site  ] DEBUG 2023/05/26 09:05:08 site power: -154W
[lp-1  ] DEBUG 2023/05/26 09:05:09 vehicle odometer: 75825km
[lp-1  ] DEBUG 2023/05/26 09:05:09 charge voltages: [229 230 227]V
[lp-1  ] DEBUG 2023/05/26 09:05:09 detected connected phases: 3p
[lp-1  ] DEBUG 2023/05/26 09:05:09 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/05/26 09:05:09 charge meter total import: 12550.000kWh
[lp-1  ] DEBUG 2023/05/26 09:05:09 charger status: A
[lp-1  ] INFO 2023/05/26 09:05:09 car disconnected
[lp-1  ] DEBUG 2023/05/26 09:05:09 set charge mode: now
[lp-1  ] DEBUG 2023/05/26 09:05:09 set min current: 10
[lp-1  ] DEBUG 2023/05/26 09:05:09 set max current: 16
[lp-1  ] DEBUG 2023/05/26 09:05:09 set min soc: 0
[lp-1  ] DEBUG 2023/05/26 09:05:09 set target soc: 100
[lp-1  ] DEBUG 2023/05/26 09:05:09 set charge mode: now
[lp-1  ] DEBUG 2023/05/26 09:05:09 set max current: 16
[lp-1  ] DEBUG 2023/05/26 09:05:09 set min soc: 50
[lp-1  ] DEBUG 2023/05/26 09:05:09 set target soc: 85
[site  ] DEBUG 2023/05/26 09:05:09 ----
[lp-1  ] DEBUG 2023/05/26 09:05:09 charge power: 0W
[site  ] DEBUG 2023/05/26 09:05:09 pv power: 519W
[site  ] DEBUG 2023/05/26 09:05:09 battery soc: 6%
[site  ] DEBUG 2023/05/26 09:05:09 battery power: 0W
[site  ] DEBUG 2023/05/26 09:05:09 grid power: -159W
[site  ] DEBUG 2023/05/26 09:05:09 site power: -159W
[lp-1  ] DEBUG 2023/05/26 09:05:09 charge voltages: [230 230 227]V
[lp-1  ] DEBUG 2023/05/26 09:05:09 detected connected phases: 3p
[lp-1  ] DEBUG 2023/05/26 09:05:09 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/05/26 09:05:10 charge meter total import: 12550.000kWh
[lp-1  ] DEBUG 2023/05/26 09:05:10 charger status: A
[site  ] DEBUG 2023/05/26 09:05:18 ----
[lp-1  ] DEBUG 2023/05/26 09:05:18 charge power: 0W
[site  ] DEBUG 2023/05/26 09:05:18 pv power: 519W
[site  ] DEBUG 2023/05/26 09:05:18 battery soc: 6%
[site  ] DEBUG 2023/05/26 09:05:18 battery power: 0W
[site  ] DEBUG 2023/05/26 09:05:18 grid power: -158W
[site  ] DEBUG 2023/05/26 09:05:18 site power: -158W
[lp-1  ] DEBUG 2023/05/26 09:05:18 charge voltages: [230 230 227]V
[lp-1  ] DEBUG 2023/05/26 09:05:18 detected connected phases: 3p
[lp-1  ] DEBUG 2023/05/26 09:05:18 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/05/26 09:05:18 charge meter total import: 12550.000kWh
[lp-1  ] DEBUG 2023/05/26 09:05:19 charger status: A
[site  ] DEBUG 2023/05/26 09:05:28 ----
[lp-1  ] DEBUG 2023/05/26 09:05:28 charge power: 0W
[site  ] DEBUG 2023/05/26 09:05:28 pv power: 519W
[site  ] DEBUG 2023/05/26 09:05:28 battery soc: 6%
[site  ] DEBUG 2023/05/26 09:05:28 battery power: 0W
[site  ] DEBUG 2023/05/26 09:05:28 grid power: -158W
[site  ] DEBUG 2023/05/26 09:05:28 site power: -158W
[lp-1  ] DEBUG 2023/05/26 09:05:28 charge voltages: [230 229 227]V
[lp-1  ] DEBUG 2023/05/26 09:05:28 detected connected phases: 3p
[lp-1  ] DEBUG 2023/05/26 09:05:28 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/05/26 09:05:28 charge meter total import: 12550.000kWh
[lp-1  ] DEBUG 2023/05/26 09:05:29 charger status: A
[site  ] DEBUG 2023/05/26 09:05:38 ----

What type of operating system are you running?

Linux

Version

0.117.4

bofi99 avatar May 26 '23 07:05 bofi99

This requies an mqtt trace log. It would also be helpful to identify the broken version.

andig avatar May 26 '23 08:05 andig