Hello all,
I am currently working on a project with node-red. What I am trying to create is a simple monitor/alarm box that will watch a current sensor I have plugged into the raspberry pi. What I want it to do is, if the current sensor runs longer then x amount of time it will trigger a relay. I am currently using the node Stoptimer, which works the only problem I am having is when the current switch back off the time then resets for x amount of time before the relay will unclick.
Example
The current sensor will go on and off, but it will only alarm if it runs over 5 minutes. If it goes over 5 minutes it then can clear its self without having to wait another 5 minutes it instantly goes back to normal.
Does any one have an idea to accomplish this.
Thanks