Update powerwall.sh
This commit is contained in:
@@ -116,7 +116,7 @@ CHECKACV_SERVICE(){
|
||||
do
|
||||
INPUTACV=$(curl -s "http://10.10.0.61/stats.json" | jq '.inputs .inV')
|
||||
datetime=`date +'%Y-%m-%d %H:%M:%S'`
|
||||
if [ ${INPUTACV%.*} -ge 124 ]; then
|
||||
if [ ${INPUTACV%.*} -ge ${min_volt} ]; then
|
||||
echo "($datetime) normal voltage: ${INPUTACV}V"
|
||||
else
|
||||
echo "($datetime) LOW voltage: ${INPUTACV}V"
|
||||
|
||||
Reference in New Issue
Block a user