Processing: ZA weather forecast.json…
I am a bit of a code-aphobe, so I can’t really help if this doesn’t just work straight off.
I did this on a spare RPi, on which I installed Venus OS large.
I imported the a text file ( which I found at OpenWeatherMap Weather Dashboard with Icons - Portrait (flow) - Node-RED )
I then followed these instructions on that same page:
I deployed it in Node-Red and lo and behold it worked.
The eventual plan is that a solar installation can be controlled by expected weather in the coming days. (I have no idea how to do that yet, but I suppose getting the weather forecast data to work with is half the battle).
Now when I say it worked, it was 2 hours time-shifted. So I modified the code ever so slightly for ZA.
I attach the modified ZA file. (Flow). It is in Notepad format and the text should be imported from the Node-Red Clipboard.
Edit: For some reason I cannot attach a text file, so copy the following post in its entirety.
Weather Forecast.zip (3.3 KB)