Article · Home Assistant · Storage

Victron in Home Assistant: local via MQTT, not VRM

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.

Integration
Victron GX, part of Home Assistant since 2026.5, quality scale Platinum
Connection
local over MQTT, the GX device pushes the values (Local Push)
On the device
GX: switch on Settings › Integrations › MQTT Access
Status
Home Assistant 2026.10, documentation checked on 26 October 2026 · sources below
Author
Julian Haag, state-certified electrical engineering technician

The key points in one minute

Three integrations, three purposes

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:

Victron integrations in Home Assistant, as of 2026.10
IntegrationRouteDeliversSince · scale
Victron GXlocal, MQTT of the GX device, pushlive values of the whole system, plus adjustable entities2026.5 · Platinum
Victron Remote Monitoringcloud, VRM API, hourlyforecasts for production and consumption2025.10 · Bronze
Victron BLElocal, Bluetooth, passivereadings 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.

Three routes from Victron to Home Assistant Sources on the left, Home Assistant integrations on the right. Top: the GX device collects the data from MultiPlus, solar charger and battery and passes it over MQTT on the home network to the Victron GX integration, as push, for reading and writing. Middle: the VRM portal in the cloud supplies forecasts for production and consumption once an hour through the Victron Remote Monitoring integration. Bottom: individual devices send their readings over Bluetooth to the Victron BLE integration, read only. GX device MultiPlus · MPPT battery · grid meter MQTT Access: on local, push Victron GX live values read and adjust VRM portal cloud, access token hourly Remote Monitoring forecasts only Single device Instant Readout Bluetooth Victron BLE read only Solid: on the home network · dashed: via the cloud
Based on the Home Assistant documentation for the Victron GX, Victron Remote Monitoring and Victron BLE integrations, as of 2026.10.

On the GX device: switch on MQTT

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.

Setting up in Home Assistant

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:

Settings of the Victron GX integration
FieldMeaning
Hosthost name or IP address of the GX device, default venus.local
Port1883 unencrypted, 8883 encrypted
Usernameleave blank; root only if Venus OS is rooted with SSH enabled
Passwordblank for the Unsecured profile, otherwise the password of the security profile
SSLon 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.

What arrives and what can be set

Which entities appear depends on what is connected to the GX. The integration creates them itself, and not only sensors:

Entity types of the Victron GX integration (selection from the documentation)
TypeExamples
Sensorsbattery: 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
Numberscharge current limits, ESS grid setpoint, minimum state of charge
Selectsinverter mode (on, off, charger only, inverter only), ESS mode, Dynamic ESS mode
SwitchesESS: disable charge, disable feed-in; relays on the GX and on the solar charger
Timesstart times of scheduled charging in ESS
Buttonreboot 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.

Home Assistant dashboard of a Victron system with energy flow, state of charge, history graphs, PV forecast and charging plan
Home Assistant on my own Victron system, as of 19 October 2026: on the left energy flow, state of charge and values of the GX device, in the middle the history of solar charger, grid meter and MultiPlus-II, next to it tiles with the PV forecast for this and the next hour, today and tomorrow – the kind of values the VRM integration delivers.

The energy dashboard

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:

Victron values in the energy dashboard
SectionSourceNote
Gridgrid meter: Consumption and Feed-inonly with a grid meter on the GX
Solar, solar charger (MPPT)Total PV yield systemnot Total yield, see below
Solar, PV inverter on the AC outputenergy counter of the PV inverterif the GX reads it
BatteryCharged energy and Discharged energynot with CAN-bus BMS batteries

Solar charger: the counter that cannot be reset

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.

Battery: the gap with a CAN-bus BMS

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:

  1. Create two template sensors: one for charging with the power value when it is positive, otherwise 0, and one for discharging with the absolute value when it is negative, otherwise 0.
  2. For each, create an Integral helper (Riemann sum) under Settings › Devices & services › Helpers, with metric prefix k and time unit hours.
  3. Add the two integrals to the battery storage section of the energy dashboard.

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.

Less data in the database

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.

What the VRM integration delivers

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.

Without a GX device: Victron BLE

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.

Pitfalls

Frequently asked questions

Do I need VRM to see Victron data in Home Assistant?

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.

Why does Home Assistant not find my Cerbo GX?

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.

Which password does Home Assistant want for the Victron GX?

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.

Why are the energy counters missing for my Pylontech battery?

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.

Can Home Assistant also control the Victron system?

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.

Sources

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.

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.