Dear all,
I’m working on weather prediction in node red and plan to control the amount of charge.
Any thoughts on a node that will realise weather info? Ideally free (wishfull thinking…)
Paul
Hi I use Open weather map which is free and has a node available for you to install in node red
Hi Dave,
Many thanks indeed for your guidance
Best regards
Paul
If this is for solar, why don’t you just pull the forecasted PV stats from VRM via API? Likely more accurate.
Hi Nick,
This sounds like exactly what I need. Although I am fluent in embedded systems, PLC’s and VB this is on the end stops of my knowledge. I my rose tinted perfect world I’d drop a node into Node Red and ‘wire it up’.
How might I place an API onto the Node Red form?
Kind regards
Paul
Victron has a VRM API node, it and the API are well documented.
Once you create a token on VRM, pop it into the node and choose the data you want from drop downs. You will need to post process the data to get what you want, but extracting it is straight forward.
On mine I am tracking the remaining PV for the day, which means it is easy to apply some control logic based on a good or poor forecast value.
Excellent Nick, You’re a star!
Every evening at 22:00 PM I calculate my nightly charge.
This gives me a number where my SoC should be in the morning.
Thank you Diederik,
Now I’m awash with help. Thank you. I’ll try this later.
All the very best
Paul
Hi Nick,
I’m entering my Site ID and I get “I get 'Invalid access token received”
521888 is not my actual site code of course but the number of digits is correct. Maybe I’m looking in the wrong place for the site code. The code I’m using is the first 6 characters of my Node Red URL…
123456-noddered.proxyrelay8…
Any thoughts?
That is the right number to use, the same one in the URL of the VRM web page after installation and before dashboard. Did you create a VRM token for that site in site preferences in the root of the VRM menu? Remember you need to deploy between changes.
Hi Nick,
This is where I’m stuck (see image)
I suppose my question is how do I create a VRM token for that site in site preferences in the root of the VRM menu?
Kind regards
Paul
In VRM, click the top left menu, keep selecting “back” until you see the base menu with the “preferences” option.
Click that, choose “integrations”, then “access tokens”.
You can add a token from there, remember to write it down as you can’t access it later again.
Add a new config in the node and paste the token value into the relevant field.
Then deploy.
… about to try…
Okay, I found the token… (minor alteration as it’s on public display)
VictronConnect: {312bd2e7-6248-4b2a-b762-da8f12fcecaa}
How do I add a new Config in the node?
Sorry as a bit of a newbie here.
Click on the pencil next to the top box that says “add new config vrm api”
Getting closer. I created a new token, pasted it in and now I get (see the image) Insufficient rights. Any thoughts? And a BIG thank you for your help so far. I’m learning heaps here.
Do you have full access to the site in VRM?
A very good and logical question. I set up the account so I should have full access. But I agree, it looks otherwise. I’ve looked but is there a way of finding out what my access level is?
It will be in settings → users.
Also, double check the vrm site ID is correct as mentioned above.
The number between/installation and /dashboard.