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