Update temp.inc.sh
This commit is contained in:
@@ -174,7 +174,6 @@ CHECKTEMPSENSOR(){
|
|||||||
|
|
||||||
if [ "${1}" == "ServerRoomTH" ]; then
|
if [ "${1}" == "ServerRoomTH" ]; then
|
||||||
ServerRoomTH=${temp_f}
|
ServerRoomTH=${temp_f}
|
||||||
echo "HERE: ${ServerRoomTH}"
|
|
||||||
|
|
||||||
elif [ "${1}" == "ServerRoomLA" ]; then
|
elif [ "${1}" == "ServerRoomLA" ]; then
|
||||||
temp_probe_f=$(bc <<< "scale=2; ${temp_probe_c}*1.8+32")
|
temp_probe_f=$(bc <<< "scale=2; ${temp_probe_c}*1.8+32")
|
||||||
@@ -210,7 +209,7 @@ CHECKTEMPSENSOR(){
|
|||||||
echo "${idsCL[LightCyan]} - TempDiff = ${temp_difference}'F (${ServerRoomTH}-${temp_probe_f})${idsCL[Default]}"
|
echo "${idsCL[LightCyan]} - TempDiff = ${temp_difference}'F (${ServerRoomTH}-${temp_probe_f})${idsCL[Default]}"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
echo "HERE: ${ServerRoomTH}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
AVERAGETEMP(){
|
AVERAGETEMP(){
|
||||||
|
|||||||
Reference in New Issue
Block a user