Update powerwall.sh

This commit is contained in:
voltron committed 2023-05-16 21:56:33 -05:00
1 parent 58d5b6b961
commit be13267000
1 file changed
+1 -1
+1 -1
View File
@@ -611,7 +611,7 @@ LOGROTATE(){
TEST(){ TEST(){
temptotal=0 temptotal=0
countback=10 countback=100000
while IFS=$'\t' read date sensorid temp hum ;do while IFS=$'\t' read date sensorid temp hum ;do
# echo date:$date sensorid:$sensorid temp:$temp hum:$hum # echo date:$date sensorid:$sensorid temp:$temp hum:$hum
temptotal=$(bc <<< "scale=2; ${temptotal}+${temp}") temptotal=$(bc <<< "scale=2; ${temptotal}+${temp}")