Update temp.inc.sh

This commit is contained in:
2023-12-29 21:00:43 -06:00
parent fa9776c054
commit d3855acc3b

View File

@@ -634,14 +634,14 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
# echo "$(date "+%Y-%m-%d %H:%M:%S")~${temp_difference}" >> ${PW_TMPFOLDER}/.log.sr.difference
echo "[$(date +'%Y-%m-%d %H:%M:%S')] ${temp_f} - ${ServerRoomTH} = ${temp_difference}"
else
echo "temp not good"
echo "temp not good (${temp_f} - ${ServerRoomTH})"
fi
else
echo "logs not good"
fi
elif [ "${SENSOR}" == "ServerRoomTH" ]; then
echo "srth found"
export ServerRoomTH=${temp_f}
echo "srth found - ${ServerRoomTH}"
fi
###################