diff --git a/defaults.inc b/defaults.inc index cb5fad82..fb907eed 100755 --- a/defaults.inc +++ b/defaults.inc @@ -72,7 +72,6 @@ fi SENDNOTICE(){ if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then - echo "sending notice" if [ "${TEST_INPUTACV}" != "" ] || [ "${TEST_BATTVOLT}" != "" ]; then PUSH_TO_MOBILE "***TEST MODE*** diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 49967da7..1bd46f8b 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -418,6 +418,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){ 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`