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?
2 Answers
Hi,
iam using the venus OS Large image (raspberry4 v.2.92) and i want to enable the "project-function" as described here: https://nodered.org/docs/user-guide/projects/
But i cant find the correct "setting.js"
I set "project enbale: true" here:
./usr/lib/node_modules/node-red/settings.js
./usr/lib/node_modules/node-red/venus-settings.js
but nothing happens. Is it possible at all in the large image?
Thanks
Stephan
1 Answer
Hi
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.
BR,
Lars (Denmark)
2 Answers
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.
4 Answers
Hello,
**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.
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:
/usr/lib/node_modules/node-red
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:
/data/home/nodered/.node-red/
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: https://nodered.org/doc > */ contextStorage: { default: { module:"localfilesystem" }, },
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.
Thanks.
3 Answers
Hi,
I've read many discussions, articles etc regarding firmware updating of Victron devices.
This is what I understood:
Now my questions are:
Thanks a lot.
1 Answer
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?
1 Answer
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?
2 Answers
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?
Thanks!
1 Answer
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?
2 Answers
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.
1 Answer
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.
2 Answers
Hallo,
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!!
4 Answers
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;
[image]
[image]
1 Answer
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:
Are they related?
2 Answers