Update powerwall.sh
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user