xoseperez/node-red-contrib-power-monitor

Reset power meter data at specific interval

cardom opened this issue · 1 comments

Should be nice if there is a way to reset the power meter data to track the energy for specific interval.
As an example, if you want to track the energy production of a photovoltaic system, resetting data each midnight you can have the data of the daily production.

Sorry, I misunderstood the documentation of the node (maybe can be clarified to highlight this behavior):

  • The reset of the counter is done automatically the first time the node receive a 0 using the default configuration
  • If you want to avoid the reset (for a lifetime counter for example), you can change the values to a number that never ever can be an input for the node (like -999999).