MQTT Image


GPS topics in MQTT

I am looking to build a homeassistant system for my RV and I would need the GPS coordinates for different automation.

I know that the CerboGX have the possibility to be linked to a GPS to provide the GPS coordinates but my problem is I looked in every Topics documentation, DBUS documentation and nowhere I have been able to find what is the MQTT topic that the VictronOS publishes the information.

Would anyone have the infiormation ?


goldriver asked
aliter answered ·

1 Answer

Solar production value
Is it possible to indicate at the multiplus2 GX, via mqtt, my solar production so
 that it appears in the VRM data?

lemitch asked

0 Answers

Victron Connect: remote configure timing out at 40%

Hi all,

I'm having an issue remotely configuring devices through the VictronConnect app. I've followed the instructions here:

The error I'm getting is that it's stalling at 40%, on all the VRM installations I have access to and have tried.


The modal dialog then displays the following, after a little while:


Is the MQTT-RPC timeout issue perhaps related to the recent header message (regarding delayed processing) that's appeared on the VRM?

I've tried this using the latest Windows app (v. 5.73), and latest Android app (v. 5.73)

Update: A couple of follow on questions:

1. Is it possible to see any logs (I can ssh with root access) to help determine why it's timing out?

2. Is it possible to increase the timeout value?


loxley asked
over-and-under-victron answered ·

3 Answers

Connect to Cloud VRM MQTT with node-red

A little tutorial on how to connect and receive data from the cloud MQTT server into node-red.

This involves 2 steps:

  1. Subscribe to a topic to the right mqtt server. (you will need to calculate the address of your system - see below for details)
  2. Schedule a node to send a "keepalive" message every 50 second to keep receiving data

Subscribe to a topic

1. Use the "mqtt in" node and double click to configure.


2. Configure the topic you want to subscribe to. The example above will subscribe to the power out status. (other example topic: N/<yourVRMportalD>/system/0/Dc/Battery/Soc for battery status.)

Your VRM portal ID can be found on either:

  • The console under settings/VRM Online Portal
  • The web application under settings/general

3. Configure the output to be a string

4. Give the node a name

5.Configure the server: choose "Add new mqtt-broker" from the server drop down.


6. Click the pencil to edit.


7. Fill in your mqtt server address. You need to calculate this address from your Victron installation ID. Yours will probably be different from the screenshot below.

(more details on how you calculate the address can be found here: under the section "Cloud MQTT broker")


8. Click on the pencil next to "TLS configuration"

9. Upload the "venus-ca.crt" file which you can find on github:


Send a "keepalive" message to receive data

This is important to keep receiving data. Without this step your value's won't keep receiving!

1. Use an inject-node and schedule it to run every 50 second.


2. Fill in the topic with "R/<yourVRMportalID>/keepalive" and leave the msg.payload blank.

3. Use a "mqtt out" node like this:


You should now start receiving messages:


horemansp asked

0 Answers

Timestamp for retained MQTT message value

Is there a way to determine the timestamp of the retained value I get from the first messages received from the MQTT broker? Since the retained value can be quite stale, I want to properly inform the user of the accuracy of the values they're looking at.

bobby-bol asked

0 Answers

MQTT - Setup but not publishing

Hi there,

I have followed: MQTT local & via MQTT broker - Victron Community (

I setup the MQTT service both SSL and Plain text in my Cerbo. I use MQTT Explorer to view the MQTT broker. I can see : N/c0619ab1asd32/system/0 but the only sub topic is serial. There isnt any other topics like in the link above (Battery, AC etc etc).

I am wondering what I missed so it publishes the rest of the info?

myvicrocks asked
taylortops commented ·

1 Answer

Remotetly turn assistants on or off

I'm using assistants on my Quattro to ignore AC to maximise solar charging by keeping my (Lithium) battery bank between 80% and 95% charged.

However, in order for my (passive) battery balancing using my BMS (Batrium) to occur I need periodically to allow the AC to fully charge the batteries and keep them there for an hour or so for the full balancing process to complete.

Is there a way to turn an assistant on and off remotely using a Cerbo and NR, MQTT, etc.?

I can't see any MQTT topics relating to Assistants, could I maybe use the relays some way?

Of course, ultimately using the "Irradiated" setting on the MPPT relays would be nice so that the assistant(s) are ON when the sun is out and OFF when it's dark!

elvistherv asked
JohnC commented ·

1 Answer

MPPT 150/100 died


Howdy trying to investigate this failure with my MPPT 150/100. Installed new solar panels and updated the battery wiring since the factory gauge (RV) was small and came from the factory cut / with exposed copper on the red wire... On battery alone with PV cut off, no lights and no longer available on bluetooth. Did notice a few hours before that it was 'rebooting' frequently / the bluetooth was not stable. It is connected to a Venus/Cerbo GX (w dual MultiPlus 3000VA 12v and 1,000 amp smartshunt). during that time, I noticed the battery configuration was wrong and corrected it (settings showed 24v battery, but was 12v). But found that the corrections did not stay. I wasn't sure if it was because Venus/CAN was setting things up and the configuration was no-op or not. But looking at the graphs, it looks like around the time of the failures it legitimately thought 24v and was not saving the settings, but you can see previously it did not have that issue. Back to the wires, 2ga (US) from panels and to battery (wasn't sure what to put on battery side so decided larger would just lead to less efficient charging on lower end, but not leave me in a pickle on the higher end.)

Questions I'm trying to solve:

  • Is any of this expected?
  • Is this something that I should warranty? - less than a year in service and $800 USD
  • How do I know replacing the MPPT 150/100 won't cause the same issue again?
  • Is it possible the wire sizing caused this?

Graphs :) - the missing time period is when the charger seemed to die. When that happened the multipluses also went down- so unaware of what happened during that time. Might be time to install a UPS for the "home lab" in the RV.

Battle born batteries 12v. So 14.2 is right.


Here 18.9v is, quite wrong. I think this is going back to that 24v setting I mentioned.


nothing out of the ordinary with the pv


if you're curious about multiplus since that would be the other feeder of dc voltage


Not seeing anything unusual on the battery either,


Oh, one thing that was weird too, the battery terminals:



Myles Best asked
Myles Best answered ·

2 Answers

Adding a additonal SmartShunt .. will it show in the Raspberrypi


I am looking to gather the data in my Home Assistant Dashboard for the Orion-TR smart 12-12 30AD c-DC I know that the data is fed with the Bluetooth but Victron don't give us the possibility to connect to I was thinking adding an additional Shut at the output of the DC-DC with the Ve-cable

- It this feasible?

- Will it disturb the overall electrical system?

- If yes, will the additional shut be displayed on the RaspberryPI 7 inch screen?

- If yes, will it be possible the get the information via the MQQT mapping


fenix asked
Kevin Windrem answered ·

3 Answers

Struggling with local access to MQTT data

I have a simple home solar PV system - 2 panels, MPPT 100/20 charger, AGM batteries & Phoenix 24/800 inverter. It's up and running and I've added a Raspberry Pi 3 running Venus OS, connected to the two Victron devices with VE.Direct USB cables. I can connect to the Venus system with a browser and can see the devices data fine. I can connect using the VRM portal and can also see the devices data fine.

I've enabled the Venus MQTT broker for SSL and PlainText and can connect to it from MQTT Explorer but all I see is the following :


I know there is a 'keepalive' requirement I've seen discussed in the forums, but as I understand it the Venus MQTT broker is enabled when accessed from the VRM portal and should be accessible from the LAN when that happens.

My problem at present is I cannot see any data from the two victron devices in MQTT Explorer. I assume I've missed something, but trawled the forums for a while and cannot see what it is ??

My aim is to bridge the central MQTT broker in my existing home automation system to the Venus MQTT broker so I can add the Victron data into my home automation database (InfluxDB) and display it, along with other data, using Grafana.

I've spent hours reading forums posts etc. but cannot see where I've gone wrong. It would be much appreciated if someone could give some guidance as to how I can achieve my aim of adding the Venus MQTT data into my existing home automation system, with the 'keepalive' function and without using the VRM portal. I have no need to se the VRM portal as I have already have VPN access to my existing system, so will be able to see the PV data when added into the system.



paulm asked
nasha answered ·

2 Answers

Can I operate Dynamic Current Limiter through MQTT or a digital input?

Hello All,

Is there any way to enable the Dynamic Current Limiter on the fly through MQTT or a digital input?


I have a Multiplus 3000 with a Cerbo on our boat and use PowerAssist to make sure I don't trip my 30A shore power breaker when the two AC units decide to start up at the same time. It works great!

It also enables me to occasionally to run one AC unit on a small portable generator when anchored out in the sticky summer. But to do this I need to enable the "Dynamic Current Limiter" to smooth the transfer of the starting inrush to the little generator. This also works great, except...

When the Dynamic Current Limiter is enabled, the Multi pulls from the battery bank on every surge, even when I am plugged into my 30A shore power and have reset my current limit accordingly. This continuous draw and charge cycle is driving the temp of my large battery bank up to over 100F and making my engine room very warm to work in.

I'd love to be able to turn the Dynamic Current Limiter off when I don't need it, without firing up VE config.

Maybe there's a better way to do this, any input is most appreciated.

robbgrrrr asked

0 Answers

Custom Smart Meter


I have a "standard" MultiPlus 3000, 2x Pylontech US2000C setup (with GX device in a parallel network setup). I want to install an EM24 for ESS in future. Problem: My energy meter must be extended for this and I will not get an installation in the next months..

In the meantime I'd still love to have ESS running. Using some "light-diode" reader on my smart meter I know the current consumption on all phases on an raspberry. Using this reader I'd like to pass these values to ESS. For the moment I see two options:

  1. Use ESS Mode 3 - while this will probably work (I will test soon), I can not really get a feeling on how ESS will work, and also wont see my real "savings" in VRM.
  2. Use ESS Mode 1/2 and somehow push the current consumption per phase (via e.g. MQTT) to the GX device. Here I can not find a writable register, or any explanation on how that could be done.

Does anyhow ever tried the second option?



techmuc asked
techmuc rolled back ·

1 Answer

Venus MQTT keepalive - how to do this in python script with topic list payload ??

I have a python script to send the 'keepalive' message to the Venus MQTT broker running on a raspberry pi 3 :

import paho.mqtt.client as mqtt     # MQTT support
import time
import json

mqttBroker ="victronpi"                 # define MQTT broker address
client = mqtt.Client("KeepAlive") # identify client
client.connect(mqttBroker)              # connect to broker
print("VictronPi MQTT broker connected...")

while True:
  # send 'keepalive' message
  errcode = client.publish("R/b123abc7d123/keepalive") # publish all topics
#  topics = json.dumps("solarcharger/+/Dc/0/Voltage")
#  errcode = client.publish("R/b123abc7d123/keepalive",topics) # publish selected topics
  print("VictronPi KeepAlive sent : ",errcode)

I'd like to just keep alive the topics I'm interested in. I gather you can do this by including a payload in the 'keepalive' message but I'm struggling with the python syntax to do this, see commented out lines above, which just create a new read topic. Can anyone enlighten me what the correct python syntax to do this is please ?


paulm asked
paulm published ·

1 Answer

MQTT change MaxChargeCurrent not working on multiplus after I connected bluesolar MPPT


I have a problem, which appeared after I connected bluesolar charger to my battery. Before there was only multiplus II and when I changed DC charge current, it was working properly. MQTT topic is venus-home/N/xxxxxxxxxxx/vebus/289/Dc/0/MaxChargeCurrent (of course I'm using W instead of N to change values).

Problem appeared, when I connected bluesolar to the system. Now when I change the MaxChargeCurrent value, it's working, but a few seconds later it change back to 35A.

I'd like to control charging current of the multiplus, not whole system, so that the bluesolar is charging full power and multiplus is controlled by MQTT. But since I connected bluesolar it's not working. Is it a bug or am I missed something? (sorry for my english :/ )

supiiik asked
supiiik answered ·

1 Answer

Getting started with MQTT, some beginner questions

Hi all
I've just finished the installation of an ESS system to improve my autoconsumption here in Belgium.
I would like to add the information of the battery transfers and state to my home made PV monitoring system.

My current idea is to use MQTT to (locally, port 18883) read values at a relatively slow rate (once per 5 min). I'm mostly interested in battery state and the energy to and from batteries. Then write that to a file and FTP it to a website.

To be honest I'm new to MQTT (but I should be able to manage :) ) , is there a beginner's guide somewhere?

Today I tried MQTT explorer to browse through the available values. I could find what I was needing.
But one thing that I already see is that using the explorer the MQTT is refreshed only when I use the VRM. I guess that has something to do with the keep alive or so?
How will that be when I have the client running on my Pi connecting?


jeanphi500 asked
Manda answered ·

1 Answer

196 Posts
151 Users

Topic Experts

111 Points
75 Points
57 Points