ottopaulsen / node-red-contrib-power-saver

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

Request for more data in the schedule array output #60

Closed eirektg closed 2 years ago

eirektg commented 2 years ago

Would it be possible to put in these values in the schedule array? image

In some cases i would like to override the output based on the lenght of the "on" period.

ottopaulsen commented 2 years ago

Good idea. I will keep this and do it together with other changes.

Maybe use the same name in both cases, for example countHours. On or off is given by the value anyway.

eirektg commented 2 years ago

Thank you. I agree about the name

ottopaulsen commented 2 years ago

New feature implemented in version 3.6.0. Please try it out and report back here how it goes.

eirektg commented 2 years ago

New feature implemented in version 3.6.0. Please try it out and report back here how it goes.

Installed and tested on both Best Save and Lowest Price nodes, and it works like a charm :-)