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

ps-strategy-lowest-price not scheduling when from 00:00 to 00:00 #199

Open summit2g opened 4 months ago

summit2g commented 4 months ago

I've noticed since updating to the latest update that when you have a schedule from 00:00 to 00:00 it simply says "no schedule" for any 'hours on' value. if I set it from 00:00 - 23:00 it works properly (except missing the last hour).

e.g. i'm using the node also to get the "most expensive" hour. By selecting 00:00 - 00:00 and then 23 hours on, this results in no schedule too. If i set it to 00:00 - 23:00 i get no schedule as well (which makes sense cause its 23 hours and i set 23 hours on). But if i set it to 22 hours on, it works, which points towards 00:00 to 00:00 simply being broken..

Can anyone else confirm from 00:00 to 00:00 is broken on ps-strategy-lowest-price node?

ottopaulsen commented 4 months ago

Can you post an example with the output from output 3?

summit2g commented 4 months ago

Scratch that, its because my system time is set as UTC. So when tomorrow's prices aren't available, you can't set it to 00:00.