ottopaulsen / node-red-contrib-power-saver

A Node-RED node to saver money by turning off when the power is most expensive
Other
70 stars 17 forks source link

Feature request (ps-strategy-lowest-price): Dynamic hours on #143

Open billerby opened 1 year ago

billerby commented 1 year ago

Not sure if this already is possible but, I am scheduling my home battery for charge and discharge for the upcoming day. Today I set the hoursOn fixed to 14 hours for discharge but it would be better if there was a possibility to feed the node with this value as a param.

Tomorrow in SE3 we for example have extremely low prices most of the day, but a peak for four hours between 15-19. It would have been nice to do that calculation before and then tell the lowprice node (well I use it as a highprice one in this case) to set hoursOn to 4 instead of my 14. The current setup kind of wears on the battery with no gain at all.

Thanks for some great code btw!

ottopaulsen commented 1 year ago

You can use dynamic config: https://powersaver.no/nodes/dynamic-config.html