Update powerwall.sh

This commit is contained in:
voltron committed 2023-05-16 22:07:21 -05:00
1 parent be13267000
commit 36ed2ff22e
1 file changed
+1 -1
+1 -1
View File
@@ -611,7 +611,7 @@ LOGROTATE(){
TEST(){ TEST(){
temptotal=0 temptotal=0
countback=100000 countback=532300
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}")