diff --git a/powerwall.sh b/powerwall.sh index 852ab110..0ddf572e 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -48,6 +48,7 @@ CHECKTEMP_SERVICE(){ datetime="${temp_d} ${temp_t}" datetime=$(TZ=America/Chicago date -d "datetime" +%s) datetime=`date -d @${datetime} +'%Y-%m-%d %H:%M:%S'` + echo "HERE: '$dateime'"; if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then temp_f=`echo "scale=2; $temp_c*1.8 + 32" | bc`