MQTT Image

MQTT

MQTT-PRC broker error #15

Hi,

Where I can find an explanation of MQTT-RPC broker error #15?

When trying to connect to my smart devices (2 MPPTs and 1 SmartShunt) I am getting this massage:

[image]

Does anyone know what to do with it?

Best Regards.

marekp asked
marekp answered ·

3 Answers

Only discharge battery when grid power is above certain threshold

Starting this year, our peak usage will be monitored and taxed. In the summer, PV can recharge the batteries fully and there is no issue. However, in the winter, the batteries do not get fully charged and I would like to configure them so they are only used when peak usage is detected.

What I would like to do is to have the battery only discharge when power usage is above a certain threshold, let's say 2000 Watts.

By manipulating the AcPowerSetPoint (grid setpoint) via MQTT I can create something close to what I want.

I set the grid setpoint at 2000 watts and the battery will only discharge if usage is over 2000 watts. However, this also means that if the usage is less than 2000 watts, it will charge the battery. This is not what I want.

I can continuously monitor the usage and adapt the grid setpoint, but if that process fails, it could mean the battery fully charges, which is not supposed to happen and could be costly.

Is this my best option or are there other ways of implementing this?

peterb asked
peterb commented ·

1 Answer

MQTT Topic Disappeared (N/XXX/solarcharger/YYY/Pv/I)

I don't seem to have the I topic available from my CerboGX.

MPPT Current Value.

Happened in last month and I didn't notice on my NR dashboard.

Regards

Mark

Mark Maritz asked

0 Answers

Where are the Energy in and out Counter for Battery ? (Pylontech BMS -> GX -> MQTT)

Hello,

where can i find the Energy in and out counter for the Battery.
(mean's from Battery in kWh and to Battery in kWh)

I can see them on VRM Portal :

[image]

[image]


but they are not on MQTT Tree ...

i need them to determine some forecastcalulation ....


yvl asked
steffen-graap answered ·

3 Answers

Expected traffic to the mqtt{1 to 128}.victronenergy.com server farm?

I am running Venus-large and have a fairly extensive Node-Red flow consisting of about 100 nodes. My router is reporting a permanent TCP/IP session with one of the mqtt{1 to 128}.victronenergy.com servers with constant traffic of just over 10 kbit/s upload and just under 1 kbit/s download. This seems high to me but maybe it's because of my 100-node flow. Is this level of traffic to be expected?

paulcooper asked
paulcooper answered ·

1 Answer

Venus RPi Cloud Broker

I have enabled MQTT on a Venus Raspberry Pi install. Access to the local broker works.

However, can't get any data (not even the serial) from the cloud broker (in my case mqtt5.victronenergy.com).

When I look at the dbus-mqtt log, I see a connection with the local broker being established, but nothing on the cloud broker.

I am running 2.80-25. Is there anything else I need to do to enable cloud mqtt access?

Thanks,

MT

metro asked

0 Answers

VenusGX mqtt unstable after 2.72 firmware upgrade.

After upgrading the firmware of my Venus GX to version 2.72 I am having issues with it not continuously publishing to the mqtt broker.
When I connect a client to the broker in the GX I receive the subscribed messages for about a minute after which an empty message is received and no more messages are received until about 1 minute or 2 later. This just keeps on repeating.
I suspect there is a timeout issue or it somehow does not get the keep-alive messages.

I was unable to find a change-log for 2.70 to 2.72.
I would also rather not roll back but I also cant seem to find a way to even roll back the firmware.

EDIT:
After creating a profesional account I am able to access the changelog. Though that did not really explain why mqtt is misbehaving in 2.72.
It did however point out how to roll back so I rolled back to 2.66 which resolved the mqtt issues.

However that may cause me to be unable to configure my EM24 ethernet as that was not yet added in 2.66.

rwarps asked
mvader (Victron Energy) answered ·

2 Answers

External energy meter and grid set point

Hi,

I am not sure i understand, if i set the grid set point to 50W then i set the Energy Meter to external what happens then ? If i set the grid set point using dBus or MQTT then i need to make the phase calculation myself as described in the ESS manual ? Is that what ESS does when it has energy meter itself, it sets the grid setpoint dynamically based on the loads on the phases that it's told or am i misunderstanding ?


/peter

peternielsen asked
peternielsen commented ·

1 Answer

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

HI

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




[image]




fenix asked
Stefanie commented ·

1 Answer

CCGX MQTT Performance

Curious what kind of performance others are seeing on their CCGX from an MQTT perspective. I have been having issues where data wouldn't update for 10 or more minutes. I'm utilizing node red as a client and have all QOS set to 0. I've switch from wifi to ethernet on the CCGX and disabled all non essential flows in NODERED. Likewise I have disabled VRM and remote access to attempt to reduce all overhead possible on the CCGX. However, I am still seeing sluggish performance. It does seem as if I was able to improve things a bit but wanted to see if anyone else had any suggestions.


Thanks, Kirk

Kirk B asked

0 Answers

what topic shows if I'm charging or discharging batteries ?

Hi All

How can I via mqtt determine if Im charging or discharging my batteries.

G

georgelza asked
georgelza answered ·

1 Answer

Cerbo failing to connect to B&G Zeus3S

My Cerbo GX is on Firmware V2.60, which I understand is the latest as at mid December 2020. I also understand some networking/password issues with this Firmware edition are being investigated.

Connectivity of the Cerbo to a B&G Zeus3S is very flaky. MQTT is enabled. Upon startup of the Zeus3S, the Cerbo’s Remote Console will be visible on the Zeus for a couple of seconds or for a few minutes, but the following error screen always appears. Can anyone deal?

My boatbuilder’s electrician and Victron installer is stumped wrt this problem. The one other Cerbo he installed, with a Zeus 16” glass cockpit multifunction device, did not have this problem. Older Firmware, perhaps?
Thank you

Edit - prompted by JohnC’s answer: My B&G Zeus3S multifunction device is the 12” version.

Edit: the screen resolution for the B&G Zeus3S is 1280x800.

Edit: the ethernet cable connection between the Cerbo GX and the B&G Zeus3S is composed of a standard UTP ethernet cable from the Cerbo, to a B&G NEP-2 Network Expansion Port ethernet switch box, then a B&G cable with a five-pin connecter to the Zeus 3S chartplotter. Should work - and does work, in terms of making the link and communicating via the MQTT protocol. It’s just the weirdo crash and error message that’s the problem. I can find nothing in the Zeus for dealing with screen size or resolution, other than a text size selection, which did not help. I understand that Victron is not in a position to assist with networking problems via this forum. Fair enough. This is looking like something other than a network problem.

[image]

valden asked
valden commented ·

2 Answers

VictronConnect: MQTT-RPC unable to retrieve the list of devices, the attempt timed out.

When trying to connect to a site with VictronConnect, I get the following error:

"MQTT-RPC unable to retrieve the list of devices, the attempt timed out."

[image]

Warwick Bruce Chapman asked
dgnevans answered ·

1 Answer

Get Total Yield to Grid Value ?

Hi,

is it possible to get the "total yield sent to the grid" via API / MQTT ?

There is a nice graph showing the "sent to grid" values (in red):

[image]


But can I get this value using API or MQTT ?

I am able to read the total pv yield from my MPPTs, but thats not as interesting as the value that was sent to the grid for me.

BR

Gawan

gawan asked
gawan answered ·

1 Answer

VenusGX - Public MQTT Broker (disable?)

Hi, i accidentially read that my VenusGX seems to send my data via MQTT to this public Victron MQTT Broker. Is that true?


Can i stop this somehow - but still keep the local broker running (as i need this one). I checked the settings on the latest firmware version, but i only see MQTT with and without security...but no information on this external broker.


Any idea how to disable thisf?


Thanks Norbert

njordan asked
njordan answered ·

1 Answer

MQTT topic for "PV Charger" Power on CCGX (remote control)

Hi, I have a EasySolar II GX 250/70 - 3000. I am reading the MQTT successfully for other display purposes of performance of an EES setup. Right - bottom on this is "PV Charger" with watts.


the closest topic I could find to read that is /solarcharger/273/Yield/Power, but it reads about ~33W higher. than what is shown on the screen of the CCGX remote console. Anybody got an idea of the right topic for that value?

[image]

jroux asked
solarhack edited ·

1 Answer

Solar charger state doesnt show the equalization status

Hello,

my solar charger doesnt report the equalization state properly. I have lead-acid battery and I have set up the MPPT to perform regular equalization. So far it is working fine. When I check the MPPT physically it states the equalization phase on the LCD but when I check the MQTT output on the Venus GX (or VRM portal), it always show the state with value 4, i.e. Absorption. Any idea why is this happening?


I have 2 MPPTs (BlueSolar 150/70, firmware 2.05) in paralel (working) connected with VE.Can to Venus GX (firmware 2.53). There is also the Quattro and BMV-700 connected to Venus. For the solar charger state I use the "/State" dbus-obj-path. When equalizing by the Qauttro, the Quttro's state is correct.


Thank you,


Miroslav

miroslav-p asked

0 Answers

Change Generator start/stop SOC rules with mqtt

I have turned on MQTT on my CCGX and I am able to subscribe and get messages. I want to be able to change the generator start/stop rules which are based on the Battery state of charge. They are current at 50% and 70% but I want to be changing them programmatically depending on forecasts. Does anyone know the topic to publish to so these values could be changed?

clasence asked
sanderson answered ·

2 Answers

no longer receiving data from mqtt.victronenergy.com

Since Sunday 21:12 AEDT (Melbourne, Australia), I am no longer receiving new data from mqtt.victronenergy.com. The connection seems good, my CCGX is healthy and VRM portal continues to be updated.


When I restart my mqtt client here, it does receive from the server all the "retained" data, but no new data flows.

Any suggestions?

ozdw asked
ozdw edited ·

2 Answers

Connect Venus GX to PRTG(Paessler AG)

Hello all,

Is there a way to connect my Venus GX to my PRTG using MIB? Or any other way?

samatcomm asked
mvader (Victron Energy) answered ·

1 Answer

MQTT and NMEA2000

I can see via Remote console where to selected mqtt under settings/services, I know the IP of my VenusGX, is there a username/password to select/use,

what's the QoS, and lastly whats the next option suddenly shown "NMEA2000" ?

georgelza asked
Paul B answered ·

1 Answer

Battery Temperature Sensor Venus VX / SmartSolar

Hi,

In a setup that consists of :

1 X 5kva Muiltiplus

2 X SmartSolar 150/70

1 X BMV 702

1 X Venus GX

1. Can the two SmartSolar charge controllers operate in true parallel (ie both be in the same state)?

2. Can the charging be temperature compensated using the temperature sensor attached to the Multiplus? If not, what do I need to buy to do this?

3. Can the GX publish MQTT topics to my own MQTT broker (Mosquito on another RaspPI)?

4. Can the BMV 702 talk to the GX using a BlueTooth dongle?


Thanks for your help


hobohome asked
wkirby answered ·

4 Answers

DC Charger

I originally posted this on the victron-dev-venus Google group, but wanted to move it over to here as this may be a more appropriate place for it now. Here's a link to the original post:


https://groups.google.com/forum/#!topic/victron-dev-venus/_PTx0MxDNG8


Basically, I have a REDARC BCDC1240D DC-DC charger that I use to take power from the truck alternator and charge the LiFePO4 batteries in the trailer. If you're interested in reading more, I wrote it up here:


https://www.adventurousway.com/rv-electrical-upgrade-part-3-dc-charger-truck-12v-socket


It all works well, except because the DC-DC charger isn't Victron (and Victron don't have a suitable product), it doesn't talk to the Victron system - i.e. the CCGX. This means that all the CCGX displays is a net DC figure - but I have no way of breaking that down into how much energy is coming in from the charger (e.g. PV) vs how many energy is being consumed by DC loads in the RV.


In fact, from a data perspective, the device is dumb - there's no way data / comms available from it at all. My plan is to build a small MCU-based device with an INA3221 (essentially three INA219 chips combined) to measure the current and voltage on the 3 legs of the charger - PV input, alternator input, charger output.


My question is about the best way to get this data into the Victron system. My thinking was simply to write on the relevant MQQT topics so the charger shows up as a new device. Will that work? Has anyone done this before, and specifically, Victron doesn't have an appropriate device type for a DC-DC charger so I'll have to create some topics of my own.

Matt Knight asked
markus commented ·

2 Answers

ESS and MQTT

Hi,

in the next days I am going to setup Node Red with MQTT and my ESS.

The first tests are successful. But I only want to use it on local network for a display showing live data.

As I know, as soon, as I use MQTT in the venus gx, the data is also sent to mqtt.victronenetgy.com.

I see this in a light upload traffic. Well, I do not really need the online feature. So is it possible to disable it, while keeping the local function?

Can you make a switch in config menu?


Steffen

steffenp asked
steffenp answered ·

2 Answers

110 Posts
83 Users
4 Followers

Topic Experts

gone-sailing
11 Points
Rob Howdle
0 Points
zabda
0 Points