evcc-io / evcc

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

Ellipro with EM24 as an external meter: With 3-phase charging, only 1/3 of the kWh is displayed. With 1-phase charging, nothing at all. #17168

Closed OJack0815 closed 3 days ago

OJack0815 commented 3 days ago

Describe the bug

I have retrofitted the Ellipro Gen1 with an external CG-EM24 ethernet meter. I have configured the EM24 as a meter in evcc.yaml. Unfortunately, EVCC only displays 1/3 of the kWh charged during a 3-phase charging process. Both on the dashboard and in the charging history. During a 1-phase charging process, no kWh are displayed on the dashboard and the charging process does not appear in the history at all. The correct current charging power in kW is always displayed on the dashboard. The control for PV surplus also works very well. What is the error that only the kWh from phase L2 or L3 are apparently integrated?

I had previously integrated the Ellipro without an external meter. The control was a bit slow at times. But the recording of the charging energy worked correctly both on the dashboard and in the history.

Steps to reproduce

  1. Install Ellipro and EM24
  2. Konfigure evcc.yaml
  3. start charging and compare kWh at evcc with kWh at victron GX.

Configuration details

meters:
- type: template
  template: cg-em24
  usage: charge
  modbus: tcpip
  id: 1
  host: 192.168.172.205
  port: 502
  name: elli_pro1

chargers: 
- type: template
  template: ellipro
  ski: .....
  ip: 192.168.172.206
  name: wallbox4

loadpoints:
- title: Garage
  charger: wallbox4
  meter: elli_pro1
  mode: pv

Log details

Unfortunately I'm not able to make a log because I'm not very good at linux.

What type of operating system are you running?

Linux

Nightly build

Version

v0.131.4

andig commented 3 days ago

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

OJack0815 commented 3 days ago

Thanks for your answer. Now I found the function to make a logfile via webui. Can this help to make a diagnostic? evcc-20241110-150508-debug.log

OJack0815 commented 3 days ago

@andig I updated to latest v0.131.5 but issue is still there. I logged out the EM24 from the victron cerbo gx but no changes. Only when I commented out it at evcc.yaml (only at loadpoints the line #meter: elli_pro1) the counting of the kWh gets correct again. At the victron cerbo gx and in the victron vrm portal the kWh are counted correct in any cases.

OJack0815 commented 3 days ago

All charging today was done with 11kW. But only the one with commented out EM24 is displayed with average power of about 11kW. Total energy today was in reality 20,8kWh. image

andig commented 3 days ago

Is your meter even 3p connected?

OJack0815 commented 3 days ago

The meter is connected 3p+n all time. If I want to charge 1p I disconnect L2 and L3 between the meter and the wallbox and change the setting in the charger menu. image

andig commented 3 days ago

Try run

evcc meter

while charging. Is that value correct?

OJack0815 commented 3 days ago

The values for power, current and voltage are correct but the value for energy is about 1/3 of the correct value. image

This is the readout from victron cerbo gx image

andig commented 3 days ago

Pls don‘t post screenshots.

OJack0815 commented 3 days ago

Ok, just a last one because it shows a readout from CarloGavazzi Configuration Software. There you can see that it looks like evcc reads the energy from L2 or L3. It's 44kWh as read at "evcc meter". image

This would explain why at 3ph charging evcc displays 1/3 and at 1ph charging on L1 evcc displays nothing.

andig commented 14 hours ago

Should be fixed in tomorrow's nightly.

OJack0815 commented 14 hours ago

Great, i'll check and report. But maybe not before sunday.