This commit is contained in:
2023-08-15 18:58:36 -05:00
parent 923bb2aace
commit 12e284cd83
2 changed files with 3 additions and 2 deletions

View File

@@ -148,7 +148,8 @@ CHECKTEMP_SERVICE(){
declare -A last_temp
# while true; do
for SENSORa in ${!PW_SENSOR_ID[@]}; do
for SENSORa in ${PW_SENSOR_ORD[@]}; do
echo $SENSORa
logtemp=${PW_LOGFOLDER}/log-temp-${SENSORa}
[ ! -f ${logtemp} ] && touch ${logtemp}
logtime=$(expr `date +%s` - $(stat -c %Y ${logtemp}))