question

sev avatar image
sev asked

Victron 150/60 smart MPPT communication issues vedirect

Hi all,

Using a raspberry pi 4 to collect data from Victron smart charge controllers using a Victron USB cable and reading with read_single_data from the python package called vedirect (https://github.com/nznobody/vedirect).

There are absolutely no communication errors when connecting to the Victron 100/30 and 150/45 (collecting about 1 data per second). However, when collecting data from 150/60 charge controllers, there are about 40 communication errors for 3 good messages.

Communication errors come from the fact that the collected data are not complete ie some data are missing.

{'PID': '0xA06B', 'SER#': 'HQ2249VPNQD', 'V': 25240, 'I': 0, 'VPV': 0, 'PPV': 0, 'MPPT': 0, 'CS': 0, 'OR': 1} instead of

{'PID': '0xA06B', 'SER#': 'HQ2249VPNQD', 'V': 25360, 'I': 0, 'VPV': 0, 'PPV': 0, 'MPPT': 0, 'CS': 0, 'OR': 1, 'ERR': 0, 'LOAD': 'ON', 'Relay': 'OFF', 'H19': 37, 'H20': 0, 'H21': 0, 'H22': 0, 'H23': 0, 'HSDS': 7}

There are also a lot of HEX messages when talking with 150/60 while none when talking to 100/30 or 150/45.

Wondering if anyone else noticed the differences between charge controller models? Can anyone help explain/fix the many short messages when connecting to the 150/60? Also is there a way to reduce the amount of HEX messages sent by the 150/60 controllers?

.

MPPT SmartSolarRaspberry PiVE.Directpython
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Mike Dorsett avatar image Mike Dorsett commented ·
The best way to collect the data is to use the hex message protocol, and request the data you need. The text format however sometimes does not go 'quiet' when hex protocol is active - it is supposed to turn off until a lapse of > 1 second in the hex transfer.
1 Like 1 ·
0 Answers