Victron · Control
Charging Victron ESS on spot prices
Setpoints instead of a control loop of your own: where a price control steps into a running ESS.
Read the article →Article · Home Assistant · Storage
Anyone who wants to see the data of their Victron system usually ends up in the VRM portal. For Home Assistant that is a detour: since version 2026.5, Home Assistant ships its own integration that talks to the GX device on the home network over MQTT, without the cloud. On the GX an access setting has to be switched on first, and with CAN-bus BMS batteries the energy dashboard needs an extra step. The integration with “VRM” in its name delivers something quite different from what most people expect.
Total PV yield system cannot be reset,
Total yield can.At the time of checking, Home Assistant has three integrations with Victron in the name. They complement each other but do not replace one another:
| Integration | Route | Delivers | Since · scale |
|---|---|---|---|
| Victron GX | local, MQTT of the GX device, push | live values of the whole system, plus adjustable entities | 2026.5 · Platinum |
| Victron Remote Monitoring | cloud, VRM API, hourly | forecasts for production and consumption | 2025.10 · Bronze |
| Victron BLE | local, Bluetooth, passive | readings of individual devices that send “Instant Readout” | 2025.12 · Bronze |
For a grid-connected system with a MultiPlus or Quattro, solar charger and battery, Victron GX is the core. As the entity reference puts it: MQTT access is only possible through a GX device; inverters, solar chargers and battery monitors do not expose MQTT themselves. The GX is the gateway through which all other devices speak.
This is the most common reason why Home Assistant does not find the GX device. The Cerbo GX manual lists the setting with its default:
The password Home Assistant asks for later is exactly this device password. The VRM portal credentials do not belong there; the integration's documentation points this out specifically.
While you are at it: give the GX device a fixed IP address in the router. The integration suggests
venus.local as host name; that only works if the home network resolves the name.
The integration discovers GX devices on the network by itself and offers them under Settings › Devices & services. When connecting it first tries TLS on port 8883 and, if that fails, an unencrypted connection on port 1883.
If the GX device requires authentication and supports token pairing, Home Assistant asks for pairing mode: switch it on on the device under Settings › Integrations › MQTT Devices › Pairing mode, or on a GX without a screen press the built-in button twice quickly, then confirm in Home Assistant within 120 seconds. Home Assistant then stores the credentials itself. Without token pairing, or when setting up manually, these fields have to be filled in:
| Field | Meaning |
|---|---|
| Host | host name or IP address of the GX device, default venus.local |
| Port | 1883 unencrypted, 8883 encrypted |
| Username | leave blank; root only if Venus OS is rooted with SSH enabled |
| Password | blank for the Unsecured profile, otherwise the password of the security profile |
| SSL | on for port 8883, off for port 1883 |
If the password or the security profile on the GX changes later, the integration asks you to re-authenticate; after the new password is entered it reloads itself.
Which entities appear depends on what is connected to the GX. The integration creates them itself, and not only sensors:
| Type | Examples |
|---|---|
| Sensors | battery: voltage, current, power, temperature, state of charge; PV: voltage, current, power, daily yield; grid: voltage, current, power, energy; inverter: input and output power, frequency, state |
| Numbers | charge current limits, ESS grid setpoint, minimum state of charge |
| Selects | inverter mode (on, off, charger only, inverter only), ESS mode, Dynamic ESS mode |
| Switches | ESS: disable charge, disable feed-in; relays on the GX and on the solar charger |
| Times | start times of scheduled charging in ESS |
| Button | reboot the GX device |
Values are pushed as soon as the GX device reports them. So that fast-changing values do not flood the database, the integration debounces them at an interval chosen by metric type; according to the documentation they may therefore appear with a short delay.
The adjustable entities write straight into the system. A minimum state of charge or a grid setpoint set by an automation stays in place until someone changes it. How to build a price control so that it does not get stuck in an unfavourable state after a failure is covered in the article Charging Victron ESS on spot prices.
The energy dashboard needs meter readings in kWh, not power values. The integration creates such counters, but not for every device, and for one device there are two, of which only one fits:
| Section | Source | Note |
|---|---|---|
| Grid | grid meter: Consumption and Feed-in | only with a grid meter on the GX |
| Solar, solar charger (MPPT) | Total PV yield system | not Total yield, see below |
| Solar, PV inverter on the AC output | energy counter of the PV inverter | if the GX reads it |
| Battery | Charged energy and Discharged energy | not with CAN-bus BMS batteries |
Victron keeps two total counters in the solar charger: /Yield/User, which the user can reset, and
/Yield/System, which is not reset. In Home Assistant they are called Total yield and
Total PV yield system. The second one belongs in the energy dashboard. If the first is reset in the
VictronConnect app, its reading jumps to zero.
The counters Charged energy and Discharged energy come from the history of the battery
monitor. The integration's entity list notes for both: not supported by CAN-bus BMS batteries. That affects a large
share of home batteries on Victron systems. Pylontech, for example, is connected to the GX device via CAN-bus
according to Victron's compatibility page, on the Cerbo GX to the BMS-Can port.
What remains is the battery power. Victron defines it as positive when charging and negative when discharging. Two counters are built from it:
k and time unit hours.The result is a calculation, not a measured counter. It drifts over time, and whatever Home Assistant did not record because it was not running is missing. How a home meter deviates from the utility meter and how to reconcile the values is covered in the article The Home Assistant Energy dashboard with the Shelly Pro 3EM.
A Victron system reports many values, and Home Assistant stores every change. The integration's documentation therefore recommends disabling unused entities or excluding fast-changing values from the recorder with filters. What the recorder keeps for how long, and why the energy dashboard counters are not affected, is covered in Home Assistant long-term statistics.
Anyone searching for “Victron VRM Home Assistant” finds the Victron Remote Monitoring integration. It does not fetch the system's readings but forecasts from the VRM portal:
It polls once an hour. Forecasts only appear once VRM has at least 30 days of data for the system, and only for systems with PV whose consumption runs entirely through inverters or a grid meter. In the energy dashboard the production forecast can be selected as forecast source for the solar panels.
Setting it up requires an access token from the VRM portal. The documentation warns: the token grants full access to the VRM account, including system control. Treat it like a password and delete it in the portal after removing the integration.
For a dynamic tariff, the forecast is the part the local integration does not provide. Where else a PV forecast can come from and how reliable it is, is covered in Solar forecast in Home Assistant.
Where there is no GX device, for example in a camper van with a solar charger and SmartShunt, Victron BLE helps. The integration reads the encrypted Bluetooth advertisements that Victron devices send with “Instant Readout via Bluetooth”. Supported are, among others, SmartSolar and BlueSolar solar chargers, SmartShunt and BMV battery monitors, Smart Lithium batteries, Orion DC-DC converters and MultiPlus or Quattro via VE.Bus; not supported at the time of checking are Inverter RS in standalone mode and Multi RS.
For each device the integration needs the key that the VictronConnect app shows under Product Info › Instant Readout Details. The integration only reads; nothing can be set over Bluetooth. If a phone running VictronConnect is currently connected to the device, it may not send advertisements according to the documentation, and Home Assistant does not see it.
nc -zv <IP> 1883 or port 8883 in the terminal. If there is no answer, the problem is the
network, not the integration.Total yield into the energy dashboard and
resets it in VictronConnect sees a jump. Total PV yield system does not have this problem.No. The Victron GX integration connects directly to the MQTT broker of the GX device on the home network and has the values pushed to it, without the cloud. The Victron Remote Monitoring integration, by contrast, only fetches forecasts for production and consumption from VRM, once an hour, no live values.
Usually MQTT access is switched off on the GX device. Victron ships it disabled; it is switched on under Settings, Integrations, MQTT Access. Victron notes that it is only needed when a service such as Home Assistant has to reach the MQTT broker over the local network.
The password of the local network security profile on the GX device, not the VRM portal credentials. If the profile is set to Unsecured, the field stays empty. Newer GX devices support token pairing: switch on pairing mode on the device and confirm in Home Assistant within 120 seconds.
According to the integration's entity list, the counters for charged and discharged energy are not supported by batteries with a CAN-bus BMS. Victron connects Pylontech to the GX device via CAN-bus. For the energy dashboard that leaves the battery power, which the Integral helper turns into two counters for charging and discharging.
Yes. Besides sensors, the Victron GX integration creates adjustable entities, among them the ESS grid setpoint and minimum state of charge, charge current limits, the inverter mode, the ESS mode and the Dynamic ESS mode. Which of these make sense for a dynamic electricity tariff is covered in the article on controlling Victron ESS by spot price.
The information on the integrations comes from the Home Assistant documentation and the entity reference linked there, that on the GX device from Victron's manual and developer wiki. The system behind this website is a Victron system with a MultiPlus-II, a SmartSolar charger and a Pylontech battery; the screenshot above comes from it. What is written here applies to the state of 26 October 2026; the Victron GX integration is young and changes quickly.
Total yield and Total PV yield system; battery energy counters not with a CAN-bus BMS; grid meter Consumption and Feed-in. Checked on 26 October 2026.
/Yield/User resettable, /Yield/System not; battery: power positive when charging; grid meter: bought and sold energy. Checked on 26 October 2026.
Haag Automation has no business relationship with Victron Energy. Settings written into the system via Home Assistant change its behaviour; the responsibility for them stays with the operator.
Want to bring your Victron system into Home Assistant properly, with the battery in the energy dashboard? I can set it up with you – the first conversation is free.