Weather prediction in Node Red

Just having dinner. I’ll be back in 40 mins if you’re around…

To expand a little. I hope to use the predicted solar yield for the next day and set the charge cut-off value (as a SOC) for charging on the cheap rate at night (for the next day) In the UK I can get 8p per KWH between the hours of 00:30 to 05:30. The it’s back to 28p per KWH, very much to be avoided.

That’s my very wishful thinking loaded plan. But as they say, if there’s a will there’s a way :crossed_fingers:

Ok, is there a latest time you need to make that call by? The later you call it, the more accurate the forecast.

I could schedule the call as late as midnight…

Ok, so you need to know how far you can discharge overnight, based on the forecast for the next day.
There is going to be a margin for error.
So you can make a call at midnight, and re-evaluate overnight to see if the forecast changes towards morning.

As to a margin of error of which there’s heaps of room for, I’m not too fussed but at the moment I manually look at the weather forecast. To charge or not to charge, that is the question type scenario so any automation of the process has got to be better :grinning:

I think I’ve got it! Knackered for today but this is looking promising…

Good morning from the UK.
…And finally (hopefully) Is there a way to change the SOC Limit in (this case) in Schedule 1 using Node Red? (Ideally!)

Maybe as an alternative enable/disable different Schedules but that looks messy.

Your guidance would be much appreciated

To charge the batteries at night I put ESS in “Keep batteries charged” mode untill the desired SoC is reached.

Hi Diederik, So would you use the ‘VE Bus System control’ node or the ‘Dynamic ESS Control’ node?
… and send a value in % to charge to?

This one. I’m using number 9 and 10.
Don’t mind the labeling. Off-grid means I’m charging from solar, on-grid from grid. :slightly_smiling_face:

Moments ago I found this and it looks perfect…

If I Inject a value, in this case 50 (%) then it immediately updates the value for SOC Limit in schedule 1. I’ll test this eve :slight_smile:

Nice to see your approach.

Thank you :slight_smile:

Hi,

I"ll looked with a lot of interest to your questions/answers.
But i’m still searching where i can find the value in the VRM portal. I can retrieve the values for the vrm_solar_irradiance_fc, this is not the same as the grafic “forcasted total” in the portal!!

Kind regards,
Koen

Hi Koen,
I’m concerned the vrm_solar_irradiance_fc_total is the correct data. I’m logging the value each day by NodeRED sending me an email of the vrm_solar_irradiance_fc_total and noting down my opinion of the weather for that day and I’m looking to see how accurate the forecast/prediction is.
It’s going to take another week to see how accurate the forecast is. I’m happy to share what I find.

Throwing the question out there, I’m getting values1,523 to 3,963 so far from a very grey day to very sunny (for the south of England) I’s early days as I only have 4 days data so far. So…
If anyone reading this can help us understand how the value for vrm_solar_irradiance_fc works please, please share. I’ll carry on collecting data to see how goes.

Best regards to all.

I’m looking at this at the moment…
https://communityarchive.victronenergy.com/questions/217311/vrm-api-node-solar-forecast-nodered.html

Here’s something to think about from the above…

So I have modified the API Node to the following. I’ll restart my data gathering and see how this goes…

hi Paul,

thx for your reply, I’ll get the same information and i put it in an array so i can see the changes for the forecast. I’ll monitor this for a few days to see the changes. I’m in the south of France so we have days with a lot of sun and others with some snow so the changes can be huge.

regards to all

Outstanding. More data the quicker we’ll work this out! So if we share the values from the API (vrm solar irradiance fc:) and with that the amount of solar irradiance we actually get… and that’s the tricky part as I can’t find a way to get data for the amount of solar irradiance we receive by the end of the day as a value. Anyone reading these exchanges has any idea then great! Otherwise it’s going to be just our opinion of how the day went. Not hugely scientific but it may have to do…
?? hours of sun @ '10% Sun, 50% Sun, 100% Sun.
I’m open to suggestions on this.

Predictions are always difficult.
Since I only need this data to charge overnight until morning, the numbers at 10PM are sufficient.
Sometimes they are approximately correct, sometimes they are not at all because the weather turns out differently.