From 0c2c945a9691b583f72b9b5e7a4c5fd1b2bb07ec Mon Sep 17 00:00:00 2001 From: David Date: Fri, 9 Aug 2019 16:17:37 +1000 Subject: [PATCH] update readme with more info around charging VLRA batteries --- README.md | 13 +++++++++---- sources/.DS_Store | Bin 8196 -> 8196 bytes sources/inverter-mqtt/entrypoint.sh | 3 +++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9cef335..0957ef9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# A Docker based Home Assistant interface for Voltronic Solar Inverters +# A Docker based Home Assistant interface for MPP/Voltronic Solar Inverters This project [was derived](https://github.com/leithhobson/skymax-demo-Original) from the 'skymax' [C based monitoring application](https://skyboo.net/2017/03/monitoring-voltronic-power-axpert-mex-inverter-under-linux/) designed to take the monitoring data from Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta, and other branded OEM Inverters and send it to a Home Assistant MQTT server for ingestion... @@ -77,9 +77,11 @@ Set charger priority PCP00 (Utility first) PCP02 (Solar and utility) PCP03 (Solar only) -Set the Charge/Discharge Levels - PBDV25.7 (Discharge when battery at 25.7v or more) - PBCV24.0 (Switch back to 'grid' when battery below 24.0v) +Set the Charge/Discharge Levels & Cutoff + PBDV26.9 (Don't discharge the battery unless it is at 26.9v or more) + PBCV24.8 (Switch back to 'grid' when battery below 24.8v) + PBFT27.1 (Set the 'float voltage' to 27.1v) + PCVV28.1 (Set the 'charge voltage' to 28.1v) Set other commands PEa / PDa (Enable/disable buzzer) PEb / PDb (Enable/disable overload bypass) @@ -88,6 +90,9 @@ Set other commands PEa / PDa (Enable/disable buzzer) PEx / PDx (Enable/disable backlight) ``` +*NOTE:* When setting/configuring your charge, discharge, float & cutoff voltages for the first time, it's worth understanding how to optimize charging conditions to extend service life of your battery: https://batteryuniversity.com/learn/article/charging_the_lead_acid_battery + + ### Using `inverter_poller` binary directly This project uses heavily modified sources, from [manio's](https://github.com/manio/skymax-demo) original demo, and be compiled to run standalone on Linux, Mac, and Windows (via Cygwin). diff --git a/sources/.DS_Store b/sources/.DS_Store index 6b48b9dc9069c414274bddbaf7762cf30b86175e..0997b0393f01e00db573a367ffc354c25c2ac3a1 100644 GIT binary patch delta 292 zcmZp1XmOYj%~`^b%233h%aFXWa2or>2Hwr=92^{iJPer(c?@M>Ik1Y!N&?f_P0WpS z6pW1~9}sZHRIyo1a2*pC;p@VsScE6Xi-}wCqT2#=M=nDlLkUAkN^x>dQht680}x;+ d+q_9ElyPDM&t`UsZ!DXcMLiiY?WKkVoB;aMMVbHr delta 306 zcmZp1XmOYj&6&@T$B@a8%%Homa2or>2Hwr=92^|NybNUw`3yM>B@9JC8mwZng1~fk zQ*%Qd1ta6h`vjb^so5+fxQ+>{#6{s!CR;3~GUx*B&SA(b3ogpb$VP f*Nce>V-erHOe~afGrPn$md)Qq{26IxNf09dfcZyu diff --git a/sources/inverter-mqtt/entrypoint.sh b/sources/inverter-mqtt/entrypoint.sh index 6be9a51..a459cd3 100755 --- a/sources/inverter-mqtt/entrypoint.sh +++ b/sources/inverter-mqtt/entrypoint.sh @@ -1,8 +1,11 @@ #!/bin/bash export TERM=xterm +# stty -F /dev/ttyUSB0 2400 raw + # Init the mqtt server for the first time, then every 5 minutes # This will re-create the auto-created topics in the MQTT server if HA is restarted... + watch -n 300 /opt/inverter-mqtt/mqtt-init.sh > /dev/null 2>&1 & # Run the MQTT Subscriber process in the background (so that way we can change the configuration on the inverter from home assistant)