Repository navigation
Victron
Jan Brandsma edited this page Dec 5, 2026
·
1 revision
ZenMaster steers a single-phase Victron Multiplus system with its battery through the Modbus TCP of its GX device. Experimental: tested against a simulated GX only.
- Modbus TCP on port 502 of the GX, unit 100. Switch it on under Settings, Services, Modbus TCP.
- Found over SSDP, or added by hand with the GX's IP address. The GX's serial (its VRM id) is the identity.
- The power comes from the Multiplus (VE.Bus unit 227 on a Cerbo GX, 228 on a Multiplus-II GX), the capacity from a
CAN-bus BMS (unit 225) at the battery voltage. What the GX does not tell is entered in the panel (
pwr_max,kwh). - Three Multiplus units with their own batteries, one per phase, are three systems with a GX each: add each as its own device and give it its phase.
- State of charge, battery voltage, and the battery power on the keys every battery has.
ESS keeps regulating the grid itself. ZenMaster sets its limits per fleet mode:
| Fleet mode | ESS |
|---|---|
| Smart | Its own grid setpoint, ZenMaster's minimum SOC, no power limits |
| Smart charging, store solar | No discharge |
| Smart discharging | No charge |
| Off, or a setpoint of 0 W | Neither charge nor discharge |
| Setpoint, discharge | A grid override of minus the rated power, the discharge capped at the setpoint |
| Setpoint, charge | A grid override of the rated power, the charge current capped at the setpoint |
- On the hand back the override goes off, the power limits go back to no limit and the minimum SOC back to its own value.
- Control is opt-in per device (Allow control) and off by default. Without it the device only reports.
Note
ESS needs an energy meter on the grid connection to keep the whole house at its setpoint; without one it only sees the loads on its own output.
The procedure is in victron-test.md.
ZenMaster on GitHub · Releases · Issues · Licensed under GPL-3.0
Getting started
Devices
How it calculates
- The planner
- Battery model
- Real-time control
- House model
- Hot water tank
- Price model
- Solar, base load and phases
- Appliances and EV
- Recorder
More