Jump to content

Node Red Fun With Victron


spark88
 Share

Recommended Posts

So since I've setup my blue install I have come across node red ... awesome is all I can say.

Last night I hacked together a little UI with some information that I wanted to see.

It also shows the grid status and announces if the status of the grid changes.

On the configuration tab I've added manual switching of relays on the venus for a start.

I'll of course add to this as I go along and update here. Things on the road map:

    - See if I can use sun forecasting to determine how much I discharge the batteries at night

    - There are certain things I want to control given the various states my system is in

    - Add a button to control modes of ESS if needed (rather than having to go through the menus on the Venus)

NOTE - Victron actually has a node-red ready version of Venus OS. Super nice, but I found as soon as I start using the UI it kills the performance of the venus.

NOTE - It was night time when I took the pic, hence no PV

The flows are available from here: https://github.com/sparkmark/victron_node_red

1028248226_ScreenShot2020-04-17at12_26_42AM.thumb.png.95af1017c784f28f616e3dd20078e5a3.png

 

1236454106_ScreenShot2020-04-17at12_26_50AM.thumb.png.53fc6e0e8bd29c4efb3880d0968ad0c4.png

 

612025324_ScreenShot2020-04-17at12_27_00AM.thumb.png.1c22998d91f99bcbd9debbd4b9178d4a.png

 

Link to comment
Share on other sites

@spark88I have Battery Balance also and a second Power Meter on ACOut2 to measure Non-Critical loads. My GUI is based on a Comfort Ultra Alarm and Management system and a PC front-end developed by a buddy in the UK. Maybe it can give you an idea or two, free, gratis and verniet.

Note, that second power meter is in no way connected to any Victron kit, I read ModBus data directly from it via ethernet.

image.png.cbd1063b1869242e8364c8b38eff5ffa.png

Edited by Ingo
Link to comment
Share on other sites

So the cloud coverage data isn't really that reliable, but I have the left the information in the dashboard ... however I've been busy with a few other things.

Primarily I want to limit how much I draw from my batteries, so I built in a "Limit Battery Discharge Feature". Thanks @deapsquatter for the help.

It kind of operates like ESS Optimised mode, except that:

1) I control how much juice I want to draw from the batteries.

2) I can set the level of juice used based on the SOC.

3) I can set different juice usage levels for day and night

4) If I hit my minimum level, then I set a recovery period for the battery

So in effect it gives priority to the Grid and then the batteries, and doesn't drain the batteries super quick when there is a heavy load.

TODO: Make sure that the batteries get a full charge at least once a week.

158166017_ScreenShot2020-04-24at11_22_17PM.thumb.png.2ddf7e2a67c2eba7f8cdce827b182edc.png

 

419670910_ScreenShot2020-04-24at11_18_40PM.thumb.png.e5755a25bd8df845a13c9144f19110eb.png

 

577040854_ScreenShot2020-04-24at11_18_52PM.thumb.png.905e511188836fb68a771c5216326231.png

Edited by spark88
Link to comment
Share on other sites

  • 9 months later...

Hello Spark,

Maybe you can help me? I've got a Victron Cerbo GX and I've managed to install Venus OS large on it and activated Node-Red in the menu. I can open it via :1880 and see the grid on which I can place instances. But..... I don't know how to convert it to a GUI and see it in the Cerbo GX (I use this one with a touchscreen). Can you help me with the first steps ? ;-)

Kind regards,

Pim

Link to comment
Share on other sites

  • 6 months later...

@spark88 i´m running the node-red in a raspberry a lot of time for another's features, and i try use theme to use with your flows,   but  i can´t connect, better i have connection but i can´t give any data from  cerbogx

is possible run the node-red from out the cerbo gx ? ...

thanks for your help.

alcobia

Link to comment
Share on other sites

11 hours ago, patalhetas said:

@spark88 i´m running the node-red in a raspberry a lot of time for another's features, and i try use theme to use with your flows,   but  i can´t connect, better i have connection but i can´t give any data from  cerbogx

is possible run the node-red from out the cerbo gx ? ...

thanks for your help.

alcobia

I tried to run mine from the Venus, and it was too much for the venus, so hence ran it on the raspberry.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...