From b8cdc442cb1a0342f54af60cac7e11bb3cd76fe2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 26 Dec 2023 18:40:14 -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 7b865962..cb9615e7 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -584,7 +584,7 @@ Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}" #### LOGGING OF SERVERROOM SENSOR DIFFERENCE if [ "${SENSOR}" == "ServerRoomLA-Probe" ]; then # if [ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] || [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.log.sr.difference)) -ge 300 ]; then - echo -en "HERE: ${temp_f} - ${ServerRoomTH} = " + echo -en "HERE: ($(date +'%Y-%m-%d %H:%M:%S')) ${temp_f} - ${ServerRoomTH} = " if [ "${temp_f}" != "" ] && [ "${ServerRoomTH}" != "" ]; then [ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] && touch ${PW_TMPFOLDER}/.log.sr.difference temp_difference=$(bc <<< "scale=2; ${ServerRoomTH}-${temp_f}")