Update temp.inc.sh
This commit is contained in:
@@ -416,9 +416,9 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
|
||||
SENDNOTICE "${SENSOR} Data" "${SENSOR} is reporting data again"
|
||||
echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${SENSOR} - Sensor is reporting data again" >> ${logtemp}
|
||||
rm -f ${PW_TMPFOLDER}/${SENSOR}-error.*
|
||||
|
||||
elif [ -f ${PW_TMPFOLDER}/${SENSOR}-error* ]; then
|
||||
rm -f ${PW_TMPFOLDER}/${SENSOR}-error.*
|
||||
fi
|
||||
[ ! -f ${PW_TMPFOLDER}/${SENSOR}-error* ] && rm -f ${PW_TMPFOLDER}/${SENSOR}-error*
|
||||
|
||||
if [ "${SENSOR}" == "ServerRoomTH" ]; then
|
||||
temp_f=`echo "scale=2; ${temp_c}*1.8+32+${PW_ServerRoomTH_Dev}" | bc`
|
||||
|
||||
Reference in New Issue
Block a user