Using Victron ESS Mode 2 and Mode 3 for Advanced Energy Management

Updated 6 September 2026 · By SolarNevs Research Desk, Dealer surveys + verified sources · 1 source · Method ↗

Key Takeaways

  • Victron ESS Mode 2 and Mode 3 enable external systems to dynamically control Multi or Quattro inverter/chargers.
  • Control is achieved via Modbus-TCP, D-Bus, or direct VE.Bus communication, often through a GX device.
  • Battery safety mechanisms always override external control commands to protect the battery.
  • Complex external control requires careful programming and understanding of the specific Modbus registers or D-Bus paths.

What are Victron ESS Mode 2 and Mode 3?

Victron ESS Mode 2 and Mode 3 provide methods for external systems to manage the operation of a Victron Multi or Quattro inverter/charger. These modes allow integration into custom-designed systems, such as PLCs (Programmable Logic Controllers) or Virtual Power Plants. The goal is to achieve dynamic control over how the inverter interacts with the grid and manages energy flow.

Mode 2 offers control over a "Grid power setpoint" and basic enable/disable functions for charging and inverting. Mode 3 provides more advanced control, including a power setpoint in Watts and specific flags to disable charging or feed-in. This enables fine-tuned energy management strategies.

Implementing External Control with Victron ESS

To implement external control using ESS Mode 2 or Mode 3, you typically need a Victron Multi or Quattro inverter/charger and a GX device. The GX device acts as the interface, translating external commands into instructions for the inverter. Alternatively, direct VE.Bus communication can be used with an MK3 interface.

First, ensure your Victron system is configured for ESS operation. For detailed setup, refer to the Victron ESS design and installation manual. You will then interact with the system using one of the following communication protocols:

  • Modbus-TCP: This is a common industrial protocol used for remote control.
  • D-Bus: Victron's internal communication bus, accessible through the GX device.
  • VE.Bus (Direct MK3): For direct communication with the inverter/charger without a GX device.

Setting up ESS Mode for External Control

To enable external control, you must set the ESS Mode. For D-Bus control, you set the value of /Settings/CGwacs/Hub4Mode in the com.victronenergy.settings service to 3. This value signifies that ESS control is disabled, meaning an external system will take over.

Control Parameters and Their Use

The specific control points and their corresponding registers or paths vary between Mode 2 and Mode 3, and also depend on the communication protocol used.

Modbus-TCP Control (ESS Mode 2)

For ESS Mode 2, external control points include the "Grid power setpoint", "Enable/Disable charge", and "Enable/Disable inverter". When using Modbus-TCP for Mode 2, you should use Modbus-TCP the appropriate unit ID.

Parameter

Modbus-TCP Register

Values/Description

Notes

Grid power setpoint (Venus 3.50+)

2716

Positive: take power from grid. Negative: send power to grid. Default: 50 W.

Scale factor = 1.

Grid power setpoint (Venus < 3.50)

2700

Positive: take power from grid. Negative: send power to grid. Range: -32768W to 32767W.

Scale factor = 1.

Grid power setpoint (Venus < 3.50, larger range)

2703

Positive: take power from grid. Negative: send power to grid.

Scale factor = 0.01.

Enable/Disable charge

2701 (deprecated)

0: disable charging. enabled: unlimited charging.

Deprecated in favour of register 2705.

Enable/Disable inverter

2702 (deprecated)

0: disable inverter. enabled: enabled inverter.

Deprecated in favour of register 2704.

Maximum inverter power

2704

-1: No limit. Any positive number: Maximum power in Watt.

DVCC maximum system charge current

2705

-1: No limit. Any positive number: Maximum combined current in Ampere.

Maximum system grid feed-in

2706

-1: No limit. Any positive number: Maximum power in Watt units.

Feed excess DC-coupled PV into the grid

2707

0: Not fed into grid. 1: Fed into grid.

Feed excess AC-coupled PV into the grid

2708

0: Fed into grid. 1: Not fed into grid.

Grid limiting status

2709

0: Not limited. 1: Limited.

Read-only status.

Modbus-TCP Control (ESS Mode 3)

In ESS Mode 3, control points include a switch (on, charger-only, inverter-only, off) and a power setpoint in Watts to regulate power on the AC input. For Modbus-TCP control in Mode 3, use the designated unit ID for a CCGX device, or its corresponding unit ID for a Venus-GX device.

It is critical that these Modbus-TCP registers are written once every 60 seconds. If the updates are not sent within this timeframe, the Multi inverter will revert to Passthru mode.

Parameter

Modbus-TCP Register

Values/Description

Notes

Grid power setpoint (L1)

37

Positive: Take power from grid. Negative: Send power to grid. Range: -32768W to 32767W.

For single-phase systems or L1 on multiphase. Scale factor = 1.

Grid power setpoint (L2)

40

Positive: Take power from grid. Negative: Send power to grid. Range: -32768W to 32767W.

For L2 on multiphase systems. Scale factor = 1.

Grid power setpoint (L3)

41

Positive: Take power from grid. Negative: Send power to grid. Range: -32768W to 32767W.

For L3 on multiphase systems. Scale factor = 1.

Disable Charge

38

0: Charger enabled. 1: Charger disabled.

Disable Feed-in

39

0: Inverter enabled to feed power. 1: Inverter will not feed power.

Disable overvoltage Feed-in

65

0: Feed overvoltage into grid. 1: Do not feed overvoltage into grid.

Maximum Feed-in power due to overvoltage (L1)

66

Limit in Watts. Write large number to disable.

For L1.

Maximum Feed-in power due to overvoltage (L2)

67

Limit in Watts. Write large number to disable.

For L2.

Maximum Feed-in power due to overvoltage (L3)

68

Limit in Watts. Write large number to disable.

For L3.

Power Setpoints acts as limit

71

1: Multi feeds overvoltage up to setpoints (registers 37, 40, 41).

Overvoltage offset

72

0: 1V offset (legacy). 1: the specified offset (recommended).

D-Bus Control (ESS Mode 3)

D-Bus provides another interface for external control, particularly useful when interacting with the GX device's internal services.

Parameter

D-Bus Path

Values/Description

Grid Power Setpoints (L1)

/Hub4/L1/AcPowerSetpoint

Positive: power taken from grid. Negative: power fed into grid.

Grid Power Setpoints (L2)

/Hub4/L2/AcPowerSetpoint

Positive: power taken from grid. Negative: power fed into grid.

Grid Power Setpoints (L3)

/Hub4/L3/AcPowerSetpoint

Positive: power taken from grid. Negative: power fed into grid.

Disable charger

/Hub4/DisableCharge

0: Charger enabled. 1: Charger disabled.

Disable Feed-in

/Hub4/DisabledFeedIn

0: Inverter enabled to feed power. 1: Inverter will not feed power.

Direct VE.Bus Control (MK3 Interface)

For direct communication with the Multi or Quattro without a GX device, an MK3 interface (such as the MK3-USB) can be used. In this setup, the ESS ID should be set to 5. Note that the polarity for power setpoints is inverted compared to Modbus-TCP: a negative value takes power from the grid, and a positive value feeds power into the grid.

Parameter

VE.Bus RAM ID

Values/Description

Notes

AC-in setpoint

129

Positive for charge, negative for discharge.

Watts.

Disable charge flag

130 (Bit 0)

Bit 0: 'disable charge'-flag.

Disable feed-in flag

130 (Bit 1)

Bit 1: 'disable feed-in'-flag.

Safety Considerations for External Control

When implementing external control, it is crucial to understand the safety mechanisms built into Victron systems:

  • Battery Safety Overrides: All external control settings are intended for power management and will be overridden by battery safety mechanisms. The Multi or Quattro may ignore your instructions if it cannot comply, for example, if the battery is empty or full.
  • Sustain Mode: The inverter's Sustain mode will always remain in operation. Disabling charge through external commands will not disable Sustain mode, which protects the battery from deep discharge.
  • Managed Battery Limits: For managed batteries, the maximum charge current communicated by the battery is always heeded and cannot be overruled by an external setpoint. While the maximum discharge current sent by the battery might be ignored by the control loop in Mode 3, the implemented control loop should manage discharge limits.
  • Grid Code Restrictions: There are various ramp-up and ramp-down restrictions enforced by grid codes and for system stability. These might cause the system to respond slowly to large load commands. For instance, as per ESS version 162, the inverter/charger firmware rate limiting is set to 400W per second.

For more information on grid codes and system stability, consult the Victron VE.Bus grid codes and loss of mains detection guide.

When to Call a Technician Instead

Implementing external control with Victron ESS Mode 2 and Mode 3 involves complex programming and a deep understanding of Modbus-TCP, D-Bus, or VE.Bus protocols. You should consider calling a qualified technician if:

  • You are unsure about programming Modbus registers or D-Bus paths.
  • The system behaves unexpectedly despite your settings appearing correct.
  • You need to integrate the Victron system into a larger, critical infrastructure.
  • You are dealing with multiphase systems or advanced grid-tie requirements that demand precise configuration beyond basic setpoints.

Incorrect configuration can lead to system instability, grid compliance issues, or premature battery wear. Always prioritize safety and consult the official Victron documentation.


Frequently asked questions

What is Victron ESS Mode 2?

Victron ESS Mode 2 allows external systems to control a Multi or Quattro inverter/charger, primarily through a 'Grid power setpoint' and enable/disable commands for charging and inverting. This mode is designed for integration into customer-designed systems like PLCs or Virtual Power Plants.

What is Victron ESS Mode 3?

Victron ESS Mode 3 offers more granular external control over a Multi or Quattro inverter/charger, allowing dynamic regulation of power on the AC input. Control points include a power setpoint in Watts and flags to disable charging or feed-in, often used for advanced energy management strategies.

Which Victron devices support ESS Mode 2 and Mode 3?

The Multi and Quattro inverter/charger models support ESS Mode 2 and Mode 3. Control is typically facilitated through a GX device using Modbus-TCP or D-Bus, or directly via an MK3 interface for VE.Bus communication.

How often must Modbus-TCP setpoints be updated in ESS Mode 3?

In ESS Mode 3, Modbus-TCP registers for grid power setpoints must be written once every 60 seconds. If these updates are not sent within this timeframe, the Multi inverter will revert to Passthru mode.

Do external control settings override battery safety limits?

No, external control settings are intended for power management and will be overridden by battery safety mechanisms. The Multi inverter may ignore instructions if it cannot comply, such as when the battery is empty or full.

References

Related guides

More from sizing, net billing & installation.