Update temp.inc.sh
This commit is contained in:
@@ -256,7 +256,7 @@ AVERAGETEMP(){
|
||||
|
||||
while IFS=$'\t' read date temp hum speed ;do
|
||||
if [ "${sensorid}" == "14" ] || [ "${sensorid}" == "19" ]; then
|
||||
temptotal=$(bc <<< "scale=2; ${temptotal}+${speed}")
|
||||
temptotal=$(bc <<< "scale=0; ${temptotal}+${speed}")
|
||||
else
|
||||
temptotal=$(bc <<< "scale=2; ${temptotal}+${temp}")
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user