Hello forum
Is there somebody how know what node I could use to detect these values on the picture below? It's the temperature for my heat pump and the consumption. I wanna get a message so I can stop the heat pump when it does these jumping.
Let's says there has been 3 of these jumps I 2 hours then I want node red to send a 0 and the after a given time, send a 1 again.
I have a raspberry pi 3 model b with the newest node red.
Those nodes give separate functions for falling and rising condition control as well as for the hysteresis. But you can also search the flows for hysteresis there is more of such kind.
1 Like
Supposing there aren't too many entries, before you output to graph you can write a function node with 2 outputs to save the last value and to compare to the new value. If this exceeds +-10 or something, send a notification and reset message through the 2nd output, otherwise output value to 1st output (to Graph).
A context variable should do