Victron Victron PvInverter via DCCharger Modbus TCP template

Victron PvInverter via DCCharger

The Victron PvInverter via DCCharger template connects ModbusCloud to a Victron MPPT solar charger accessed through a Victron GX device (Cerbo GX or Venus GX) over Modbus TCP. The template reads battery voltage, current, and temperature; charger state (bulk, absorption, float, equalize); active power and cumulative production energy; daily and yesterday yield totals; and per-tracker PV voltage and yield for multi-tracker MPPT models. Alarm registers for low and high battery voltage are also polled. Installers gain continuous visibility into DC-side solar production without opening the VRM portal.

Protocol
Modbus TCP
Connection
Ethernet, Modbus TCP
Registers
39, read only
Brand
Victron
Last updated

Registers (39)

39 read, 0 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
battery_voltageVRead
battery_currentARead
battery_temperature°CRead
charger_on_offRead
charge_stateRead
voltageVRead
equalization_pendingRead
equalization_time_remainingsRead
relay_on_the_chargerRead
low_battery_voltage_alarmRead
high_battery_voltage_alarmRead
yield_todaykWhRead
max_charge_power_todayWRead
yield_yesterdaykWhRead
max_charge_power_yesterdayWRead
error_codeRead
active_powerWRead
active_production_energyWhRead
mpp_operation_modeRead
pv_voltage_tracker_0VRead
pv_voltage_tracker_1VRead
pv_voltage_tracker_2VRead
pv_voltage_tracker_3VRead
yield_today_tracker_0kWhRead
yield_today_tracker_1kWhRead
yield_today_tracker_2kWhRead
yield_today_tracker_3kWhRead
yield_yesterday_tracker_0kWhRead
yield_yesterday_tracker_1kWhRead
yield_yesterday_tracker_2kWhRead
yield_yesterday_tracker_3kWhRead
max_charge_power_today_tracker_0WRead
max_charge_power_today_tracker_1WRead
max_charge_power_today_tracker_2WRead
max_charge_power_today_tracker_3WRead
max_charge_power_yesterday_tracker_0WRead
max_charge_power_yesterday_tracker_1WRead
max_charge_power_yesterday_tracker_2WRead
max_charge_power_yesterday_tracker_3WRead

Loading registers…

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Use cases

  • Monitor daily and cumulative solar yield per MPPT tracker to identify underperforming PV strings.
  • Alert on low or high battery voltage alarms to catch charging problems before they damage the battery bank.
  • Track the charge state register to verify the MPPT cycles correctly through bulk, absorption, and float each day.
  • Compare per-tracker PV voltages across a multi-string array to detect shading or soiling on individual strings.
  • Report peak charge power against daily yield to verify the MPPT is operating in active MPPT mode during peak irradiance.

Installation

  1. Enable Modbus TCP on the Victron GX device by opening the GX menu, navigating to Settings, then Services, and switching the Modbus-TCP service on. The default port is 502.

  2. Connect the ModbusCloud Gateway to the same LAN as the Victron GX device using an Ethernet cable, ensuring both devices receive IP addresses on the same subnet.

  3. In the ModbusCloud portal, add a new device, import the Victron PvInverter via DCCharger template, and set the IP address to the GX device's LAN address. Set the unit ID to match the MPPT solar charger's device instance shown in the GX Modbus unit-ID mapping table.

  4. Spot-check the connection by reading the active_power register (address 789) and the charge_state register (address 775) in the portal's live data view; values should reflect current sun and charge conditions.

Things to watch for

All registers return zero or an error. What is wrong?

The most common cause is an incorrect unit ID. The Victron GX device uses the unit ID as a device selector: each connected charger has its own ID shown in the GX Modbus unit-ID mapping table. Verify the unit ID in the GX menu under Settings, Services, Modbus-TCP, and update it in your ModbusCloud portal device configuration.

Modbus TCP is enabled but the Gateway cannot reach the GX device.

Confirm the ModbusCloud Gateway and the Victron GX device are on the same IP subnet and that no firewall or VLAN separates them. Victron GX devices listen on TCP port 502. Also confirm the GX device has a static or reserved DHCP address so it does not change after a reboot.

The per-tracker registers (3700 to 3723) always return zero. Why?

Multi-tracker registers are only populated on MPPT models that have multiple independent tracker inputs. On single-tracker models these addresses return zero. Additionally, some earlier Venus OS firmware versions had gaps where tracker-current addresses returned zero. Update the GX firmware to the latest stable Venus OS release and retry.

Register 777 (PV current) is missing from this template. Is that intentional?

Yes. Victron removed register 777 (PV current) from the official Modbus-TCP register list in firmware version 2.80 because it is unavailable when multiple VE.Can MPPT chargers are combined. This template follows the current official register list and omits 777 to avoid spurious errors on multi-MPPT installations.

Want to see how it works?

Electrician working in an open distribution board