evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Ginlog Solis Hybrid inverter : Incorrect power values (32-bit overflow) when battery is discharging + Modbus timeouts

Open MartMel opened this issue 8 months ago • 10 comments

Describe the bug

When using a Solis hybrid inverter via Modbus TCP in EVCC, battery power values become extremely large when the battery is discharging.

Instead of showing a negative value (discharge), EVCC reports values around:

~4,295 MW ~4,294,961 kW

This strongly suggests a 32-bit unsigned integer overflow, where negative values are interpreted as large positive numbers.

The issue only occurs during battery discharge. When the battery is idle or charging, values are correct.

-- Also observing intermittent Modbus errors - but it does not seem to be linked to previous issue. It seems linked to polling rate as it happens less if I'm not polling for the meter, inverter and battery. Using the modbus proxy did not help. Network is wired and reliable Log line : grid currents: read failed: read tcp 172.21.0.2:50314->10.10.12.30:502: i/o timeout

Steps to reproduce

Connect EVCC to a Solis hybrid inverter via Modbus TCP Configure battery, grid, and PV via the Solis integration Let the battery discharge Observe reported battery power in EVCC

Configuration details

[main  ] INFO 2026/04/02 06:54:28 using config file: /etc/evcc.yaml
[main  ] INFO 2026/04/02 06:54:28 using sqlite database: /root/.evcc/evcc.db?_pragma=busy_timeout(5000)
charger
---
(...)

meter
---
(...)
db:75 {Type:template Title: Icon: Product:Ginlong Solis Hybrid Inverter (S Series)} map[baudrate:9600 comset:8N1 host:10.10.12.30 id:1 maxacpower:0 modbus:tcpip port:502 template:solis-hybrid-s usage:grid]
db:76 {Type:template Title:Onduleur Icon: Product:Ginlong Solis Hybrid Inverter (S Series)} map[baudrate:9600 comset:8N1 host:10.10.12.30 id:1 maxacpower:30000 modbus:tcpip port:502 template:solis-hybrid-s usage:pv]
db:83 {Type:template Title:Absen Battery Icon: Product:Ginlong Solis Hybrid Inverter (S Series)} map[baudrate:9600 capacity:61.44 comset:8N1 host:10.10.12.30 id:1 maxacpower:0 maxchargepower:30000 maxdischargepower:30000 maxsoc:90 minsoc:25 modbus:tcpip port:502 template:solis-hybrid-s usage:battery]

tariff
---
(...)

loadpoint
---
(..)

Log details

[site ] DEBUG 2026/04/02 06:43:10 site power: 4294966696W
[lp-3 ] DEBUG 2026/04/02 06:43:10 charge voltages: [237 237 237]V
[lp-3 ] DEBUG 2026/04/02 06:43:11 charge total import: 3982.465kWh
[lp-3 ] DEBUG 2026/04/02 06:43:11 charger status: A
[lp-3 ] INFO 2026/04/02 06:43:11 car disconnected
[lp-3 ] DEBUG 2026/04/02 06:43:11 set battery boost: false
[lp-3 ] DEBUG 2026/04/02 06:43:11 set session soc limit: 0
[lp-3 ] DEBUG 2026/04/02 06:43:11 set session energy limit: 0
[site ] DEBUG 2026/04/02 06:43:11 solar forecast: accumulated 0.000Wh from 2026-04-02 06:42:48 +0200 CEST to 2026-04-02 06:43:11 +0200 CEST
[site ] DEBUG 2026/04/02 06:43:11 solar forecast: produced 2003.054
[site ] DEBUG 2026/04/02 06:43:11 solar forecast: accumulated 2612.129kWh, produced 2003.054kWh, scale 0.767
[site ] DEBUG 2026/04/02 06:43:17 ----
[lp-1 ] DEBUG 2026/04/02 06:43:17 charge power: 0W
[lp-4 ] DEBUG 2026/04/02 06:43:17 charge power: 0W
[lp-2 ] DEBUG 2026/04/02 06:43:17 charge power: 0W
[lp-1 ] DEBUG 2026/04/02 06:43:17 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2026/04/02 06:43:17 charge currents: [0 0 0]A
[lp-2 ] DEBUG 2026/04/02 06:43:17 charge currents: [0 0 0]A
[lp-3 ] DEBUG 2026/04/02 06:43:17 charge power: 0W
[lp-3 ] DEBUG 2026/04/02 06:43:17 charge currents: [0 0 0]A
[circuit-borne_double] DEBUG 2026/04/02 06:43:17 power: 0W
[circuit-borne_double] DEBUG 2026/04/02 06:43:17 current: 0A
[circuit-main] DEBUG 2026/04/02 06:43:22 power: -0W
[circuit-main] DEBUG 2026/04/02 06:43:22 current: 3.21A
[site ] DEBUG 2026/04/02 06:43:22 ext 2 power: 164W
[site ] DEBUG 2026/04/02 06:43:22 ext 3 power: 5W
[site ] DEBUG 2026/04/02 06:43:22 ext 12 power: 2W
[site ] DEBUG 2026/04/02 06:43:22 ext 1 power: 1217W
[site ] DEBUG 2026/04/02 06:43:22 ext 13 power: 2W
[site ] DEBUG 2026/04/02 06:43:22 ext 5 power: 3W
[site ] DEBUG 2026/04/02 06:43:22 ext 21 power: 0W
[site ] DEBUG 2026/04/02 06:43:22 ext 14 power: 1W
[site ] DEBUG 2026/04/02 06:43:22 ext 6 power: 8W
[site ] DEBUG 2026/04/02 06:43:22 ext 20 power: 187W
[site ] DEBUG 2026/04/02 06:43:22 ext 4 power: 8W
[site ] DEBUG 2026/04/02 06:43:22 ext 7 power: 0W
[site ] DEBUG 2026/04/02 06:43:22 ext 18 power: 1W
[site ] DEBUG 2026/04/02 06:43:22 ext 19 power: 0W
[site ] DEBUG 2026/04/02 06:43:22 ext 9 power: 0W
[site ] DEBUG 2026/04/02 06:43:22 ext 16 power: 0W
[site ] DEBUG 2026/04/02 06:43:22 ext 8 power: 22W
[site ] DEBUG 2026/04/02 06:43:22 ext 15 power: 12W
[site ] DEBUG 2026/04/02 06:43:22 ext 17 power: 0W
[site ] DEBUG 2026/04/02 06:43:22 ext 10 power: 40W
[site ] DEBUG 2026/04/02 06:43:22 ext 11 power: 0W
[site ] DEBUG 2026/04/02 06:43:22 grid power: -0W
[site ] DEBUG 2026/04/02 06:43:24 pv 1 power: 0W
[site ] DEBUG 2026/04/02 06:43:26 battery 1 power: 4294966596W
[site ] DEBUG 2026/04/02 06:43:26 !! solar production: accumulate set db:76 2112.000kWh meter total (was: Accumulated: 2003.054kWh updated: 2026-04-02 06:43:02 +0200 CEST meter: 2112.000kWh)
[site ] DEBUG 2026/04/02 06:43:26 !! solar production: accumulate moved db:76 from 2003.054 to 2003.054
[site ] DEBUG 2026/04/02 06:43:27 grid powers: [-344 476 -93]W
[site ] DEBUG 2026/04/02 06:43:29 battery 1 soc: 84%
[site ] DEBUG 2026/04/02 06:43:31 grid currents: [-3 3.28 -2.59]A
[site ] DEBUG 2026/04/02 06:43:31 site power: 4294966596W
[lp-4 ] DEBUG 2026/04/02 06:43:31 charge voltages: [237 237 237]V
[lp-4 ] DEBUG 2026/04/02 06:43:31 charge total import: 1919.770kWh
[lp-4 ] DEBUG 2026/04/02 06:43:32 charger status: A
[lp-4 ] INFO 2026/04/02 06:43:32 car disconnected
[lp-4 ] DEBUG 2026/04/02 06:43:32 set battery boost: false
[lp-4 ] DEBUG 2026/04/02 06:43:32 set session soc limit: 0
[lp-4 ] DEBUG 2026/04/02 06:43:32 set session energy limit: 0
[site ] DEBUG 2026/04/02 06:43:32 solar forecast: accumulated 0.000Wh from 2026-04-02 06:43:11 +0200 CEST to 2026-04-02 06:43:32 +0200 CEST
[site ] DEBUG 2026/04/02 06:43:32 solar forecast: produced 2003.054
[site ] DEBUG 2026/04/02 06:43:32 solar forecast: accumulated 2612.129kWh, produced 2003.054kWh, scale 0.767
[site ] DEBUG 2026/04/02 06:43:47 ----
[lp-1 ] DEBUG 2026/04/02 06:43:47 charge power: 0W
[lp-4 ] DEBUG 2026/04/02 06:43:47 charge power: 0W
[lp-2 ] DEBUG 2026/04/02 06:43:47 charge power: 0W
[lp-1 ] DEBUG 2026/04/02 06:43:47 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2026/04/02 06:43:47 charge currents: [0 0 0]A
[lp-2 ] DEBUG 2026/04/02 06:43:47 charge currents: [0 0 0]A
[lp-3 ] DEBUG 2026/04/02 06:43:47 charge power: 0W
[lp-3 ] DEBUG 2026/04/02 06:43:47 charge currents: [0 0 0]A
[circuit-borne_double] DEBUG 2026/04/02 06:43:47 power: 0W
[circuit-borne_double] DEBUG 2026/04/02 06:43:47 current: 0A
[circuit-main] DEBUG 2026/04/02 06:43:52 power: -0W
[circuit-main] DEBUG 2026/04/02 06:43:52 current: 3.37A
[site ] DEBUG 2026/04/02 06:43:52 ext 1 power: 1057W
[site ] DEBUG 2026/04/02 06:43:52 ext 9 power: 0W
[site ] DEBUG 2026/04/02 06:43:52 ext 21 power: 0W
[site ] DEBUG 2026/04/02 06:43:52 ext 7 power: 0W
[site ] DEBUG 2026/04/02 06:43:52 ext 6 power: 8W
[site ] DEBUG 2026/04/02 06:43:52 ext 11 power: 0W
[site ] DEBUG 2026/04/02 06:43:52 ext 14 power: 1W
[site ] DEBUG 2026/04/02 06:43:52 ext 3 power: 5W
[site ] DEBUG 2026/04/02 06:43:52 ext 15 power: 12W
[site ] DEBUG 2026/04/02 06:43:52 ext 8 power: 22W
[site ] DEBUG 2026/04/02 06:43:52 ext 19 power: 0W
[site ] DEBUG 2026/04/02 06:43:52 ext 12 power: 2W
[site ] DEBUG 2026/04/02 06:43:52 ext 16 power: 0W
[site ] DEBUG 2026/04/02 06:43:52 ext 2 power: 164W
[site ] DEBUG 2026/04/02 06:43:52 ext 20 power: 187W
[site ] DEBUG 2026/04/02 06:43:52 ext 18 power: 1W
[site ] DEBUG 2026/04/02 06:43:52 ext 17 power: 0W
[site ] DEBUG 2026/04/02 06:43:52 ext 13 power: 2W
[site ] DEBUG 2026/04/02 06:43:52 ext 4 power: 8W
[site ] DEBUG 2026/04/02 06:43:52 ext 10 power: 40W
[site ] DEBUG 2026/04/02 06:43:52 ext 5 power: 3W
[site ] DEBUG 2026/04/02 06:43:52 grid power: -0W
[site ] DEBUG 2026/04/02 06:43:54 pv 1 power: 0W
[site ] DEBUG 2026/04/02 06:43:56 !! solar production: accumulate set db:76 2112.000kWh meter total (was: Accumulated: 2003.054kWh updated: 2026-04-02 06:43:26 +0200 CEST meter: 2112.000kWh)
[site ] DEBUG 2026/04/02 06:43:56 !! solar production: accumulate moved db:76 from 2003.054 to 2003.054
[site ] DEBUG 2026/04/02 06:43:56 battery 1 power: 4294966596W
[site ] DEBUG 2026/04/02 06:43:57 grid powers: [-385 550 -128]W
[site ] DEBUG 2026/04/02 06:44:00 grid currents: [-3.05 3.27 -2.6]A
[site ] DEBUG 2026/04/02 06:44:01 battery 1 soc: 84%
[site ] DEBUG 2026/04/02 06:44:01 site power: 4294966596W
[lp-1 ] DEBUG 2026/04/02 06:44:01 charge voltages: [236 0 0]V
[lp-1 ] DEBUG 2026/04/02 06:44:01 detected connected phases: 1p
[lp-1 ] DEBUG 2026/04/02 06:44:02 charge total import: 4436.944kWh
[lp-1 ] DEBUG 2026/04/02 06:44:02 charger status: A
[site ] DEBUG 2026/04/02 06:44:02 solar forecast: accumulated 0.000Wh from 2026-04-02 06:43:32 +0200 CEST to 2026-04-02 06:44:02 +0200 CEST
[site ] DEBUG 2026/04/02 06:44:02 solar forecast: produced 2003.054
[site ] DEBUG 2026/04/02 06:44:02 solar forecast: accumulated 2612.129kWh, produced 2003.054kWh, scale 0.767
[site ] DEBUG 2026/04/02 06:44:17 ----

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

evcc version 0.303.2

MartMel avatar Apr 02 '26 04:04 MartMel

@premultiply this looks like https://github.com/evcc-io/evcc/pull/25696 that we keep changing back and forth?

andig avatar Apr 02 '26 06:04 andig

@MartMel can you do a

evcc meter --log trace,db:error 

to show the problem?

andig avatar Apr 03 '26 12:04 andig

Hello @andig

I unfortunately do not know how to get that information for you : sudo docker exec -it evcc evcc meter --log trace,db:error

[main  ] INFO 2026/04/03 14:33:19 using config file: /etc/evcc.yaml
[main  ] INFO 2026/04/03 14:33:19 using sqlite database: /root/.evcc/evcc.db?_pragma=busy_timeout(5000)
[eebus ] INFO 2026/04/03 14:33:19 Local SKI: 50f107ec7c270d164cc7b406c8bed4bf64d74d3a
[eebus ] ERROR 2026/04/03 14:33:19 websocket server error: listen tcp :4712: bind: address already in use

Here is what I could get, would this be enough ? The sun is unfortunately shining and the battery charging and the bug. I can't reproduce the issue at the moment. I'll check again tonight.

sudo docker logs evcc

(...)
[main  ] INFO 2026/04/03 13:15:48 evcc was stopped by user. OS should restart the service. Or restart manually.
[main  ] INFO 2026/04/03 13:15:49 evcc 0.303.2
[main  ] INFO 2026/04/03 13:15:49 using config file: /etc/evcc.yaml
[main  ] INFO 2026/04/03 13:15:49 using sqlite database: /root/.evcc/evcc.db?_pragma=busy_timeout(5000)
[eebus ] INFO 2026/04/03 13:15:49 Local SKI: 50f107ec7c270d164cc7b406c8bed4bf64d74d3a
[main  ] INFO 2026/04/03 13:15:49 OCPP local url:    ws://127.0.0.1:8887/<stationId>
[main  ] INFO 2026/04/03 13:15:49 UI local url:      http://127.0.0.1:7070
[main  ] INFO 2026/04/03 13:15:49 UI external url:   http://10.10.10.10:7070
[site  ] INFO 2026/04/03 13:15:53 site config:
[site  ] INFO 2026/04/03 13:15:53   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2026/04/03 13:15:53     grid:      power ✓ energy ✓ currents ✓
[site  ] INFO 2026/04/03 13:15:53     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2026/04/03 13:15:53     battery 1: power ✓ energy ✓ currents ✗ soc ✓ capacity ✓
[site  ] INFO 2026/04/03 13:15:53   tariffs:
[site  ] INFO 2026/04/03 13:15:53     grid:      priceforecast
[site  ] INFO 2026/04/03 13:15:53     feed-in:   priceforecast
[site  ] INFO 2026/04/03 13:15:53     co2:       ✓
[site  ] INFO 2026/04/03 13:15:53     solar:     ✓
[lp-1  ] INFO 2026/04/03 13:15:53 loadpoint 1:
[lp-1  ] INFO 2026/04/03 13:15:53   mode:        minpv
[lp-1  ] INFO 2026/04/03 13:15:53   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2026/04/03 13:15:53   meters:      charge ✓
[lp-1  ] INFO 2026/04/03 13:15:53     charge:    power ✓ energy ✓ currents ✓
[lp-2  ] INFO 2026/04/03 13:15:53 loadpoint 2:
[lp-2  ] INFO 2026/04/03 13:15:53   mode:        minpv
[lp-2  ] INFO 2026/04/03 13:15:53   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-2  ] INFO 2026/04/03 13:15:53   meters:      charge ✓
[lp-2  ] INFO 2026/04/03 13:15:53     charge:    power ✓ energy ✓ currents ✓
[lp-3  ] INFO 2026/04/03 13:15:53 loadpoint 3:
[lp-3  ] INFO 2026/04/03 13:15:53   mode:        minpv
[lp-3  ] INFO 2026/04/03 13:15:53   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-3  ] INFO 2026/04/03 13:15:53   meters:      charge ✓
[lp-3  ] INFO 2026/04/03 13:15:53     charge:    power ✓ energy ✓ currents ✓
[lp-4  ] INFO 2026/04/03 13:15:53 loadpoint 4:
[lp-4  ] INFO 2026/04/03 13:15:53   mode:        minpv
[lp-4  ] INFO 2026/04/03 13:15:53   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-4  ] INFO 2026/04/03 13:15:53   meters:      charge ✓
[lp-4  ] INFO 2026/04/03 13:15:53     charge:    power ✓ energy ✓ currents ✓
[lp-5  ] INFO 2026/04/03 13:15:53 loadpoint 5:
[lp-5  ] INFO 2026/04/03 13:15:53   mode:        now
[lp-5  ] INFO 2026/04/03 13:15:53   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-5  ] INFO 2026/04/03 13:15:53   meters:      charge ✓
[lp-5  ] INFO 2026/04/03 13:15:53     charge:    power ✓ energy ✓ currents ✓
[main  ] INFO 2026/04/03 13:15:53 new version available: 0.304.0
[lp-1  ] INFO 2026/04/03 13:16:19 car connected
[lp-1  ] WARN 2026/04/03 13:16:19 charger out of sync: expected enabled, got disabled
[lp-2  ] INFO 2026/04/03 13:17:05 car connected
[lp-2  ] WARN 2026/04/03 13:17:05 charger out of sync: expected enabled, got disabled
[lp-3  ] INFO 2026/04/03 13:17:35 car connected
[lp-4  ] INFO 2026/04/03 13:18:05 car disconnected
[lp-5  ] INFO 2026/04/03 13:18:35 car connected
[site  ] ERROR 2026/04/03 13:19:05 grid currents: read failed: read tcp 172.21.0.2:51422->10.10.12.30:502: i/o timeout
[lp-3  ] INFO 2026/04/03 13:22:35 start charging ->
[lp-5  ] INFO 2026/04/03 13:23:35 start charging ->
[site  ] ERROR 2026/04/03 13:24:05 battery 1 soc: read failed: read tcp 172.21.0.2:55694->10.10.12.30:502: i/o timeout
[lp-2  ] INFO 2026/04/03 13:27:05 start charging ->
[site  ] ERROR 2026/04/03 13:29:05 grid currents: read failed: read tcp 172.21.0.2:33566->10.10.12.30:502: i/o timeout
[site  ] ERROR 2026/04/03 13:34:05 grid currents: read failed: read tcp 172.21.0.2:39696->10.10.12.30:502: i/o timeout
[site  ] ERROR 2026/04/03 13:34:34 circuit powers: read failed: read tcp 172.21.0.2:45904->10.10.12.30:502: i/o timeout
[lp-1  ] INFO 2026/04/03 13:39:05 start charging ->
[lp-5  ] INFO 2026/04/03 13:46:05 stop charging <-
[lp-5  ] INFO 2026/04/03 13:53:35 car disconnected
[lp-5  ] ERROR 2026/04/03 14:03:35 charger status: invalid status: F
[lp-5  ] ERROR 2026/04/03 14:06:06 charger status: invalid status: F

Here are some other spinets I thought might be interesting

Additional info : we have a defective charger (lp-5), they're otherwise all Alfen chargers.

MartMel avatar Apr 03 '26 12:04 MartMel

Here is what I could get, would this be enough

Nope. If docker doesn't work for you, just do without.

andig avatar Apr 03 '26 13:04 andig

according to https://github.com/fboundy/ha_solis_modbus/blob/main/solis.yaml, the battery power is

- name: Solis Battery Power
  slave: 1
  address: 33149
  # count: 2
  input_type: input
  data_type: int32
  scan_interval: 60
  scale: 1
  precision: 1
  device_class: power
  state_class: measurement
  unit_of_measurement: W

so not uint32 and then try to convert it to an int by calc mul with the current direction

dingoduffel avatar Apr 04 '26 13:04 dingoduffel

I think there must be different versions as we have been changing this multiple times afair

andig avatar Apr 04 '26 16:04 andig

nevertheless, in my situation, currently, the battery power seems OK.

main ] INFO 2026/04/04 19:48:59 using config file: /etc/evcc.yaml [main ] INFO 2026/04/04 19:48:59 using sqlite database: /root/.evcc/evcc.db?_pragma=busy_timeout(5000) [eebus ] INFO 2026/04/04 19:48:59 Local SKI: e416038799a540560b1ca91e8f397542cc116899 [homewizard] TRACE 2026/04/04 19:48:59 GET http://192.168.1.14/api [eebus ] ERROR 2026/04/04 19:48:59 websocket server error: listen tcp :4712: bind: address already in use [homewizard] TRACE 2026/04/04 19:48:59 {"product_name":"P1 Meter","product_type":"HWE-P1","serial":"5c2faf1bb93a","firmware_version":"5.1903","api_version":"v1"} pv1

[eebus ] TRACE 2026/04/04 19:48:59 mdns: avahi - process add service: EVCC_HEMS_01 _ship._tcp local evcc.local 172.17.0.1 4712 map[brand:EVCC id:EVCC-3937376633303664 model:HEMS path:/ship/ register:false ski:89719d7165cbee9a40f80c94f712ef23512ba23b txtvers:1 type:EnergyManagementSystem] [pv1 ] TRACE 2026/04/04 19:48:59 modbus: send 00 01 00 00 00 06 03 03 78 35 00 02 [pv1 ] TRACE 2026/04/04 19:48:59 modbus: recv 00 01 00 00 00 07 03 03 04 00 00 00 2d [pv1 ] TRACE 2026/04/04 19:48:59 modbus: send 00 02 00 00 00 06 03 03 78 f1 00 02 [pv1 ] TRACE 2026/04/04 19:48:59 modbus: recv 00 02 00 00 00 07 03 03 04 00 00 00 2a [pv1 ] TRACE 2026/04/04 19:48:59 modbus: send 00 03 00 00 00 06 03 03 78 f7 00 02 [eebus ] TRACE 2026/04/04 19:48:59 mdns: avahi - process add service: EVCC_HEMS_01 _ship._tcp local evcc.local fe80::c80e:ec55:2ddc:1f50 4712 map[brand:EVCC id:EVCC-3937376633303664 model:HEMS path:/ship/ register:false ski:89719d7165cbee9a40f80c94f712ef23512ba23b txtvers:1 type:EnergyManagementSystem] [pv1 ] TRACE 2026/04/04 19:48:59 modbus: recv 00 03 00 00 00 07 03 03 04 80 00 00 00 [pv1 ] TRACE 2026/04/04 19:48:59 modbus: send 00 04 00 00 00 06 03 03 77 31 00 04 [pv1 ] TRACE 2026/04/04 19:48:59 modbus: recv 00 04 00 00 00 0b 03 03 08 00 00 00 00 00 9d 68 78 Power: 87W 196ms
Energy: 10315.9kWh 32ms
Max AC power: 8000W

Total time: 228ms

battery2

[battery2] TRACE 2026/04/04 19:48:59 modbus: send 01 04 81 7d 00 02 c9 ef [eebus ] TRACE 2026/04/04 19:49:00 mdns: avahi - process add service: EVCC_HEMS_01 _ship._tcp local evcc.local 192.168.1.65 4712 map[brand:EVCC id:EVCC-3937376633303664 model:HEMS path:/ship/ register:false ski:89719d7165cbee9a40f80c94f712ef23512ba23b txtvers:1 type:EnergyManagementSystem] [eebus ] TRACE 2026/04/04 19:49:00 mdns: avahi - process add service: EVCC_HEMS_01 _ship._tcp local evcc.local fe80::2036:1679:fe91:47cc 4712 map[brand:EVCC id:EVCC-3937376633303664 model:HEMS path:/ship/ register:false ski:89719d7165cbee9a40f80c94f712ef23512ba23b txtvers:1 type:EnergyManagementSystem] [battery2] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 04 00 00 01 a4 fb af [battery2] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 6f 00 01 29 eb [eebus ] TRACE 2026/04/04 19:49:00 mdns: avahi - process add service: EVCC_HEMS_01 _ship._tcp local evcc.local 192.168.1.64 4712 map[brand:EVCC id:EVCC-3937376633303664 model:HEMS path:/ship/ register:false ski:89719d7165cbee9a40f80c94f712ef23512ba23b txtvers:1 type:EnergyManagementSystem] [battery2] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 02 00 01 78 f0 [battery2] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 8d 00 02 c9 dc [eebus ] TRACE 2026/04/04 19:49:00 mdns: avahi - process add service: EVCC_HEMS_01 _ship._tcp local evcc.local 127.0.0.1 4712 map[brand:EVCC id:EVCC-3937376633303664 model:HEMS path:/ship/ register:false ski:89719d7165cbee9a40f80c94f712ef23512ba23b txtvers:1 type:EnergyManagementSystem] [battery2] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 04 00 00 0a 39 3d 36 [battery2] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 73 00 01 e8 2d [battery2] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 02 00 18 b9 3a Power: 420W 192ms
Energy: 2617.0kWh 103ms
Soc: 24% 97ms
Capacity: 50.0kWh
Min soc: 5%
Max soc: 95%
Controllable: true

Total time: 392ms

grid4

[grid4 ] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 ef 00 02 68 02 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 04 00 00 00 00 fb 84 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: send 01 04 82 03 00 02 a9 b3 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 04 00 06 16 54 14 1a [grid4 ] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 e4 00 01 59 c1 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 02 00 8c b8 95 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 e6 00 01 f8 01 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 02 00 88 b9 56 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 e8 00 01 99 c2 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 02 00 72 39 15 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 e9 00 02 88 03 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: recv 01 04 04 00 00 00 00 fb 84 [grid4 ] TRACE 2026/04/04 19:49:00 modbus: send 01 04 81 eb 00 02 29 c3 [grid4 ] TRACE 2026/04/04 19:49:01 modbus: recv 01 04 04 00 00 00 00 fb 84 [grid4 ] TRACE 2026/04/04 19:49:01 modbus: send 01 04 81 ed 00 02 c9 c2 [grid4 ] TRACE 2026/04/04 19:49:01 modbus: recv 01 04 04 00 00 00 00 fb 84 Power: -0W 102ms
Energy: 3989.3kWh 100ms
Current L1..L3: 1.4A 1.36A 1.14A 297ms
Power L1..L3: -0W -0W -0W 303ms

Total time: 802ms

grid3

[homewizard] TRACE 2026/04/04 19:49:01 GET http://192.168.1.14/api/v1/data [homewizard] TRACE 2026/04/04 19:49:01 {"wifi_ssid":"katalise","wifi_strength":100,"smr_version":50,"meter_model":"LGF5E360","unique_id":"314C475A30353730343737333134","active_tariff":2,"total_power_import_kwh":6338.433,"total_power_import_t1_kwh":2769.852,"total_power_import_t2_kwh":3568.581,"total_power_export_kwh":4996.495,"total_power_export_t1_kwh":3588.529,"total_power_export_t2_kwh":1407.966,"active_power_w":-1.000,"active_power_l1_w":-10.000,"active_power_l2_w":9.000,"active_power_l3_w":0.000,"active_voltage_l1_v":231.800,"active_voltage_l2_v":234.100,"active_voltage_l3_v":234.400,"active_current_a":0.930,"active_current_l1_a":0.470,"active_current_l2_a":0.130,"active_current_l3_a":0.330,"active_power_average_w":3.000,"montly_power_peak_w":12471.000,"montly_power_peak_timestamp":260403103000,"total_gas_m3":2908.983,"gas_timestamp":260404194750,"gas_unique_id":"2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D","external":[{"unique_id":"2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D","type":"gas_meter","timestamp":260404194750,"value":2908.983,"unit":"m3"},{"unique_id":"2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D2D","type":"water_meter","timestamp":260404194400,"value":100.695,"unit":"m3"}]} Power: -1W 14ms
Energy: 6338.4kWh
Current L1..L3: 0.47A 0.13A 0.33A
Voltage L1..L3: 232V 234V 234V

Total time: 14ms

dingoduffel avatar Apr 04 '26 17:04 dingoduffel

Hello @andig

Here are the traces for the battery (currently shows a discharge speed of 4,295.0 MW on v0.303.2)) :

[db:83 ] TRACE 2026/04/08 10:29:28 modbus: send 6e 06 00 00 00 06 01 04 81 73 00 01
[db:83 ] TRACE 2026/04/08 10:29:28 modbus: recv 6e 06 00 00 00 05 01 04 02 00 3b
[db:83 ] TRACE 2026/04/08 10:29:43 modbus: send 6e 17 00 00 00 06 01 04 81 7d 00 02
[db:83 ] TRACE 2026/04/08 10:29:44 modbus: recv 6e 17 00 00 00 07 01 04 04 ff ff fc 7c
[db:83 ] TRACE 2026/04/08 10:29:44 modbus: send 6e 18 00 00 00 06 01 04 81 6f 00 01
[db:83 ] TRACE 2026/04/08 10:29:45 modbus: recv 6e 18 00 00 00 05 01 04 02 00 01
[db:83 ] TRACE 2026/04/08 10:29:46 modbus: send 6e 1a 00 00 00 06 01 04 81 8d 00 02
[db:83 ] TRACE 2026/04/08 10:29:46 modbus: recv 6e 1a 00 00 00 07 01 04 04 00 00 01 74
[db:83 ] TRACE 2026/04/08 10:29:46 modbus: send 6e 1b 00 00 00 06 01 04 81 73 00 01
[db:83 ] TRACE 2026/04/08 10:29:47 modbus: recv 6e 1b 00 00 00 05 01 04 02 00 3a
[db:83 ] TRACE 2026/04/08 10:29:48 modbus: send 6e 1e 00 00 00 06 01 04 81 7d 00 02
[db:83 ] TRACE 2026/04/08 10:29:49 modbus: recv 6e 1e 00 00 00 07 01 04 04 ff ff fb b4
[db:83 ] TRACE 2026/04/08 10:29:51 modbus: send 6e 21 00 00 00 06 01 04 81 6f 00 01
[db:83 ] TRACE 2026/04/08 10:29:51 modbus: recv 6e 21 00 00 00 05 01 04 02 00 01
[db:83 ] TRACE 2026/04/08 10:29:53 modbus: send 6e 24 00 00 00 06 01 04 81 8d 00 02
[db:83 ] TRACE 2026/04/08 10:29:53 modbus: recv 6e 24 00 00 00 07 01 04 04 00 00 01 74

Grid meter

[db:75 ] TRACE 2026/04/08 10:31:46 modbus: recv 6e 7e 00 00 00 07 01 04 04 ff ff f8 37
[db:75 ] TRACE 2026/04/08 10:31:46 modbus: send 6e 7f 00 00 00 06 01 04 81 eb 00 02
[db:75 ] TRACE 2026/04/08 10:31:47 modbus: recv 6e 7f 00 00 00 07 01 04 04 00 00 04 a5
[db:75 ] TRACE 2026/04/08 10:31:48 modbus: send 6e 81 00 00 00 06 01 04 81 ed 00 02
[db:75 ] TRACE 2026/04/08 10:31:49 modbus: recv 6e 81 00 00 00 07 01 04 04 00 00 03 14
[db:75 ] TRACE 2026/04/08 10:31:49 modbus: send 6e 82 00 00 00 06 01 04 81 ef 00 02
[db:75 ] TRACE 2026/04/08 10:31:49 modbus: recv 6e 82 00 00 00 07 01 04 04 00 00 00 00
[db:75 ] TRACE 2026/04/08 10:31:49 modbus: send 6e 83 00 00 00 06 01 04 81 e9 00 02
[db:75 ] TRACE 2026/04/08 10:31:50 modbus: recv 6e 83 00 00 00 07 01 04 04 ff ff f8 43
[db:75 ] TRACE 2026/04/08 10:31:51 modbus: send 6e 86 00 00 00 06 01 04 81 eb 00 02
[db:75 ] TRACE 2026/04/08 10:31:52 modbus: recv 6e 86 00 00 00 07 01 04 04 00 00 04 83

Inverter

[db:76 ] TRACE 2026/04/08 10:33:24 modbus: recv 6e df 00 00 00 07 01 04 04 00 00 0b 33
[db:76 ] TRACE 2026/04/08 10:33:45 modbus: send 6e fd 00 00 00 06 01 04 81 21 00 02
[db:76 ] TRACE 2026/04/08 10:33:46 modbus: recv 6e fd 00 00 00 07 01 04 04 00 00 49 0c
[db:76 ] TRACE 2026/04/08 10:33:47 modbus: send 6f 00 00 00 00 06 01 04 81 05 00 02
[db:76 ] TRACE 2026/04/08 10:33:48 modbus: recv 6f 00 00 00 00 07 01 04 04 00 00 0b 34
[db:76 ] TRACE 2026/04/08 10:34:18 modbus: send 6f 15 00 00 00 06 01 04 81 21 00 02
[db:76 ] TRACE 2026/04/08 10:34:18 modbus: recv 6f 15 00 00 00 07 01 04 04 00 00 49 0c
[db:76 ] TRACE 2026/04/08 10:34:19 modbus: send 6f 17 00 00 00 06 01 04 81 21 00 02
[db:76 ] TRACE 2026/04/08 10:34:20 modbus: recv 6f 17 00 00 00 07 01 04 04 00 00 49 0c
[db:76 ] TRACE 2026/04/08 10:34:20 modbus: send 6f 19 00 00 00 06 01 04 81 05 00 02
[db:76 ] TRACE 2026/04/08 10:34:21 modbus: recv 6f 19 00 00 00 07 01 04 04 00 00 0b 34
[db:76 ] TRACE 2026/04/08 10:34:22 modbus: send 6f 1b 00 00 00 06 01 04 81 05 00 02
[db:76 ] TRACE 2026/04/08 10:34:23 modbus: recv 6f 1b 00 00 00 07 01 04 04 00 00 0b 34

MartMel avatar Apr 08 '26 08:04 MartMel

It might not be linked, here is a timeout I get quite frequently :

[site ] DEBUG 2026/04/08 12:30:51 grid powers: [4895 -2479 -2407]W
[site ] DEBUG 2026/04/08 12:30:54 grid currents: [21.1 -10.8 -10.2]A
[site ] DEBUG 2026/04/08 12:31:15 grid power: -0W
[site ] DEBUG 2026/04/08 12:31:20 grid powers: [4915 -2468 -2363]W
[site ] DEBUG 2026/04/08 12:31:23 grid currents: [21.1 -10.7 -10.2]A
[site ] DEBUG 2026/04/08 12:31:45 grid power: -0W
[site ] DEBUG 2026/04/08 12:31:50 grid powers: [4884 -2430 -2359]W
[site ] DEBUG 2026/04/08 12:31:54 grid currents: [21.1 -10.8 -10.2]A
[site ] ERROR 2026/04/08 12:31:57 grid energy: read failed: read tcp 172.21.0.2:59894->10.10.12.30:502: i/o timeout
[site ] DEBUG 2026/04/08 12:32:17 grid power: -0W
[site ] DEBUG 2026/04/08 12:32:24 grid powers: [4841 -2506 -2353]W
[site ] DEBUG 2026/04/08 12:32:26 grid currents: [21.1 -10.9 -10.1]A
[site ] DEBUG 2026/04/08 12:32:45 grid power: -0W
[site ] DEBUG 2026/04/08 12:32:50 grid powers: [4888 -2467 -2389]W
[site ] DEBUG 2026/04/08 12:32:53 grid currents: [21.1 -10.7 -10.1]A

The network is quite reliable both machines are on the same switch.

MartMel avatar Apr 08 '26 10:04 MartMel

I think there must be different versions as we have been changing this multiple times afair

Single logs won't help here. We need vendor feedback how signed values are handled across different devices. At this point, there's nothing we can do.

andig avatar May 01 '26 11:05 andig