node-red-contrib-power-monitor icon indicating copy to clipboard operation
node-red-contrib-power-monitor copied to clipboard

Support for timed based events

Open ostat opened this issue 2 years ago • 2 comments

Attempt to resole #10.

StartAfter and StopAfter can be ether readings count or seconds based.

Still requires a message to trigger the event, there is no internal timer. For example if you set it to StopAfter 60 seconds, and you get one event at 55 second, then another event at 90 seconds, it would stop at 90 seconds.

ostat avatar Jun 21 '22 11:06 ostat

@xoseperez , Thoughts on including this code. Has been working for me for the last few months.

ostat avatar Oct 05 '22 12:10 ostat

Noob question: I'm using node red as an addon in a home assistant vm. Where are the files that I have to edit to use your code?

derlbear avatar Jan 01 '24 10:01 derlbear