node-red-contrib-power-monitor
node-red-contrib-power-monitor copied to clipboard
Support for timed based events
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.
@xoseperez , Thoughts on including this code. Has been working for me for the last few months.
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?