From 3eb6876422ce65063f53e781b953fbf9be66b2dd Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 25 Oct 2023 08:29:42 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 9ca94659..7c3dff20 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -521,7 +521,7 @@ CHECKPOWER_SERVICE(){ battstatus=0 # rm -f ${PW_TMPFOLDER}/powerlogger.insert while true; do - INVSTATSINFO=$(curl -s "http://10.10.0.61/stats.json") + INVSTATSINFO=$(curl -s "https://inv1.scity.us/stats.json") if [ "${INVSTATSINFO}" != "" ]; then [ -f ${PW_TMPFOLDER}/powerlogger.insert ] && lastinsert=$(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/powerlogger.insert)) || lastinsert=100000 if [ "$(compgen -G "${PW_TMPFOLDER}/temp.*")" != "" ] || [ "$(compgen -G "${PW_TMPFOLDER}/power.ac.*")" != "" ] || [ "$(compgen -G "${PW_TMPFOLDER}/power.dc.*")" != "" ]; then