Update powerwall.sh

This commit is contained in:
2023-05-22 21:46:50 -05:00
parent f267baf9d1
commit 17085ad4ce

View File

@@ -224,7 +224,7 @@ CHECKPOWER(){
CHECKPOWER_SERVICE(){ CHECKPOWER_SERVICE(){
voltstatus=0 voltstatus=0
battstatus=0 battstatus=0
rm -f ${TMPFOLDER}/powerlogger.insert # rm -f ${TMPFOLDER}/powerlogger.insert
while true; do while true; do
INVSTATSINFO=$(curl -s "http://10.10.0.61/stats.json") INVSTATSINFO=$(curl -s "http://10.10.0.61/stats.json")
if [ "${INVSTATSINFO}" != "" ]; then if [ "${INVSTATSINFO}" != "" ]; then