My systems suffers from losing connection with EM340 intermittently, going into passthru mode multiple times per hour. It happens mostly during charging (98% of the time) my 48kWh battery. Never when discharging. It started a few months ago (probably before v3.50?) The behavior is identical on the latest official release and the latest beta (3.60~24).
The meter is connected via an official Victron USB-485-converter.
I have tried:
- Other USB-port
- Taking cabling far apart from AC-cabling
- Setting high value for Grid Set-Point
- I checked: There are no other instances with VRM id 30
- I double checked the wiring. Especially terminator wire on terminal 7/9
- I checked if no defects were reported with CG configuration software, latest version
From the logs it looks like losing the grid meter is the result of another error, not caused by the gridmeter or the USB/485 connection if I am nog mistaken.
Does anybody have a clue?
root@victron:/data/log/dbus-modbus-client.ttyUSB0# tail -8 /data/log/dbus-modbus-client.ttyUSB0/current | tai64nlocal
2025-02-10 12:26:30.018023500 /opt/victronenergy/serial-starter/run-service.sh: line 5: shift: 2: shift count out of range
2025-02-10 12:26:32.506648500 INFO dbus-modbus-client.py v1.62
2025-02-10 12:26:32.522456500 INFO Waiting for localsettings
2025-02-10 12:26:32.562553500 INFO Starting background scan
2025-02-10 12:26:32.565001500 INFO Scanning ttyUSB0 @ 115200 bps (quick)
2025-02-10 12:26:39.267153500 INFO Scanning ttyUSB0 @ 19200 bps (quick)
2025-02-10 12:26:45.974211500 INFO Scanning ttyUSB0 @ 38400 bps (quick)
2025-02-10 12:26:52.689458500 INFO Scan completed in 20 seconds
root@victron:/data/log/dbus-modbustcp# tail -7 /data/log/dbus-modbustcp/current | tai64nlocal
2025-02-10 12:26:01.943783500 INFO "[DBusService] Service offline: com.victronenergy.grid.cgwacs_ttyUSB0_mb1 (0)"
2025-02-10 12:26:15.395556500 ERROR "Error processing function code 3, unit id 30, start address 2600, quantity 38, src ::ffff:192.168.178.20: Error finding service with device type grid at device instance 30"
2025-02-10 12:26:30.412974500 ERROR "Error processing function code 3, unit id 30, start address 2600, quantity 38, src ::ffff:192.168.178.20: Error finding service with device type grid at device instance 30"
2025-02-10 12:26:45.441220500 ERROR "Error processing function code 3, unit id 30, start address 2600, quantity 38, src ::ffff:192.168.178.20: Error finding service with device type grid at device instance 30"
2025-02-10 12:27:00.383334500 ERROR "Error processing function code 3, unit id 30, start address 2600, quantity 38, src ::ffff:192.168.178.20: Error finding service with device type grid at device instance 30"
2025-02-10 12:27:15.378395500 ERROR "Error processing function code 3, unit id 30, start address 2600, quantity 38, src ::ffff:192.168.178.20: Error finding service with device type grid at device instance 30"
2025-02-10 12:27:15.385447500 INFO "[DBusService] Service online: com.victronenergy.grid.cgwacs_ttyUSB0_mb1 (30)"
root@victron:/data/log# tail -12 /data/log/dbus-cgwacs.ttyUSB0/current | tai64nlocal
2025-02-10 12:00:52.080531500 WARN Incorrect number of registers received 6 2 1
2025-02-10 12:27:08.307656500 *** starting dbus-cgwacs ***
2025-02-10 12:27:08.370181500 INFO dbus-cgwacs v2.0.24 started
2025-02-10 12:27:08.370352500 INFO Built with Qt 6.6.3 running on 6.6.3
2025-02-10 12:27:08.370390500 INFO Built on Feb 5 2025 at 16:31:58
2025-02-10 12:27:08.370841500 INFO Connecting to "/dev/ttyUSB0"
2025-02-10 12:27:08.385086500 INFO Wait for local settings on DBus...
2025-02-10 12:27:08.391805500 INFO Local settings found
2025-02-10 12:27:08.479305500 INFO Device ID: 341
2025-02-10 12:27:09.727393500 INFO Device found: "298156V" @ "/dev/ttyUSB0"
2025-02-10 12:27:12.516758500 INFO Registering service "com.victronenergy.grid.cgwacs_ttyUSB0_mb1"
2025-02-10 12:27:12.550104500 [VeQItemDbusPublisher] Registered service "com.victronenergy.grid.cgwacs_ttyUSB0_mb1"
root@victron:/data/log# tail -9 /data/log/serial-starter/current | tai64nlocal
2025-02-10 12:26:15.850649500 INFO: Start service vedirect-interface.ttyS5
2025-02-10 12:26:16.989450500 INFO: Start service vedirect-interface.ttyS6
2025-02-10 12:26:18.100858500 INFO: Start service vedirect-interface.ttyS7
2025-02-10 12:26:19.386717500 INFO: Start service dbus-fzsonick-48tl.ttyUSB0 once
2025-02-10 12:26:24.660911500 INFO: Start service dbus-imt-si-rs485tc.ttyUSB0 once
2025-02-10 12:26:29.998607500 INFO: Start service dbus-modbus-client.serial.ttyUSB0 once
2025-02-10 12:26:53.633139500 INFO: Start service gps-dbus.ttyUSB0 once
2025-02-10 12:27:03.010246500 INFO: Start service vedirect-interface.ttyUSB0 once
2025-02-10 12:27:08.296246500 INFO: Start service dbus-cgwacs.ttyUSB0 once
root@victron:/data/log# tail -3 /data/log/dbus-systemcalc-py/current | tai64nlocal
2025-02-10 12:26:02.032315500 INFO:dbusmonitor:com.victronenergy.grid.cgwacs_ttyUSB0_mb1 disappeared from the dbus. Removing it from our lists
2025-02-10 12:27:12.565569500 INFO:dbusmonitor:Found: com.victronenergy.grid.cgwacs_ttyUSB0_mb1, scanning and storing items
2025-02-10 12:27:12.660022500 INFO:dbusmonitor: com.victronenergy.grid.cgwacs_ttyUSB0_mb1 has device instance 30