I previous made a solar panel simulator software. I have now tried to make it running in the emonBase
(raspberry pi + emonPi CMS)
after installing Node-Red and emoncms nodes I made this flow
I have made this with my limited skills (new to flow programming)
Solar_panel_sim.txt (5.5 KB)
The simulator depends on data requests from http://openweathermap.org
where you have to create a free account to weather data for the simulator (cloudcover, sunrise,sunset, time etc.)
I have added comments to the code.
The result looks like this:
Yes I know the feeds says heatpump ( that was my original idea maybe that will come later) but it is of course fixed in the uploaded flow… You can rename the feeds in the Node-Red flows…
Give it a try maybe you can add improvements to the code.
Regards
Henrik