Update powerwall.sh

This commit is contained in:
2022-09-11 14:31:32 -05:00
parent 0e23de0bc8
commit 25226084e9

View File

@@ -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"