evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Bug: Multiple Victron Meters not possible - same values

Open laenglea opened this issue 11 months ago • 3 comments

Describe the bug

With multiple Meters with different meterid's it's picking the value from the first and shows this everywhere:

Image Image Image

Steps to reproduce

  1. setup multiple meters with different meterid's through ekrano via modbus tcp

...

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

interval: 30s # control cycle interval

meters:
- name: grid1
  type: template
  template: victron-energy
  usage: grid
  host: 172.16.90.97
  meterid: 2
- name: wechselrichter1
  type: template
  usage: grid
  template: victron-energy
  host: 172.16.90.97
  meterid: 1
- name: wechselrichter2
  type: template
  usage: grid
  template: victron-energy
  host: 172.16.90.97
  meterid: 0


chargers:
- type: template
  template: twc3 
  host: 172.16.90.150
  name: teslabox1


vehicles:
- name: waterheater
  type: custom
  title: Boiler
  phases: 3
  soc:
    source: mqtt
    topic: pvdataevcc/sensor/boiler_temp
    timeout: 30s

loadpoints:
- title: Hausecke
  charger: teslabox1
  #  vehicle: rennate
  #- egon
  mode: pv
    #resetOnDisconnect: true
    #priority: 1


site:
  title: Mein Zuhause
  meters:
    grid: grid1
    pv:
    - wechselrichter2
    - wechselrichter1

Log details

[root@evcc evccdev]# docker compose logs -f
evccdev  | [main  ] INFO 2025/12/19 11:50:07 evcc 0.211.1
evccdev  | [main  ] INFO 2025/12/19 11:50:07 using config file: /etc/evcc.yaml
evccdev  | [main  ] INFO 2025/12/19 11:50:07 using sqlite database: /root/.evcc/evcc.db
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="sessions" -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "sessions" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` LIMIT 1 -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` 1995 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="meters" -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "meters" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `meters` LIMIT 1 -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "meters" AND name = "meter_ts" -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `settings` LIMIT 1 -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `settings` 74 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="caches" -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "caches" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `caches` LIMIT 1 -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `configs` LIMIT 1 -1 <nil>
evccdev  | [main  ] INFO 2025/12/19 11:50:07 UI listening at :7070
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `configs` WHERE `configs`.`class` = 5 0 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `configs` WHERE `configs`.`class` = 2 0 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `configs` WHERE `configs`.`class` = 1 0 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `configs` WHERE `configs`.`class` = 3 0 <nil>
evccdev  | [main  ] ERROR 2025/12/19 11:50:07 creating vehicle waterheater failed: cannot create vehicle type 'custom': soc: missing mqtt broker configuration
evccdev  | [twc3  ] TRACE 2025/12/19 11:50:07 GET http://172.16.90.150/api/1/vitals
evccdev  | [twc3  ] TRACE 2025/12/19 11:50:07 {"contactor_closed":false,"vehicle_connected":false,"session_s":0,"grid_v":234.1,"grid_hz":49.810,"vehicle_current_a":0.3,"currentA_a":0.3,"currentB_a":0.3,"currentC_a":0.0,"currentN_a":0.4,"voltageA_v":3.6,"voltageB_v":0.0,"voltageC_v":5.8,"relay_coil_v":11.9,"pcba_temp_c":11.6,"handle_temp_c":8.6,"mcu_temp_c":20.6,"uptime_s":64261,"input_thermopile_uv":-217,"prox_v":0.0,"pilot_high_v":11.9,"pilot_low_v":11.8,"session_energy_wh":0.000,"config_status":5,"evse_state":1,"current_alerts":[],"evse_not_ready_reasons":[4,8]}
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `configs` WHERE `configs`.`class` = 5 0 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="sessions" -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "sessions" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` LIMIT 1 -1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE `sessions`.`Loadpoint` = "Hausecke" AND `sessions`.`finished` = "0001-01-01 00:00:00+00:00" 9 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 452 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 481 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 490 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 504 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 505 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 506 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 507 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 508 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 SELECT * FROM `sessions` WHERE ID > 509 AND Loadpoint = "Hausecke" ORDER BY ID LIMIT 1 1 <nil>
evccdev  | [site  ] INFO 2025/12/19 11:50:07 site config:
evccdev  | [site  ] INFO 2025/12/19 11:50:07   meters:      grid ✓ pv ✓ battery ✗
evccdev  | [site  ] INFO 2025/12/19 11:50:07     grid:      power ✓ energy ✗ currents ✓
evccdev  | [site  ] INFO 2025/12/19 11:50:07     pv 1:      power ✓ energy ✗ currents ✓
evccdev  | [site  ] INFO 2025/12/19 11:50:07     pv 2:      power ✓ energy ✗ currents ✓
evccdev  | [site  ] INFO 2025/12/19 11:50:07   vehicles:
evccdev  | [site  ] INFO 2025/12/19 11:50:07     vehicle 1: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
evccdev  | [site  ] INFO 2025/12/19 11:50:07   tariffs:
evccdev  | [site  ] INFO 2025/12/19 11:50:07     grid:      ✗
evccdev  | [site  ] INFO 2025/12/19 11:50:07     feed-in:   ✗
evccdev  | [site  ] INFO 2025/12/19 11:50:07     co2:       ✗
evccdev  | [site  ] INFO 2025/12/19 11:50:07     solar:     ✓
evccdev  | [lp-1  ] INFO 2025/12/19 11:50:07 loadpoint 1:
evccdev  | [lp-1  ] INFO 2025/12/19 11:50:07   mode:        pv
evccdev  | [lp-1  ] INFO 2025/12/19 11:50:07   charger:     power ✓ energy ✗ currents ✓ phases ✗ wakeup ✗
evccdev  | [lp-1  ] INFO 2025/12/19 11:50:07   meters:      charge ✓
evccdev  | [lp-1  ] INFO 2025/12/19 11:50:07     charge:    power ✓ energy ✗ currents ✓
evccdev  | [site  ] ERROR 2025/12/19 11:50:07 battery not configured
evccdev  | [main  ] TRACE 2025/12/19 11:50:07 GET https://api.github.com/repos/evcc-io/evcc/releases/latest
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 phase timer inactive
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 pv timer inactive
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 ----
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 charge power: 0W
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 charge currents: [0.3 0.3 0]A
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: send 00 01 00 00 00 06 64 04 03 34 00 01
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: recv 00 01 00 00 00 05 64 04 02 fe b1
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: send 00 02 00 00 00 06 64 04 03 35 00 01
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: recv 00 02 00 00 00 05 64 04 02 00 7c
evccdev  | [wechselrichter1] TRACE 2025/12/19 11:50:07 modbus: send 00 03 00 00 00 06 64 04 03 34 00 01
evccdev  | [wechselrichter1] TRACE 2025/12/19 11:50:07 modbus: recv 00 03 00 00 00 05 64 04 02 fe b1
evccdev  | [wechselrichter2] TRACE 2025/12/19 11:50:07 modbus: send 00 04 00 00 00 06 64 04 03 34 00 01
evccdev  | [wechselrichter2] TRACE 2025/12/19 11:50:07 modbus: recv 00 04 00 00 00 05 64 04 02 fe b1
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: send 00 05 00 00 00 06 64 04 03 36 00 01
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: recv 00 05 00 00 00 05 64 04 02 01 25
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 grid power: 82W
evccdev  | [wechselrichter1] TRACE 2025/12/19 11:50:07 modbus: send 00 06 00 00 00 06 64 04 03 35 00 01
evccdev  | [wechselrichter1] TRACE 2025/12/19 11:50:07 modbus: recv 00 06 00 00 00 05 64 04 02 00 7c
evccdev  | [wechselrichter2] TRACE 2025/12/19 11:50:07 modbus: send 00 07 00 00 00 06 64 04 03 35 00 01
evccdev  | [wechselrichter2] TRACE 2025/12/19 11:50:07 modbus: recv 00 07 00 00 00 05 64 04 02 00 7c
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: send 00 08 00 00 00 06 02 04 0a 39 00 01
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: recv 00 08 00 00 00 05 02 04 02 ff e2
evccdev  | [wechselrichter1] TRACE 2025/12/19 11:50:07 modbus: send 00 09 00 00 00 06 64 04 03 36 00 01
evccdev  | [wechselrichter1] TRACE 2025/12/19 11:50:07 modbus: recv 00 09 00 00 00 05 64 04 02 01 25
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 pv 2 power: 82W
evccdev  | [wechselrichter2] TRACE 2025/12/19 11:50:07 modbus: send 00 0a 00 00 00 06 64 04 03 36 00 01
evccdev  | [wechselrichter2] TRACE 2025/12/19 11:50:07 modbus: recv 00 0a 00 00 00 05 64 04 02 01 25
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 pv 1 power: 82W
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 pv power: 164W
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 !! solar production: accumulate add wechselrichter2 0.000W power (was: Accumulated: 0.000kWh updated: 0001-01-01 00:00:00 +0000 UTC)
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 !! solar production: accumulate moved wechselrichter2 from 0.000 to 0.000
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 !! solar production: accumulate add wechselrichter1 0.000W power (was: Accumulated: 0.000kWh updated: 0001-01-01 00:00:00 +0000 UTC)
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 !! solar production: accumulate moved wechselrichter1 from 0.000 to 0.000
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: send 00 0b 00 00 00 06 02 04 0a 3b 00 01
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: recv 00 0b 00 00 00 05 02 04 02 00 20
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: send 00 0c 00 00 00 06 02 04 0a 3d 00 01
evccdev  | [grid1 ] TRACE 2025/12/19 11:50:07 modbus: recv 00 0c 00 00 00 05 02 04 02 00 1d
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 grid currents: [-3 3.2 2.9]A
evccdev  | [site  ] DEBUG 2025/12/19 11:50:07 site power: 82W
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 charge voltages: [3.6 0 5.8]V
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 charger status: A
evccdev  | [lp-1  ] INFO 2025/12/19 11:50:07 car disconnected
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 set battery boost: false
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 set session soc limit: 0
evccdev  | [lp-1  ] DEBUG 2025/12/19 11:50:07 set session energy limit: 0
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * solar_percentage) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-11-19 11:50:07.316" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-11-19 11:50:07.316" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * price_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-11-19 11:50:07.316" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND price_per_kwh IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * co2_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-11-19 11:50:07.316" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND co2_per_kwh IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * solar_percentage) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2024-12-19 11:50:07.317" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2024-12-19 11:50:07.317" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * price_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2024-12-19 11:50:07.317" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND price_per_kwh IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * co2_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2024-12-19 11:50:07.317" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND co2_per_kwh IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * solar_percentage) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-01-01 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-01-01 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * price_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-01-01 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND price_per_kwh IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * co2_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "2025-01-01 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND co2_per_kwh IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * solar_percentage) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "0000-00-00 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "0000-00-00 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND solar_percentage IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * price_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "0000-00-00 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND price_per_kwh IS NOT NULL 1 <nil>
evccdev  | [db    ] TRACE 2025/12/19 11:50:07 
evccdev  | 		SELECT COALESCE(SUM(charged_kwh * co2_per_kwh) / SUM(charged_kwh), 0)
evccdev  | 		FROM sessions
evccdev  | 		WHERE finished >= "0000-00-00 00:00:00" 
evccdev  | 		AND charged_kwh > 0 
evccdev  | 		AND co2_per_kwh IS NOT NULL 1 <nil>
evccdev  | [main  ] TRACE 2025/12/19 11:50:07 {"url":"https://api.github.com/repos/evcc-io/evcc/releases/269102466","assets_url":"https://api.github.com/repos/evcc-io/evcc/releases/269102466/assets","upload_url":"https://uploads.github.com/repos/evcc-io/evcc/releases/269102466/assets{?name,label}","html_url":"https://github.com/evcc-io/evcc/releases/tag/0.211.1","id":269102466,"author":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","user_view_type":"public","site_admin":false},"node_id":"RE_kwDODX4bUs4QCi2C","tag_name":"0.211.1","target_commitish":"master","name":"0.211.1","draft":false,"immutable":false,"prerelease":false,"created_at":"2025-12-10T08:59:16Z","updated_at":"2025-12-10T12:34:46Z","published_at":"2025-12-10T12:25:19Z","assets":[{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/326873053","id":326873053,"node_id":"RA_kwDODX4bUs4Te6_d","name":"checksums.txt","label":"","uploader":{"login":"naltatis","id":152287,"node_id":"MDQ6VXNlcjE1MjI4Nw==","avatar_url":"https://avatars.githubusercontent.com/u/152287?v=4","gravatar_id":"","url":"https://api.github.com/users/naltatis","html_url":"https://github.com/naltatis","followers_url":"https://api.github.com/users/naltatis/followers","following_url":"https://api.github.com/users/naltatis/following{/other_user}","gists_url":"https://api.github.com/users/naltatis/gists{/gist_id}","starred_url":"https://api.github.com/users/naltatis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naltatis/subscriptions","organizations_url":"https://api.github.com/users/naltatis/orgs","repos_url":"https://api.github.com/users/naltatis/repos","events_url":"https://api.github.com/users/naltatis/events{/privacy}","received_events_url":"https://api.github.com/users/naltatis/received_events","type":"User","user_view_type":"public","site_admin":false},"content_type":"text/plain; charset=utf-8","state":"uploaded","size":754,"digest":"sha256:e0acc5aac84f862b9740920dfeb08dad97aa856b51468d093f3e684b2c43e82e","download_count":8,"created_at":"2025-12-10T12:34:46Z","updated_at":"2025-12-10T12:34:46Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.211.1/checksums.txt"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/326873048","id":326873048,"node_id":"RA_kwDODX4bUs4Te6_Y","name":"evcc_0.211.1_amd64.deb","label":"","uploader":{"login":"naltatis","id":152287,"node_id":"MDQ6VXNlcjE1MjI4Nw==","avatar_url":"https://avatars.githubusercontent.com/u/152287?v=4","gravatar_id":"","url":"https://api.github.com/users/naltatis","html_url":"https://github.com/naltatis","followers_url":"https://api.github.com/users/naltatis/followers","following_url":"https://api.github.com/users/naltatis/following{/other_user}","gists_url":"https://api.github.com/users/naltatis/gists{/gist_id}","starred_url":"https://api.github.com/users/naltatis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naltatis/subscriptions","organizations_url":"https://api.github.com/users/naltatis/orgs","repos_url":"https://api.github.com/users/naltatis/repos","events_url":"https://api.github.com/users/naltatis/events{/privacy}","received_events_url":"https://api.github.com/users/naltatis/received_events","type":"User","user_view_type":"public","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":27049842,"digest":"sha256:05682304642e43ef73eb41d80d5d1bddde99ccc562522a67f576a6a41e27e77d","download_count":16,"created_at":"2025-12-10T12:34:45Z","updated_at":"2025-12-10T12:34:46Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.211.1/evcc_0.211.1_amd64.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/326873050","id":326873050,"node_id":"RA_kwDODX4bUs4Te6_a","name":"evcc_0.211.1_arm64.deb","label":"","uploader":{"login":"naltatis","id":152287,"node_id":"MDQ6VXNlcjE1MjI4Nw==","avatar_url":"https://avatars.githubusercontent.com/u/152287?v=4","gravatar_id":"","url":"https://api.github.com/users/naltatis","html_url":"https://github.com/naltatis","followers_url":"https://api.github.com/users/naltatis/followers","following_url":"https://api.github.com/users/naltatis/following{/other_user}","gists_url":"https://api.github.com/users/naltatis/gists{/gist_id}","starred_url":"https://api.github.com/users/naltatis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naltatis/subscriptions","organizations_url":"https://api.github.com/users/naltatis/orgs","repos_url":"https://api.github.com/users/naltatis/repos","events_url":"https://api.github.com/users/naltatis/events{/privacy}","received_events_url":"https://api.github.com/users/naltatis/received_events","type":"User","user_view_type":"public","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":24860696,"digest":"sha256:9388f1cf7f1ff602c3be4540c4a80ecca860c2370124f917ec5ac944cbe8c2bf","download_count":7,"created_at":"2025-12-10T12:34:45Z","updated_at":"2025-12-10T12:34:46Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.211.1/evcc_0.211.1_arm64.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/326873041","id":326873041,"node_id":"RA_kwDODX4bUs4Te6_R","name":"evcc_0.211.1_armhf.deb","label":"","uploader":{"login":"naltatis","id":152287,"node_id":"MDQ6VXNlcjE1MjI4Nw==","avatar_url":"https://avatars.githubusercontent.com/u/152287?v=4","gravatar_id":"","url":"https://api.github.com/users/naltatis","html_url":"https://github.com/naltatis","followers_url":"https://api.github.com/users/naltatis/followers","following_url":"https://api.github.com/users/naltatis/following{/other_user}","gists_url":"https://api.github.com/users/naltatis/gists{/gist_id}","starred_url":"https://api.github.com/users/naltatis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naltatis/subscriptions","organizations_url":"https://api.github.com/users/naltatis/orgs","repos_url":"https://api.github.com/users/naltatis/repos","events_url":"https://api.github.com/users/naltatis/events{/privacy}","received_events_url":"https://api.github.com/users/naltatis/received_events","type":"User","user_view_type":"public","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":25824982,"digest":"sha256:1dc4efd7b8b0b81e0676b02fe761359d7097f57dbf8495a8a831daad21899309","download_count":29,"created_at":"2025-12-10T12:34:43Z","updated_at":"2025-12-10T12:34:44Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.211.1/evcc_0.211.1_armhf.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/326873026","id":326873026,"node_id":"RA_kwDODX4bUs4Te6_C","name":"evcc_0.211.1_linux-amd64.tar.gz","label":"","uploader":{"login":"naltatis","id":152287,"node_id":"MDQ6VXNlcjE1MjI4Nw==","avatar_url":"https://avatars.githubusercontent.com/u/152287?v=4","gravatar_id":"","url":"https://api.github.com/users/naltatis","html_url":"https://github.com/naltatis","followers_url":"https://api.github.com/users/naltatis/followers","following_url":"https://api.github.com/users/naltatis/following{/other_user}","gists_url":"https://api.github.com/users/naltatis/gists{/gist_id}","starred_url":"https://api.github.com/users/naltatis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naltatis/subscriptions","organizations_ur
evccdev  | [httpd ] TRACE 2025/12/19 11:50:09 GET /ws
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/polyfills-CL1bi0YC.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/index-KYc_kYco.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/index-d14F2Yqw.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /ws
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/Main-CeCTuBXv.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/TopNavigationArea-D-wsL0QD.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/batterythreequarters-DnYR0P4i.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/angledoublerightsmall-CJeLb7c5.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/checkmark-DibzaFHf.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/TopNavigationArea-BLfboSqU.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/MultiSelect-DqnsejVL.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/batterythreequarters-CiLFc6BI.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/deepEqual-DB6L2s-b.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/angledoublerightsmall-DFGRdZeZ.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:13 GET /assets/Main-BcM3u3u6.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:15 GET /api/auth/status
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/polyfills-CL1bi0YC.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/index-d14F2Yqw.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/index-KYc_kYco.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/TopNavigationArea-D-wsL0QD.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/Main-CeCTuBXv.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/batterythreequarters-DnYR0P4i.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/angledoublerightsmall-CJeLb7c5.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/MultiSelect-DqnsejVL.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/checkmark-DibzaFHf.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/deepEqual-DB6L2s-b.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/TopNavigationArea-BLfboSqU.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/angledoublerightsmall-DFGRdZeZ.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/batterythreequarters-CiLFc6BI.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /ws
evccdev  | [httpd ] TRACE 2025/12/19 11:50:20 GET /assets/Main-BcM3u3u6.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:22 GET /api/auth/status
evccdev  | [httpd ] TRACE 2025/12/19 11:50:23 GET /
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/polyfills-CL1bi0YC.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/index-KYc_kYco.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/index-d14F2Yqw.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/Main-CeCTuBXv.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /ws
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/TopNavigationArea-D-wsL0QD.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/TopNavigationArea-BLfboSqU.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/batterythreequarters-DnYR0P4i.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/batterythreequarters-CiLFc6BI.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/angledoublerightsmall-CJeLb7c5.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/angledoublerightsmall-DFGRdZeZ.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/checkmark-DibzaFHf.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/MultiSelect-DqnsejVL.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/deepEqual-DB6L2s-b.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:24 GET /assets/Main-BcM3u3u6.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:26 GET /api/auth/status
evccdev  | [httpd ] TRACE 2025/12/19 11:50:28 GET /
evccdev  | [httpd ] TRACE 2025/12/19 11:50:28 GET /assets/polyfills-CL1bi0YC.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:28 GET /assets/index-KYc_kYco.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:28 GET /assets/index-d14F2Yqw.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /ws
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/Main-CeCTuBXv.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/TopNavigationArea-D-wsL0QD.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/TopNavigationArea-BLfboSqU.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/batterythreequarters-DnYR0P4i.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/batterythreequarters-CiLFc6BI.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/angledoublerightsmall-CJeLb7c5.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/angledoublerightsmall-DFGRdZeZ.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/checkmark-DibzaFHf.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/MultiSelect-DqnsejVL.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/deepEqual-DB6L2s-b.js
evccdev  | [httpd ] TRACE 2025/12/19 11:50:29 GET /assets/Main-BcM3u3u6.css
evccdev  | [httpd ] TRACE 2025/12/19 11:50:30 GET /api/auth/status

What type of operating system or environment does evcc run on?

Docker container

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

/app # evcc -v evcc version 0.211.1 (850c18350)

laenglea avatar Dec 19 '25 10:12 laenglea

You have three times the usage: grid. Does it work when you use usage: pv for the inverter meters.

StefanSchoof avatar Dec 19 '25 11:12 StefanSchoof

You have three times the usage: grid. Does it work when you use usage: pv for the inverter meters.

Kind of. Now i have a different value for grid and value.

Image Image

This is now the combined value.

so basically i need 1 item for grid and 1 item for pv

laenglea avatar Dec 19 '25 11:12 laenglea

I am going to close the Bug as it's doing exactly what it should - gives out the pv values.

My working configuration:

`meters:

  • name: grid type: template template: victron-energy usage: grid host: 172.16.90.97
  • name: wechselrichter type: template usage: pv template: victron-energy host: 172.16.90.97`

Thank's @StefanSchoof for this superfast response

laenglea avatar Dec 19 '25 11:12 laenglea