Here is a bit of a warning code another member and i did the other day - basically if he does not get a reading from a sensor for a set period of time will send him out a warning email - you could adapt to your own flow - if no temp and humidity readings come in for 10 minutes then send out an email etc
[{"id":"4116634517e3306e","type":"inject","z":"f26be17e8371ed49","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"cmnd/Eferm/RESTART","payload":"1","payloadType":"num","x":1147.999927520752,"y":474.66662216186523,"wires":[["4e38f555c6d9198d"]]},{"id":"4e38f555c6d9198d","type":"ui_button","z":"f26be17e8371ed49","name":"","group":"efd7b7c424179c82","order":1,"width":0,"height":0,"passthru":true,"label":"REBOOT","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"1","payloadType":"str","topic":"cmnd/Eferm/RESTART","topicType":"str","x":1033.1404609680176,"y":401.260461807251,"wires":[["91cf12dafda44aa6"]]},{"id":"2554e0f8a04882c5","type":"trigger","z":"f26be17e8371ed49","name":"","op1":"East sensor working","op2":"On","op1type":"str","op2type":"str","duration":"20","extend":true,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":808.999927520752,"y":388.66662216186523,"wires":[["a546c0789ab294c3","cfa791f0c5562210","ef91a1be43e2d90b"],["e7f599241080d140","4e38f555c6d9198d","39f3f941ec91fe0d"]]},{"id":"e7f599241080d140","type":"debug","z":"f26be17e8371ed49","name":"sensor bad - after trigger node","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":827.999927520752,"y":454.66662216186523,"wires":[]},{"id":"a546c0789ab294c3","type":"debug","z":"f26be17e8371ed49","name":"sensor good","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":828.6542472839355,"y":338.8375415802002,"wires":[]},{"id":"cfa791f0c5562210","type":"e-mail","z":"f26be17e8371ed49","server":"smtp.gmail.com","port":"465","secure":true,"tls":true,"name":"","dname":"","x":1021.201099395752,"y":363.09362411499023,"wires":[]},{"id":"9103d59c0ba7bc4f","type":"link in","z":"f26be17e8371ed49","name":"","links":["7c4cbc1a995ee8c7"],"x":637.499927520752,"y":385.66662216186523,"wires":[["2554e0f8a04882c5"]]},{"id":"91cf12dafda44aa6","type":"mqtt out","z":"f26be17e8371ed49","name":"","topic":"cmnd/Eferm/RESTART","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"31a99116.50a74e","x":1264.7326164245605,"y":400.20378494262695,"wires":[]},{"id":"4ff491866d520281","type":"e-mail","z":"f26be17e8371ed49","server":"smtp.gmail.com","port":"465","secure":true,"tls":true,"name":"","dname":"","x":1427.999927520752,"y":614.6666221618652,"wires":[]},{"id":"7fa120dae191cb94","type":"gate","z":"f26be17e8371ed49","name":"","controlTopic":"control","defaultState":"open","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","statusCmd":"status","persist":false,"storeName":"default","x":1307.999927520752,"y":614.6666221618652,"wires":[["4ff491866d520281","1501ea9b0bca97d8"]]},{"id":"39f3f941ec91fe0d","type":"mytimeout","z":"f26be17e8371ed49","name":"Close the Gate after a single message","outtopic":"","outsafe":"Sensor Failed","outwarning":"","outunsafe":"off","warning":"5","timer":"10","debug":false,"ndebug":false,"ignoreCase":false,"repeat":false,"again":false,"x":967.999927520752,"y":594.6666221618652,"wires":[["7fa120dae191cb94","32a287476e0c7b61"],["b4cecd141e2cf638"]]},{"id":"32a287476e0c7b61","type":"debug","z":"f26be17e8371ed49","name":"After Timer","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1287.999927520752,"y":554.6666221618652,"wires":[]},{"id":"b4cecd141e2cf638","type":"change","z":"f26be17e8371ed49","name":"Close the Gate","rules":[{"t":"set","p":"payload","pt":"msg","to":"Close","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"control","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1097.999927520752,"y":654.6666221618652,"wires":[["7fa120dae191cb94"]]},{"id":"f1906a28f60b7adc","type":"link out","z":"f26be17e8371ed49","name":"Fermenter (East) Out to Gate Control","mode":"link","links":["db77261593112c67","ced8b5b2d4b0a8dd"],"x":1532.999927520752,"y":314.66662216186523,"wires":[]},{"id":"ef91a1be43e2d90b","type":"change","z":"f26be17e8371ed49","name":"Open The Gate after a Good Temperature Read","rules":[{"t":"set","p":"payload","pt":"msg","to":"Open","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"control","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1257.999927520752,"y":314.66662216186523,"wires":[["f1906a28f60b7adc"]]},{"id":"7600e67381944b81","type":"inject","z":"f26be17e8371ed49","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":600,"y":320,"wires":[["2554e0f8a04882c5"]]},{"id":"1501ea9b0bca97d8","type":"debug","z":"f26be17e8371ed49","name":"After Gate","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1470,"y":580,"wires":[]},{"id":"efd7b7c424179c82","type":"ui_group","name":"East Fermenternew","tab":"a74ffe3d.4eb73","order":7,"disp":true,"width":24,"collapse":false},{"id":"31a99116.50a74e","type":"mqtt-broker","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"a74ffe3d.4eb73","type":"ui_tab","name":"Brewery","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
Craig