question

juergen pflug avatar image
juergen pflug asked

Venus GX - Modbus TCP - incorrect values for "User yield"?

Hi

I am connecting via Modbus TCP to a local Venus GX.
Everything works fine except for the readout value of Register 790 - "User Yield"

The "Victron Connect" app shows the CORRECT values and the readout works as expected
BUT the
2nd MPPT charger connected to VE.Direct 2 port. show different value.

According to the "CCGX-Modbus-TCP-register-list.xlsx"

Unit ID /DeviceInstance Remark
245 258 CCGX VE.Direct 2 port, Venus GX VE.Direct 1 port (ttyO2)
243 260 Venus GX VE.Direct 2 port (ttyO4)


I compared the readout via QMod Master and here are the results .
the first charger shows the correct value via Modbus:

The 2nd one shows different values:

According to the register list:

Address Type Scalefactor Range
790 uint16
10 0 to 6533.6

The readout value is at least 1 digit to short!
The value should have been ~ 72670 or so

This is not critical
but I was wondering if this is just a "small bug" in the
ModBus TCP mapping on the "Venus GX" ?

As far as I can tell, all the other values seem to give the correct values!

Can anyone confirm this behavior or am I wrong here?

Best regards
Jürgen

Venus GX - VGXModbus TCP
2 |3000

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

4 Answers
juergen pflug avatar image
juergen pflug answered ·

Is there someone from VICTRON reading here?

2 |3000

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

thaelian avatar image
thaelian answered ·

@juergen pflug I am experiencing the same problem.

Have you perhaps found a solution yet?

2 |3000

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

juergen pflug avatar image
juergen pflug answered ·

No solution from here, sorry.
I even posted the issue here:
https://github.com/victronenergy/dbus_modbustcp/issues/9

It looks like no one from Victron is reading this. and I do not know where else to report this

I switched to MQTT for my home automation which does not have that problem ;-)

2 |3000

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

juergen pflug avatar image
juergen pflug answered ·

Hi
Today I realized that I missed something!!
On to the CCGX Register list:
com.victronenergy.solarcharger | User yield | 790 | uint16 | 10 | 0 to 6553.5 | /Yield/User | no | kWh

The field is defined to have values from 0-6553.5 kWh ONLY!!

.. and both my units are now far above that ~15424kWh and 12624kWh as shown in VictronConnect (via Bluetooth)
Unit ID 245 registers has overflowed at least twice!!
Unit ID 243 registers has overflowed at least once!!
Accounting for the overflows:
Now Unit ID 245 shows 2316.4 >> 15424kWh - 2x 6553.5kWh = 2317kWh which is about right!
Now Unit ID 243 shows 6060.8 >> 12615kWh - 1x 6553.5 kWh = 6061.5kWh which is also about right!

How to figure out via Modbus how many times an overflow has occurred?? I don´t know

Buy the time I posted this, only the
Unit ID 243 had a 1x overflown and
Unit ID 245 had NO overflow.

BOTH REGISTERS SHOW THE CORRECT VALUE when considering that overflows did occur!
Meaning I was wrong ;-(

But I do not bother any longer as I am now using the VENUS MQTT-server and these values are correct.

Cheers and have a nice day

2 |3000

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