Update temp.inc.sh
This commit is contained in:
@@ -130,13 +130,13 @@ CHECKTEMP(){
|
|||||||
if [ "${average}" = "" ] && [ -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old ]; then
|
if [ "${average}" = "" ] && [ -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old ]; then
|
||||||
if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then
|
if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then
|
||||||
# reading="${reading}${idsCL[LightRed]}\u2B08 "
|
# reading="${reading}${idsCL[LightRed]}\u2B08 "
|
||||||
reading="${reading}${idsCL[LightRed]}\u25B2 "
|
reading="${reading} ${idsCL[LightRed]}\u25B2 "
|
||||||
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
|
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
|
||||||
# reading="${reading}${idsCL[LightGreen]}\u2B0A "
|
# reading="${reading}${idsCL[LightGreen]}\u2B0A "
|
||||||
reading="${reading}${idsCL[LightGreen]}\u25BC "
|
reading="${reading} ${idsCL[LightGreen]}\u25BC "
|
||||||
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)" ]; then
|
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)" ]; then
|
||||||
# reading="${reading}${idsCL[LightCyan]}\u27F7 "
|
# reading="${reading}${idsCL[LightCyan]}\u27F7 "
|
||||||
reading="${reading}${idsCL[LightCyan]}\u23F9 "
|
reading="${reading} ${idsCL[LightCyan]}\u23F9 "
|
||||||
else
|
else
|
||||||
reading="${reading} "
|
reading="${reading} "
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user