Mode Mapping — Victron#
victron-onlyVictron inverters are controlled through ESS (Energy Storage System) via VRM and MQTT.
ESS Mode#
GbbOptimizer controls the Victron system through ESS Schedules on the Cerbo GX. Schedules define:
- Operating mode — charging, discharging, normal operation
- Target SOC — the level to charge/discharge to
- Power limit — maximum charging/discharging power
- Time window — hours during which the schedule is active
Prerequisites#
- In the VRM portal, enable remote access to Cerbo
- In ESS, set the mode to “Optimized (without BatteryLife)”
- Ensure GbbOptimizer has correct VRM data (PlantId, PlantToken)
If Battery Life is enabled in ESS, GbbOptimizer will not be able to fully control the battery. Disable it and set to “Optimized (without BatteryLife)”.
Control#
GbbOptimizer communicates with Cerbo through Victron’s MQTT servers. In each optimization cycle the program:
- Reads current data (SOC, PV production, consumption, grid status)
- Calculates the optimal schedule
- Writes ESS schedules to Cerbo
Detailed information about Victron MQTT topics is available in the MQTT API documentation.