diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 42a37ddc..b0c6ab9c 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -131,7 +131,7 @@ CHECKTEMP(){ if [ $(bc -l <<< "${temp_f} <= $(echo "scale=2; $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)+${PW_TEMPIND_DIFF}" | bc)") -eq 1 ] && [ $(bc -l <<< "${temp_f} >= $(echo "scale=2; $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)-${PW_TEMPIND_DIFF}" | bc)") -eq 1 ]; then reading="${reading} ${idsCL[LightCyan]}\u23F9 " elif [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then - reading="${reading} ${idsCL[LightRed]}\u25B2 " + reading="${reading} ${idsCL[Red]}\u25B2 " elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then reading="${reading} ${idsCL[LightGreen]}\u25BC " else @@ -141,7 +141,7 @@ CHECKTEMP(){ if [ $(bc -l <<< "${temp_f} <= $(echo "scale=2; $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old2 | cut -d'~' -f 1)+${PW_TEMPIND_DIFF}" | bc)") -eq 1 ] && [ $(bc -l <<< "${temp_f} >= $(echo "scale=2; $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old2 | cut -d'~' -f 1)-${PW_TEMPIND_DIFF}" | bc)") -eq 1 ]; then reading="${reading}${idsCL[LightCyan]}\u23F9 " elif [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old2 | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then - reading="${reading}${idsCL[LightRed]}\u25B2 " + reading="${reading}${idsCL[Red]}\u25B2 " elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old2 | cut -d'~' -f 1)") -eq 1 ]; then reading="${reading}${idsCL[LightGreen]}\u25BC " else