remove duplicate battery voltage arg

This commit is contained in:
David Nedved
2020-04-01 09:07:06 +10:00
parent 58ad990401
commit d5dc992a62
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ watt_factor=1.01
# mentioned in https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/5 # mentioned in https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/5
# This allows you to modify the buffersize for the qpiri command # This allows you to modify the buffersize for the qpiri command
qpiri=97 qpiri=98
# This allows you to modify the buffersize for the qpiws command # This allows you to modify the buffersize for the qpiws command
qpiws=36 qpiws=36
@@ -39,4 +39,4 @@ qpiws=36
qmod=5 qmod=5
# This allows you to modify the buffersize for the qpigs command # This allows you to modify the buffersize for the qpigs command
qpigs=110 qpigs=110
-3
View File
@@ -100,9 +100,6 @@ Battery_recharge_voltage=`echo $INVERTER_DATA | jq '.Battery_recharge_voltage' -
Battery_under_voltage=`echo $INVERTER_DATA | jq '.Battery_under_voltage' -r` Battery_under_voltage=`echo $INVERTER_DATA | jq '.Battery_under_voltage' -r`
[ ! -z "$Battery_under_voltage" ] && pushMQTTData "Battery_under_voltage" "$Battery_under_voltage" [ ! -z "$Battery_under_voltage" ] && pushMQTTData "Battery_under_voltage" "$Battery_under_voltage"
Battery_under_voltage=`echo $INVERTER_DATA | jq '.Battery_under_voltage' -r`
[ ! -z "$Battery_under_voltage" ] && pushMQTTData "Battery_under_voltage" "$Battery_under_voltage"
Battery_bulk_voltage=`echo $INVERTER_DATA | jq '.Battery_bulk_voltage' -r` Battery_bulk_voltage=`echo $INVERTER_DATA | jq '.Battery_bulk_voltage' -r`
[ ! -z "$Battery_bulk_voltage" ] && pushMQTTData "Battery_bulk_voltage" "$Battery_bulk_voltage" [ ! -z "$Battery_bulk_voltage" ] && pushMQTTData "Battery_bulk_voltage" "$Battery_bulk_voltage"