From 3062a2ca3b2ea104db5bc4f131a3e93ecb8b9037 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 17 Dec 2023 22:32:57 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index d59c8c30..4454b9cf 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -495,7 +495,7 @@ Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}" #### LOGGING OF SERVERROOM SENSOR DIFFERENCE if [ "${SENSOR}" == "ServerRoomLA" ]; then - if [ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] || [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.log.sr.difference)) -ge 300 ]; then + if [ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] || [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.log.sr.difference)) -ge 30 ]; then if [ "${temp_probe_f}" != "" ] && [ "${ServerRoomTH}" != "" ]; then [ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] && touch ${PW_TMPFOLDER}/.log.sr.difference temp_difference=$(bc <<< "scale=2; ${ServerRoomTH}-${temp_probe_f}")