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 ?
Is it possible to indicate at the multiplus2 GX, via mqtt, my solar production so that it appears in the VRM data?
I'm having an issue remotely configuring VE.direct 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?
A little tutorial on how to connect and receive data from the cloud MQTT server into node-red.
This involves 2 steps:
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:
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: https://community.victronenergy.com/questions/155407/mqtt-local-via-mqtt-broker.html 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: https://github.com/victronenergy/dbus-mqtt
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.
[image]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:
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.
I have followed: MQTT local & via MQTT broker - Victron Community (victronenergy.com)
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?
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!
[image]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:
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.
[image]nothing out of the ordinary with the pv
[image]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:
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
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.
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.
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:
Does anyhow ever tried the second option?
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) time.sleep(10)
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 ?
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 :/ )
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?