Update powerwall.sh

This commit is contained in:
2023-05-27 16:27:06 -05:00
parent 72185329fb
commit d1aea79248

View File

@@ -645,7 +645,7 @@ LOGROTATE(){
TEST(){
temptotal=0
countback=532300
countback=200000
while IFS=$'\t' read date sensorid temp hum ;do
# echo date:$date sensorid:$sensorid temp:$temp hum:$hum
temptotal=$(bc <<< "scale=2; ${temptotal}+${temp}")