From 802af90d90d39dfd0bde74413301523c3c42ddca Mon Sep 17 00:00:00 2001
From: bohdan-s
Date: Thu, 13 Jan 2022 20:53:34 +1100
Subject: [PATCH] Update Readme
---
README.md | 42 +++++++++++++++++++++++++++++++-----------
1 file changed, 31 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 2529a00..7e50499 100644
--- a/README.md
+++ b/README.md
@@ -31,8 +31,9 @@ Register information based on official documentation: (back to top)
## TO DO
-* Better Home Assistant Support
-* Prometheus / Grafana support
+* I'm sure I'll think of something
+
## Updates
+
+**0.2.1**
+* Minor bug fixes
+* Updated config-example.yaml to clearly explain each option and if it is required or optional
+
+**0.2.0**
+**IMPORTANT: If updating from v0.1.x please check config against config-example. some options for MQTT and PVOutput have changed**
+* Re-write to Inverter scanning code, improved performance and more resilient to failures
+* Re-write to PVOutput code, now uploads every 5 minutes as per API documentation, averages all data points over the 5 min window to reduce random high/low values
+* Re-Write to MQTT code, now supports multiple sensor types
+
+**0.1.3**
+* Improved error recovery, e.g. Inverter powers down overnight
+
+**0.1.2**
+* Added InfluxDB export
+
**0.1.1**
* Added docker image
* Added simple http web server
@@ -66,6 +84,9 @@ Initial build
* [pymodbus>=2.4.0](https://pypi.org/project/pymodbus/)
* [SungrowModbusTcpClient>=0.1.6](https://pypi.org/project/SungrowModbusTcpClient/)
* [SungrowModbusWebClient>=0.2.6](https://pypi.org/project/SungrowModbusWebClient/)
+* [PyYAML>=6.0] (https://pypi.org/project/PyYAML/)
+* [requests>=2.26.0](https://pypi.org/project/requests/)
+* [influxdb-client>=1.24.0](https://pypi.org/project/influxdb-client/)
(back to top)
@@ -91,7 +112,7 @@ python3 sungather.py
docker pull bohdans/sungather
docker run -v {path to}/config.yaml:/config/config.yaml -e TZ=Australia/Sydney --name sungather bohdans/sungather
```
-or if using the http export
+or if using the webserver export
```sh
docker run -v {path to}/config.yaml:/config/config.yaml -e TZ=Australia/Sydney -p 8080:8080 --name sungather bohdans/sungather
```
@@ -125,10 +146,11 @@ python3 sungather.py -c /full/path/config.yaml
A collection of exports are available:
-* console: Output information to console, useful for troubleshooting
-* http: Output to a simple website, default http://localhost:8080 or http://\:8080
-* mqtt: Output to a pre-existing MQTT server, needed for Home Assistant integration
-* pvoutput: Output to PVOutput.org, requires account and solar is set up on website first.
+* console: Output information to console, useful for troubleshooting
+* webserver: Output to a simple website, default http://localhost:8080 or http://\:8080
+* mqtt: Output to a pre-existing MQTT server, needed for Home Assistant integration
+* pvoutput: Output to PVOutput.org, requires account and solar is set up on website first.
+* InfluxDB: Output directly to InfluxDB, can then be used by Grafana, etc..
## Registers
@@ -237,9 +259,7 @@ SH5K-20, SH3K6, SH4K6, SH5K-V13, SH5K-30, SH3K6-30, SH4K6-30, SH5.0RS, SH3.6RS,
## Building
```sh
docker build --no-cache --rm -t bohdans/sungather:latest -t bohdans/sungather:v .
-docker buildx --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag bohdans/sungather:latest --tag bohdans/sungather:v
-docker push bohdans/sungather:v
-docker push bohdans/sungather:latest
+docker push bohdans/sungather -a
```
(back to top)