MultiRS Solar scheduled charging using Node Red

As soon as from 1.12 firmware there is an option for ESS External Control, Im wondering if I can implement the following scenario: charge battery during night time only (except cases when SoC is low). Thats what's my plan:

1. Switch MultiRS Mode to ESS External Control

2. Using integrated Node set ESS State to "10 - Optimized mode w/o BatteryLife: self consumption, SoC at or above minimum SoC"

3. When SoC is down less than 30% change ESS State to "12 - Optimized mode w/o BatteryLife: recharging, SoC dropped by 5% or more below minimum SoC"

4. As soon as night time came (after 23:00 till 7:00) change ESS state to "9 - 'Keep batteries charged' mode is enabled" until full charge

5. As charge is full change it State back to 10.

Is it a good idea overall? Will it work?

Evgeniy Labunskiy asked
mvader (Victron Energy) commented ·

2 Answers

How to enable the project function ? - VenusOS Large - Node Red


iam using the venus OS Large image (raspberry4 v.2.92) and i want to enable the "project-function" as described here:

But i cant find the correct "setting.js"

I set "project enbale: true" here:


but nothing happens. Is it possible at all in the large image?



obenschlaefer asked
usernamepasswordbs commented ·

1 Answer

Nordpool Elpris integration


I just eant to hear if anyone has done some Nordpool integration to get prices into the NodeRed and control i.e. to stop/deactivate feedin when price is under at chosen value?

I have already done a little to get daily prices into an array, but I simply cant figure out how to work with arrays.

1) I want it to pick the price in the array(price per hour) for the hour(clock) of the system, so I can turn on and off the feedin. I also need to figure out how to read to the system to disable/enable feedin excess.

2) it could be great to calculate the feedin excess kwh and multiply with the price of the hour. This gives a sum of earned money of sold power to grid.


Lars (Denmark)

larsea-dk asked
kim-sandberg commented ·

2 Answers

What's going on with VRM?

VRM has not worked properly for weeks and today I've lost my installation from the menu, it's just a blank screen saying Add Installation.

Does anyone at Victron have an idea of timeframe when it will be back or know how I can see my system in the meantime? I guess I do need a backup of some sort.

Does anyone have a Node-RED dashboard showing ESS basics for example. Most of my flows are solar forecasts or modifying ESS behaviour for utility tarrifs, I didn't expect to need to use the dashboard to see VRM-like stats.

markess asked
mvader (Victron Energy) answered ·

4 Answers

Node Red - Enable Persistent Context Store


**on edit: for some reason posting inline links are not working for me, so I posed the links as plain text**

I'm trying to enable persistent context stores on a Cerbo GX for Node Red, per this article.,This%20is%20called%20'context'.

Apparently, there are a couple (few?) different settings.js files in the Cerbo and I was modifying the default one at the default NR path:


Modifying that file broke NR. I had to reload the regular then large firmware to get NR working again. Restoring my changes did not seem to work.

I then saw this article

which indicates that the correct path to settings.js should be:


Modifying that file by un-commenting the contextStorage section as follows:

/** Context Storage
      * The following property can be used to enable context storage. The confi                                                                                                                                                             >
      * provided here will enable file-based context that flushes to disk every                                                                                                                                                             >
      * Refer to the documentation for further options:                                                                                                                                                             >
     contextStorage: {
         default: {

worked and my context values survive a reboot.

I then tried to modify settings.js to have memory and file storage options (also per the above article) like so:

contextStorage: {
   default: "memoryOnly",
   memoryOnly: { module: 'memory' },
   file: { module: 'localfilesystem' }

When I do that, NR won't launch, throwing the error:

Error: remote installation does not seem to have a running Node Red service.

Any Idea why this won't work?

The reason for all of this is I have setpoints to run fans, battery heat, etc. that I can adjust via a NR dashboard. I want the last settings to be saved in the event of a reboot. I thought the second method would be nice so only the contexts that I explicitly need would be written to disk, but I suppose it's no big deal to write them all.

Is this the best way to do this in a Cerbo NR deployment? Any issues writing the files to the Cerbo file system? I understand that because I'm writing to the /data partition, the files should be safe from a firmware upgrade.


m-richards asked
andy156 edited ·

3 Answers

Updating firmware of Victron devices


I've read many discussions, articles etc regarding firmware updating of Victron devices.

This is what I understood:

  • if it works, don't update it
  • never ever update Multiplus, unless you know how to configure it back since it goes to factory setting after the update (I have 3F system)
  • if needed you can update MPPT and Cerbo GX, it shouldn't delete any settings

Now my questions are:

  • did I understood it correctly?
  • I'd like to install Node-RED on Cerbo GX. If I do that will it preserve the settings if I use the full version of FW? Or will I need to do anything else after the update?
  • there was a new OS v3.00 yesterday. Is it safe to update the FW to the full version of v3.00 with Node-Red if I have v2.92 now?

Thanks a lot.

jakudo asked
jakudo commented ·

1 Answer

Node-RED and other bluetooth information

I have a Mopeka TD40, which I now realize isn't supported natively on the Cerbo. Is it possible to get a connection and read data from it using Node-RED?

paul-2 asked
paul-2 commented ·

1 Answer

Controlling single phase ESS via nodered

I have set up a single phase ESS (Multiplus2) which is working as expected so far.

I would like to control the charging from the grid flexibly via nodered while relying on the gx ess functionality to provide zero feed-in functionality.

I found that I can control "disable charging" via nodered but that works only during the scheduled charging times. And while a charge is scheduled zero feed-in functionality is not working although charging is disabled.

What is the best way to achieve charging control via nodered while in ess mode?

michael-protogerakis asked
andy156 edited ·

2 Answers

MultiPlus-II stuck with old max charge current setting

Max charge current is set depending on a variety of factors using NodeRed, and has been working flawlessly for months. I recently noticed that it stopped fluctuating as expected, and checked the code to see if it was still set correctly, as well as whether or not it made it into the "remote console" (in DVCC -> "Maximum charge current"). I also checked that there was no interference from the BMS, and that the current voltage wasn't close to any of the limits either.

When disabling the NodeRed code and setting the charge current manually in remote console, this didn't have an effect either.

Ultimately, since I couldn't make sense of the situation and none of the data I reviewed gave any explanation, I decided to restart the VE.Bus system which - as expected - returned things to normal.

The MPs are running firmware 498, I checked the changelog and it doesn't seem that there have been any changes pointing to what I'm describing above (except maybe for "miscellaneous changes"). Is anyone aware of a firmware change that would fix the issue I have described?

kenzo asked
gnissah answered ·

1 Answer

Gathering EM24 data via nodered

I have a EM24 Ethernet as part of an ESS. Is it possible to gather data from the EM24 via nodered through one of the Victron nodes?

If not, is there an example anywhere of how to poll data from the EM24 Ethernet in parallel to the GX via Modbus TCP from nodered?

michael-protogerakis asked
hominidae commented ·

2 Answers

VenusOS Large - Node Red - Upgrade node.js?

Hello! Is it supported and/or possible to upgrade node.js on a Cerbo to something more recent than v14.17.6? There are some interesting flows that I would like to add, but they rely on newer versions of node.

andreholgersson asked
mvader (Victron Energy) commented ·

1 Answer

Venus, VRM, Node-RED - all not working

VRM hasn't connected all afternoon for me. I can't get a remote Console either. I also just noticed Venus is showing as offline by my router.

Unfortunately this means that I can't control my system without being physically present. I have Node-RED code running for example, but can't access it.

Any thoughts on how I might connect? All has worked since install last year.

Is something still going on at Victron to cause this? Why would venus be offline in that case. It's like it doesn't connect to WiFi anymore.

markess asked
mvader (Victron Energy) commented ·

2 Answers

Node-Red PV-Überschuss auslesen und Poolpumpe aktivieren


ich habe mich versucht ins Node-Red einzuarbeiten.

Leider konnte ich kein passendes Node für den PV Überschuss finden.

Ich habe nur einen 3000er MP und alles was ca über 2kw erzeugt wird geht ins Netz und nicht in den Akku. Ich möchte dann gerne über eine Wlan Steckdose die Poolpumpe einschalten.

Vielleicht kann mir da jemand helfen.

Vielen Dank!!

micha83 asked
hominidae answered ·

4 Answers

Node-RED default dashboard values after Cerbo reset

I have Node-RED running on my Cerbo GX. I have a Node-RED dashboard where I set some numerical parameters for the flows (as flow variables). Recently I had to reboot my GX due to connectivity issues and after rebooting, as you might expect, all the dashboard values change (seem to either not be set or go to their range extremes).

After a GX reset Node-RED appears to come back up, running the flows it did previously, so it's important to make the dashboard values come back set to something sensible.

Is there a way to set a default dashboard value, which it will take after a reset of my GX?

The image shows how I use the function node to set a flow variable from the dashboard. Do I just need to use 'On Start' tab and set a hard value there? e.g.

flow.set("socthreshold_dash", 50);

return msg;



markess asked
derrick thomas answered ·

1 Answer

Problem updating Node-RED palette add-ons

I have successfully updated my long-serving Venus v2.7~5-large-18 to the latest v.92-large. It all went very smoothly and only required a couple of tweaks to various nodes for my flows to be fully functional. However, two issue remain that are probably related:

  1. I cannot update any of the palette node groups, such as Dashboard and Email. I think I may be able to update them by removing and reinstalling but is there a better way?
  2. This happens on Safari but not Firefox – I keep getting "Lost connection to server, reconnecting in...."

Are they related?

paulcooper asked
larsea-dk answered ·

2 Answers

Top Contributors - Community Supporters

Matthias Lange - DE avatar image Matthias Lange - DE 190 Answers & Comments
ojack avatar image ojack 176 Answers & Comments
kevgermany avatar image kevgermany 143 Answers & Comments
Alexandra avatar image Alexandra 136 Answers & Comments
nickdb avatar image nickdb 113 Answers & Comments
mvader (Victron Energy) avatar image mvader (Victron Energy) 107 Answers & Comments
netrange avatar image netrange 96 Answers & Comments