Update temp.inc.sh

This commit is contained in:
2024-01-01 10:48:42 -06:00
parent 3c878f86aa
commit ca5f7d4461

View File

@@ -269,7 +269,7 @@ AVERAGETEMP(){
CHECKTEMP_SERVICE(){
cw=20
declare -A last_temp
declare -gA last_temp
runEvery=15 #SECONDS
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - 'Check Temp' Service Startup" >> ${PW_LOGFILE}
SENDTEMPS "TEMP Service Startup" &
@@ -641,7 +641,6 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${SENSORa} Sensor - ERROR reading sensor data" >> ${logtemp}
fi
fi
export last_temp
touch ${PW_TMPFOLDER}/zservicerun.${SENSORa}.done
}