Update powerwall.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user