Shortest distance, CAN to D-Bus


We are currently working on an electrical boat with Victron Energy systems installed.

The boat has a 15kw generator with a bunch of sensors which we have connected to the supported CAN-Bus system on Cerbo GX.

The generator is not a supported one in Venus OS, so for now we decided on installing Venus OS Large because of the simplicity of Node-RED.

We are receiving the CAN-frames as expected in both Node-RED and the bash-terminal through SSH and we now want to pass the translated information to D-Bus.

At this point we are going to attempt adding settings to the D-bus, using the Fischer Panda settings as a base-template.

What we do not know is how to pass this information from Node-RED to the D-bus.

Any help or ideas on the matter would be greatly appreciated.

haakastadir asked
haakastadir edited ·

0 Answers

node-red controlling ac-out-2 on multiplus II ESS

In the venus large installation guide ( ), it states for Multiplus II "Includes alarm relays as well as the AC-out 2 relay: its not possible to control those; and there is no plan to make them controllable from within Node-RED."

Is it still the case that AC-out-2 relay is not controllable and is not planned to be controllable? If so, is there a technical limitation to this, or what is the reason? Will it definitely never be supported, or is it merely "not yet" supported?

I use AC-out-2 on my Multiplus II for non-essentials, and currently it is turned off as soon as the grid input on AC-in fails. I know there are meant to be ways to change that default AC-out-2 behaviour using assistants, but it looks a bit daunting to edit those. If Node-RED supported being able to set AC-out-2, it looks like it could then be fairly simple (compared to the assistants) to allow it to provide power to non-essentials while SoC of batteries is above a certain level.

gyrovague asked
gyrovague commented ·

2 Answers

Node Red broken because of unwanted qml files update?

Hi all!

A few weeks ago my Node Red (VenusOS v2.70_3-large-12) suddenly was broken on my Raspi 4B (4GB). A lot of files has been updated, which i can't understand. I'm sure, that the automatic updates has been deaticivated. Also the /opt/victronenergy/version hasn't been changed.

For example one of the updated qml files:

--- 20210507/opt/victronenergy/gui/qml/PageTankSensor.qml

--- v2.70_3-large-12/opt/victronenergy/gui/qml/PageTankSensor.qml

@@ -18,7 +18,7 @@

MbOption { description: qsTr("Black water (sewage)"); value: 5 }


- property VBusItem devInstance: VBusItem { bind: Utils.path(bindPrefix, "/DeviceInstance") }

+ property VBusItem connection: VBusItem { bind: Utils.path(bindPrefix, "/Mgmt/Connection") }

property VBusItem customName: VBusItem { bind: Utils.path(bindPrefix, "/CustomName") }

property VBusItem fluidType: VBusItem { bind: Utils.path(bindPrefix, "/FluidType") }

property VBusItem volumeUnit: VBusItem { bind: "com.victronenergy.settings/Settings/System/VolumeUnit" }

@@ -30,7 +30,7 @@

if (customName.valid && customName.value !== "")

return customName.value

- var inputNumber = devInstance.valid ? devInstance.value : ""

+ var inputNumber = connection.valid ? connection.value.replace(/\D/g,'') : ""

var inputNumberStr = ""

if (inputNumber !== "")

Any idea, what happend there? I will shortly update to the latest version. Will this fix this problem?


Dosheimer asked

0 Answers

Node Red - don't get everytime "connected" notification


I am using several Cerbo GX (HW Version 02 and 03). I've installed the node red venus-swu-einstein-20210416100626-v2.70~5-large-18.swu via usb-stick, how its described here to do:

Installation and so on is working without any problems. After reboot just sometimes I can connect to the node red interface via venus.local:1880 or IP:1880. And sometimes via VRM Remote with the ID of the Cerbo.

1) Unfortunately sometimes I can open the node red interface, and sometimes not. Then I get the notification that node red isnt installed. But it is installed and activated in the menu.

2) When its working, then just sometimes I can ad my flow (its about temperature to switch on the fans when system is getting to hot) and deploy/send to my Cerbo. Unfortunately here just sometimes happens that there will a notificatin of "connected" and sometimes not. I dont unterstand why its just sometimes working. When I change the Cerbo GX and try exactly the same procedere, its working. But then I get the next system with another Cerbo and its not working again. Attached you can find 2 pictures, how its looking like when not working (missing "connected") and when its working.

sometimes like this:


and sometimes its working like this:


Is there a dependence to the version of node red and Hardware version? I've tried also older versions of node red (16, and 10 and 12) and sometimes its working, sometimes not. Can't figure out whats wrong.

What I did after installing node red via usb stick:

1) Firmware -> online updates -> Auto update -> OFF
2) Remote control -> disable password check (do double click)
3) Remote control -> Enable on VRM -> ON
4) Remote control -> Enable on LAN -> ON
5) DVCC -> OFF
6) VRM online portal -> VRM two-way communication -> ON
7) Ethernet -> check if connected to network otherwise connect
8) I/O -> Analog inputs -> ALL OFF but temp input 1 (depends where connected)
9) I/O -> Digital inputs -> ALL OFF
10) Venus OS large features -> Node Red -> ON
Do a reboot (General -> reboot (double click)

I hope someone could help me with my 2 problems, which maybe related to each other.

Thank you.



markusschwientek asked
markusschwientek answered ·

4 Answers

Hello Victron-staff please help us with ESS Phase compensation!

Hi Victron (@mvader), we are discussing in several threads a nearly similar question without an expert comment by victron-staff:

This main problem of an „symmetrical“ or „balanced“ ESS in a three phase grid-parallel setup is absolutely essential for the German and Austrian market. Please let us know what you think about it! Thank you very much!

woliver asked
thomasw-1 commented ·

3 Answers

Node-Red boot

Using an RPi 4 and Node-Red which works fine, my issue occurs when the Pi reboots.

On reboot Node-Red reverts to an an earlier state, by this I mean recent changes appear lost.

I have to install the backup JSON and delete the older flows that appear after boot.

This happens each time the Pi reboots. I have no idea why this happens and thought that once "Deploy" is pressed it would become the latest version and become the backup.

xsilvergs asked

0 Answers

AC Current limit, Multiplus

Dear Community,

I had a Automated Current limit flow set up on Node red with CCgx last year, this flow would subtract the Amps from 2 circuits that are directly connect to our generator , from the current limit so that we are able to get quickest charge times possible, while not over loading the generator when say ( oven , hob, dishwasher, 2x clothes washer , drier ) are on , in there various states of consumption.

My Question , can anyone please tell be the topic for Current limit on the Cerbo ? we have recently upgraded from CCgx, ( on the ccgx the topic was something like W/506583dbfda4/vebus/276/Ac/ActiveIn/CurrentLimit ) open to ideas ...

Many thanks

all the best


londine asked
Alexandra edited ·

0 Answers

Venus OS Large: Node-RED and Signal K

Hello all,

As some of you know, something new is in the works, called "Venus OS large". This post is intented to start getting a large audience for it, as well as to recruite more help in further developing it.

This story is a bit longer than I usually type, here we go:


Venus OS Large is an extended build of Venus OS, it adds Node-RED and Signal K server.

Node-RED is a tool for connecting hardware devices, APIs and online services. It provides a browser-based editor that makes it easy to wire together flows. With it, one can for example program something relatively simple such as a relay to open or close based on a temperature measurement. As well as make far more complex algorithms, tying voltage, current, power or other readings and other data available from Venus OS or elsewhere together with outputs such as relays or control points of the Victron system. All without having to write real source code.

Also Node-RED features a fully customisable dashboard, viewable in a webbrowser - both locally and remotely, via the VRM Servers.

Signal K server is aimed for yachts, and multiplexes data from NMEA0183, NMEA 2000, Signal K and other sensor inputs. It makes all that data available for Apps, such as WilhelmSK, a highly customizable boat instrument display. The Sailing with Signal K blogpost on our website is a great read for more information and ideas.

Customisation & automation without needing to be a software developer

The value of above is that now you can self configure and customise your GX Device to do many of the things asked for here. And doing so without having to posses software developer skills. It will require patience, time and to be not too afraid of trying things.

Its really extremely powerful and I'm super excited about the possibilities.

Documentation & how to install


Venus OS Large is available for the Cerbo GX, Venus GX, MultiPlus-II GX and EasySolar-II GX as well as the RaspberryPi3 and RaspberryPi 4.

Want to help?

There are a few ways to help. First of all by simply installing and using it; and reporting any issues, or just that you're happily using it and what you are using it for.

The other is by helping others here on the Modifications section on Community. There is and will be no official support for Venus OS Large. Instead, we are referring users to turn here, the Modifications Space on Victron Community. You can help by answering questions.

Next, there is developing and improving the documentation; The manual needs further development, also the nodes and available measurements will need detailing and documenting, examples, screenshots, videos, it will all help adoptation and getting the best out of this. And we'll need more help for all of that that.

Lastly I am looking for help in development and support. First of all to further develop and support the Victron integration into Node-RED, ie. the node-red-contrib-victron package. Which will require nodejs experience, Linux experience, and preferably also experience with Victron products; ideally you'd be following and taking part of the discussions here on Community, (remotely-) debugging issues as well as suggesting and implementing new functionality in the said package.

Besides the node-red package, also the integration of Node-RED and Signal K in Venus OS needs to be maintained. Which requires a different skillset: deep experience and knowledge of Linux, but also the Open Embedded build system.


I can type a whole lot more about this, but have to stop now. Have a good Sunday! And if you have examples, or questions or comments, welcome to put them below.

Ps. Node-Red example flow:


mvader (Victron Energy) asked
palle commented ·

13 Answers

Access to Red Node via ip adress:1880

I'm very new to Venus OS large, just installed it and try to connect to signal K and Node Red to have a look. Unfortunately I'm not able to connect to the Node Red server at all. Seams there is a mistake I do. May someone can help me out, as I could not find any further infos.
I tried:

- via venus.local:1880
- via IP:1880

but both does not work at all. I'm able to connect to signalK via both methods :3000

I tried with switched on both signalK and Node Red and just one.
I tried on different browsers, all the same "access denied" error.
As it works with SignalK :3000 I'm don't believe it has something to do with browser setting.

Thanks for your help

Silvio Franceschini asked
janvd answered ·

2 Answers

Click here to see questions for the Node-Red topic


Node-Red is awesome, super flexible and allows amazing customisation and control of your Victron system, but it can also be complicated and many possibilities are completely untested.

It is considered a modification and only to be used at your own risk.

Victron does not provide any official support for Node-Red, so please keep questions in the modifications space on the community (and not to your dealers or sales managers).

If you are experiencing system issues and need help, please turn off Node-red and return your GX to the supported factory state before seeking support beyond the Victron modifications community.

Click here to see all the community content that uses the Node-Red topic.

Thanks :)

Guy Stewart (Victron Community Manager) asked

0 Answers

Venus Remote Node Red

I have a Victron installation on my boat, being monitored with a rPi running Venus. I have a boat server running Ubuntu, connecting to the boat NMEA network and running a SignalK server and Node Red. While the NMEA data is working ok, I'm having problem with the Victron data in Node Red. Logs show SK connecting to the Venus ok, whether using MQTT or remote DBUS. The SignalK server is displaying the Victron data ok in the data browser, again, with either connection to Venus.

But I am getting the same error in Node Red as was discussed in this unresolved question over a year ago:

I think the problem is the palette installation. On the remote node-red-contrib-victron instructions, it says:

In order to use the plugin remotely, Node-RED and the plugin needs to be locally installed:

  1. install node-red on your system
  2. cd to the node-red user directory, typically ~/.node-red
  3. install node-red-contrib-victron locally, npm install @victronenergy/node-red-contrib-victron

How can I install Node Red or the contrib-victron locally? There is no npm on the Venus.

Further, it would seem the easiest solution could be to replace the Venus firmware with the latest 2.70 large that includes NodeRed. However, in order to prevent a repeat of the moisture in the RPi circuit board issue I have had before, I have sprayed the RPi board with lacquer coating, and the SD card is now glued into the socket and can not be removed.

I can ssh into the Venus with root access, so what if I can install npm into that os and then install Node Red? Will that help? How is that done?

seebeezee asked
billknny answered ·

2 Answers

Node Red Time Zone And Such...

I realize this is a couple of related questions, but here goes:

Is that any way to read the timezone offset that the user sets in the Venus GUI into NodeRed? I am trying to make decisions based on local time, which since I am a sailboat, that changes and changing it when it is hard coded into NodeRed is a bit awkward... I do have access to the GPS position that is on the CANbus, and could calculate a "solar time" based on latitude, but that seems clunky...

The vaguely related question: Is there any way to access the user set value for the "Quiet Hours" used by the generator autorun function?

Even further afield from the original question: Are the other parameters set by the user and used by the generator autorun function accessible to NodeRed?

I haven't found any of these on the published Modbus register listings.

billknny asked

0 Answers

Remote console and node-red grid value dont match

I am running node red on a GX. I have 2 quattro 15kva in parallel. When the grid is conected the value on node-red does not tie up with the remote console. I have selected Input Power 1(W) on node red and there is a significant difference, not just lag, to that of the cosole. Any ideas please

David Gould asked
David Gould commented ·

0 Answers

Automate more than 2 relays using Node-Red on RPi


Following the notes from here I've managed to get as many relays as I want configured on my RPi. These work on the GUI and in hardware.

The problem I'm having is that if I configure more than two relays, they stop apprearing as an option for me to control in Node-Red. Has anyone had a look at this or have a work around?



dharryman asked
thomas-g commented ·

0 Answers

Node red login

All of a sudden when I go to Venus.local:1880 a screen comes up requiring username and password

i don’t believe I did anything to set this up and I don’t know what the username and password is

is there a default or a way to stop this happening ?

bear asked
Stefanie answered ·

1 Answer

Node-Red Battery temperatures

I currently sense two battery temperatures using Wemos D1 Mini and send the data over MQTT.

Is it possible for Node-Red (large-image running on the Rpi) to write these temperatures to the GX part as Battery Temp 1 and Battery Temp 2 instead of using and ADC?

Node-Red can read from a temperature sensor (there is a node for that) but can it write values?


xsilvergs asked
Rene Mullie answered ·

3 Answers

Weather controlled Minimum discharge SOC example using Node-red

I have an interesting NodeRed project - based on next day weather, it is changing the minimum discharge SOC on the GX device. So if next day it is sunny, it will configure the SOC to a lower level, if it is cloudy it is increasing the SOC. At this moment I have only 4 levels, but it can be improved. How I'm doing this - you need to create a free account on After doing that use the API generated on that site, put it in the openweathermap node, add your city name or coordinates, and you will receive the details for the next 5 days. I'm looking only at next day, between 9AM-6PM and the value used is called visibility. Having the average value for next day, the system will decide (every day at 3PM) how the SOC should be for the next 24h. There are lots of things that can be added. If you need any other info, you can ask. Or if you have something similar, please share.



Lucian Popescu (Victron Energy Staff) asked
thomasw-1 edited ·

1 Answer

Multiplus Battery temperature in Node-RED

I am sure I am overlooking something here,

I can't seem to find the Multiplus read battery temperature in any of the Node-RED nodes. It certainly shows on my console so the data is there, and in VRM, and I can easily access the battery temperature sensors directly connected to the Cerbo, and the one connected to the BMV, but link to the Multiplus message containing battery temperature, I can not find...

billknny asked
billknny commented ·

1 Answer

Venus Node-RED - Example flow: Temperature controlled relay

Does anyone have a good example of flows for maintaining lithium battery temperature via GX relays?

I have one that I slapped together but it's pretty basic and I don't really have a very good grasp on node-red yet.

Seeing as how this is one of the most common reasons for someone to want node-red, I'm pretty surprised that I can't find this already out there! The flows/dashboard from section 6.2 of the following link are very similar to what I am trying to do....but I can't see the rest of the flow and I'm lost.

I would also like to throw in some other variables such as warming the batteries to a higher temperature when the PV & battery voltage is above a certain threshold, and disabling warming when the battery voltage is too low.

chris-wilberg asked
Mark commented ·

1 Answer

How to access GPIO Pins in Node Red on Venus Raspi 3


i have installed the large image of venus with Node Red included. everything works as it should.

i have 5 relays i want to control, but i do not want to do it on the Venus UI, instead i want to listen on the local MQTT Server and if the value true comes in i want to turn the relay on.

My Relais are on the PINS (7,11,13,19,26)

Does anybody knows how to access them in node red?

The standard Raspberry Pi Nodes arent working



bo0om asked
mtnscott answered ·

1 Answer

Ignore AC input over modbus / dbus?

I am looking for a way to just ignore the AC input.

I have modbus tcp and access to the dbus thru nodered, but I dont see how i would change that setting.

Currenlty i overwrite the settings manually every day with VEConfigure, but that is pretty painfull. :)

How can I achieve this and make some nice flows in nodered?

betz asked
jacola answered ·

3 Answers

May Node-Red communicate with third-party CAN?

Hi, you'll probably guess from the following that this is not an expert question. Anyways, I'll give it a try:

Is there any way to let Node-Red on Venus or Cerbo communicate with an external device via a proprietary / third-party CAN protocol (based on CANopen)? I imagine to build outgoing or decompose incoming messages with e.g. a function node and/or an appropriate -contrib-.

What is the best way to do the hardware-interfacing between the Venus/Cerbo and the external device?

What is the best way to implement a CAN-communication in Node-Red on Venus/Cerbo?

Would be nice to use the power of Venus/Cerbo with Node-Red for extended control tasks. Therefore this question as part of a general feasibility check.


Thomas Pfeifer asked

0 Answers

Force charge/discharge of Multiplus using VenusGX & Node-Red

What am I trying to achieve?

Charge the battery, or discharge the battery based on external input (via MQTT, but ultimately based on variable electricity tariff status)

I am up and running in Node-Red on the Venus GX 'large' image and am able to set the Multiplus to the following modes;


However if I set the multiplus to 'charger only' it obviously won't charge if I'm not in a scheduled charge slot.

If I set up a scheduled charge slot to be active at all times, then I can charge / not charge on demand by setting the 'Disable Charge' flag to either 0 or 1.


However when in the 'don't charge' state, it also won't discharge the battery as I'm in a scheduled charging slot.

I've tried setting the AC power setpoint instead of charging within a scheduled charging time, but it doesn't seem to do anything if I try the following;


Can anyone offer any recommendations on how I can switch between charging or discharging to meet my requirement?

homestorage-77 asked
russ commented ·

1 Answer

Cerbo GX and Node-RED via Venus OS Large: dashboard functions?

Dear Victron-users,

I recently bought a Cerbo GX with touchscreen and after a few days of tweaking I decided I want more, for example a custom dashboard. Installing Venus OS Large was the best solution I was told so I installed it on the Cerbo and activated Node-RED. Via the URL and the specific port I can access Node-Red and put instances on the grid with connections etc. But..... that's where it stops for me ;-). I cannot create a custom dashboard. On all the YouTube films I watched, I see in the left column a submenu "dashboard" with for example gauges etc. but I don't see this menu and when I go to URL/ui I get a error there isn't a GUI. Can someone help me a little bit forward?

Kind regards,


pim asked
pim commented ·

1 Answer

Node Red, Signal K and NMEA 2000 Devices

Just wondering if anyone has looked at how to get Node Red to send a message to a NMEA 2000 device. I am looking to install a yacht devices YSDC-04, and want to to switch the switches within Node Red flows.

Just asking if anyone has any pointers.

I am aware of the @signalk/node-red-embedded for when node-red is embedded in Signal

bathnm asked
Stefanie commented ·

0 Answers


External/existing Node-Red connectivity to Venus OS

Is it possible, will it be possible to connect an external/existing Node-Red setup to Venus OS instead of using the internal Node-Red that will be available in a future release of Venus OS?

acs asked
Stefanie commented ·

3 Answers

Node-Red Temperature Sensor Node

Using Node-Red v2.6-large-image-7 on a RPi3 B+ with an mcp3208 ADC.

When I try to use the Temperature Sensor node I'm unable to select either sensor.

I get this message in the "Edit Temperature Sensor node" box:

Multiple temperature sensors were found with the same name. You can set a custom name for the device in Venus settings.


I am unable to see how to change the name of the sensor, any help would be much appreciated.

xsilvergs asked
xsilvergs edited ·

1 Answer

Help with using Node-Red with Venus GX

Could anyone please give me a bit of support in gettig started with Venus GX interfacing via Node-Red?

I've got Node-Red installed on a Raspberry Pi & am looking to switch on / off my Multiplus II based on certain input conditons.

I've loaded in the Victron nodes to Node-Red but am stuck on step 4 of the Installation Instructions;

enable d-bus over tcp in your Venus device if you want to use dbus over TCP, otherwise skip this step. Edit /etc/dbus-1/system.confand add the following directly above <policy context="default">:


How do I actually go about doing this? How to I connect to the Venus GX in a way that allows me to edit the files?

Any advice of next steps would be greatly appreciated too, as the instructions are not clear for me.

Many thanks in advance

homestorage-77 asked
Mark commented ·

1 Answer

Control MultiPlus II via MQTT

Would it be possible to control a MultiPlus II via MQTT ?

What I'm thinking is to disconnect the mains in relay off between 16:00 - 19:00 this would be because on the Octopus Agile tariff here in the UK is the very expensive period. During this period my house would run from batteries via the inverter in the MultiPlus II. The control would come from Node-red.

myozone asked
homestorage-77 commented ·

6 Answers