Update powerwall.sh

This commit is contained in:
2023-05-12 18:53:54 -05:00
parent d02f64fe4d
commit c0d1a5ef1f

View File

@@ -133,8 +133,7 @@ CHECKPOWER(){
CHECKACV_SERVICE(){ CHECKACV_SERVICE(){
voltstatus=0 voltstatus=0
battstatus=0 battstatus=0
while true while true; do
do
INPUTACV=$(curl -s "http://10.10.0.61/stats.json" | jq '.inputs .inV') INPUTACV=$(curl -s "http://10.10.0.61/stats.json" | jq '.inputs .inV')
BATTVOLT=$(curl -s "http://10.10.0.61/stats.json" | jq '.inputs .battV') BATTVOLT=$(curl -s "http://10.10.0.61/stats.json" | jq '.inputs .battV')
datetime=`date +'%Y-%m-%d %H:%M:%S'` datetime=`date +'%Y-%m-%d %H:%M:%S'`