diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 3622ec82..1dea9887 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -585,7 +585,6 @@ 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: ($(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}") @@ -624,7 +623,6 @@ Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}" echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${SENSORa} Sensor - ERROR reading sensor data" >> ${logtemp} fi fi - echo " - done" end_sub=`date +%s`; runtime_sub=$((end_sub-start_sub)); echo " - done: ${runtime_sub}s" done