node-red-contrib-value-for

A Node-RED node to report if sensor stream values are in given value or range for defined time.

above

Above is a simple pre function hook written in NodeJS