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: Add duration information to Output 1 and 2 #202

Open CirruZZ opened 1 month ago

CirruZZ commented 1 month ago

It would be neat to have the duration info of the upcoming window when Output 1 and Output 2 fires. This applies s to to all nodes that have Output 1 and Output 2 for sending ON/OFF TRUE/FALSE.

As now it sends {"payload":"ON"}

Suggestion would be to add {"payload":"ON", "countHours": 3}

This information is available in payload.schedule of Output 3 but it would be nice to have directly when receiving output from Output 1 and Output 2.