diff --git a/defaults.inc b/defaults.inc index 6d0226e2..6bd7c64c 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ -VERS='2.5.33-12152023' +VERS='2.5.34-12172023' noheader=' update service dailytemp confsync ' diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 5079918c..9c36996f 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -482,7 +482,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 60 ]; then + if [ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] || [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.log.sr.difference)) -ge 300 ]; then if [ "${temp_f}" != "" ] && [ "${ServerRoomTH}" != "" ]; then [ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] && touch ${PW_TMPFOLDER}/.log.sr.difference temp_difference=$(bc <<< "scale=2; ${temp_f}-${ServerRoomTH}")