How to determine if a value changes with time, the last five values are always incremented, and then set to alarm
can you give some samples and the desired output?