Update temp.inc.sh
This commit is contained in:
1 parent
663e1a1f12
commit
b27a7c7092
1 file changed
+1
@@ -481,6 +481,7 @@ Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}"
|
||||
[ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] && touch ${PW_TMPFOLDER}/.log.sr.difference
|
||||
temp_difference=$(bc <<< "scale=1; ${temp_probe_f}-${ServerRoomTH}")
|
||||
(( $(bc <<<"${temp_difference} < 0") )) && temp_difference=`echo "scale=1; ${temp_difference} * -1" | bc`
|
||||
echo "HERE: ${temp_probe_f} - ${ServerRoomTH} = ${temp_difference}"
|
||||
echo ${temp_difference} >> ${PW_TMPFOLDER}/.log.sr.difference
|
||||
fi
|
||||
###################
|
||||
|
||||
Reference in new issue
Block a user