update readme & add example HA config files

This commit is contained in:
David
2019-05-29 11:37:38 +10:00
parent f6c8d92f5e
commit 5edafe0ddc
16 changed files with 303 additions and 39 deletions
+3
View File
@@ -19,6 +19,9 @@ INVERTER_DATA=`timeout 10 /opt/voltronic-cli/bin/skymax`
#####################################################################################
Inverter_mode=`echo $INVERTER_DATA | jq '.Inverter_mode' -r`
# 1 = Power_On, 2 = Standby, 3 = Line, 4 = Battery, 5 = Fault, 6 = Power_Saving, 7 = Unknown
[ ! -z "$Inverter_mode" ] && pushMQTTData "Inverter_mode" "$Inverter_mode"
AC_grid_voltage=`echo $INVERTER_DATA | jq '.AC_grid_voltage' -r`