Update temp.inc.sh

This commit is contained in:
2023-12-26 18:38:57 -06:00
parent 50cec572d1
commit 9ab90195d1

View File

@@ -582,7 +582,7 @@ Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}"
fi
#### LOGGING OF SERVERROOM SENSOR DIFFERENCE
if [ "${SENSOR}" == "ServerRoomLA" ]; then
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} = "
if [ "${temp_f}" != "" ] && [ "${ServerRoomTH}" != "" ]; then