Monitor sensor data/status with Node Red

This flow solves a problem where I want to recheck the status of an item for any given amount of time with repeating notifications. i.e. My deep freezer temperature is too high and needs to be checked. However, the temperature can fluctuate when defrosting or loading/unloading and I don’t want the first instance of out of tolerance. To solve this, the flow has a counter.

  • enjoy… I’m open to feedback or optimizations. There are notes added within the flow.

SensorData - a flow context used to check status
SensorCnt - counter used to not get a message on the first instance of out of normal range. i.e. the problem is resolved within the recheck time alloted.
SensorTimer - sensor time alloted for recheck.

SensorMonitor.json (16.8 KB)