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

Question: Is inbound price data the trigger for outbound messages? #176

Open Vantive1 opened 8 months ago

Vantive1 commented 8 months ago

Do the strategy nodes have an autonomous capability to trigger and send on/off messages according to the planned schedule without being dependent on inbound messages e.g. every hour from a inject node or being triggered by a HA sensor node? That is, will the strategy nodes send messages even if there is no price data input for a while? Thanks!

ottopaulsen commented 8 months ago

The strategy notes creates and keeps an internal schedule, and send on/off according to that. It will work as long as it has enough price information to calculate the schedule. It only needs input when there is new price information.