Update powerwall.sh

This commit is contained in:
2023-10-28 15:17:54 -05:00
parent 465f0f398b
commit 4168de058a

View File

@@ -702,7 +702,7 @@ POWERLOGGER(){
POWERLOGGER_SERVICE(){
while true; do
datetime=`date +'%Y-%m-%d %H:%M:%S'`
echo go
INVSTATSINFO=$(curl -s "https://inv1.scity.us/stats.json")
inV=`echo ${INVSTATSINFO} | jq '.inputs .inV'`
inA=`echo ${INVSTATSINFO} | jq '.inputs .inA'`
@@ -744,6 +744,7 @@ POWERLOGGER_SERVICE(){
sleep 1m
else
sleep 5m
echo sleeping
fi
done