Dev 0.12 (#266)
* add ha_addons repository to cscode workspace * Issue220 ha addon dokumentation update (#232) * initial DOCS.md for Addon * links to Mosquitto and Adguard * replaced _ by . for PV-Strings * mentioned add-on installation method in README.md * fix most of the markdown linter warnings * add missing alt texts * added nice add repository to my Home Assistant badges --------- Co-authored-by: Michael Metz <michael.metz@siemens.com> Co-authored-by: Stefan Allius <stefan.allius@t-online.de> * S allius/issue216 (#235) * improve docker run - establish multistage Dockerfile - build a python wheel for all needed packages - remove unneeded tools like apk for runtime * pin versions, fix hadolint warnings * merge from dev-0.12 --------- Co-authored-by: Michael Metz <michael.metz@siemens.com> * Issue220 ha addon dokumentation update (#245) * revised config disclaimer * add newline at end of file to fix linter warning --------- Co-authored-by: Michael Metz <michael.metz@siemens.com> * 238 ha addon repository check (#244) * move Makefile and bake file into parent folder * build config.yaml from template * use Makefile instead of build shell script * ignore temporary or created files * add rules for building the add-on repository * add rel version of add-on * add jinja2-cli * ignore inverter replays which a older than 1 day (#246) * S allius/issue7 (#248) * report alarm and fault bitfield to ha * define the alarm and fault names * configure log path and max number of daily log files (#243) * configure log path and max number of daily log files * don't use a subfolder for configs * use make instead of a build script * mount /homeassistant/tsun-proxy * Add venv to base image * give write access to mounted folder * intial checkin, ignore SC1091 * set advanced and stage value in config.yaml * fix typo * added watchdog and removed Port 8127 from mapping * fixed typo and use new add-on repro - change the install button to install from https://github.com/s-allius/ha-addons * add addon-rel target * disable watchdog due to exceptions in the ha supervisor * update changelog --------- Co-authored-by: Michael Metz <michael.metz@siemens.com> * Update README.md (#251) install `https://github.com/s-allius/ha-addons` as repro for our add-on * add german language file (#253) * fix return type get_extra_info in FakeWriter * move global startup code into main methdod * pin version of base image * avoid forwarding to a private (lokal) IP addr (#256) * avoid forwarding to a private (lokal) IP addr * test DNS resolver issues * increase test coverage * update changelog * fix client_mode configuration block (#252) * fix client_mode block * add client mode * fix tests with client_mode values * log client_mode configuration * add forward flag for client_mode * improve startup logging * added client_mode example * adjusted translation files * AT commands added * typo * missing "PLUS" * link to config details * improve log msg for config problems * improve log msg on config errors * improve log msg for config problems * copy CHANGELOG.md into add-on repro --------- Co-authored-by: Michael Metz <michael.metz@siemens.com> * rename "ConfigErr" to match naming convention * disable test coverage for __main__ * update changelog version 0.12 * Merge branch 'main' of https://github.com/s-allius/tsun-gen3-proxy * copy the run.sh scripts into the add-on repros * set image path using jinja template * fix wiki pathss --------- Co-authored-by: metzi <147942647+mime24@users.noreply.github.com> Co-authored-by: Michael Metz <michael.metz@siemens.com>
This commit is contained in:
12
README.md
12
README.md
@@ -138,7 +138,7 @@ No special configuration is required for the Docker container if it is built and
|
|||||||
|
|
||||||
On the host, two directories (for log files and for config files) must be mapped. If necessary, the UID of the proxy process can be adjusted, which is also the owner of the log and configuration files.
|
On the host, two directories (for log files and for config files) must be mapped. If necessary, the UID of the proxy process can be adjusted, which is also the owner of the log and configuration files.
|
||||||
|
|
||||||
A description of the configuration parameters can be found [here](https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#docker-compose-environment-variables).
|
A description of the configuration parameters can be found [here](https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#docker-compose-environment-variables).
|
||||||
|
|
||||||
## Proxy Configuration
|
## Proxy Configuration
|
||||||
|
|
||||||
@@ -168,7 +168,7 @@ You find more details here: <https://toml.io/en/v1.0.0>
|
|||||||
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Operation-Modes-Overview
|
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Operation-Modes-Overview
|
||||||
###
|
###
|
||||||
### Here you will find a description of all configuration options:
|
### Here you will find a description of all configuration options:
|
||||||
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details
|
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml
|
||||||
###
|
###
|
||||||
### The configration uses the TOML format, which aims to be easy to read due to
|
### The configration uses the TOML format, which aims to be easy to read due to
|
||||||
### obvious semantics. You find more details here: https://toml.io/en/v1.0.0
|
### obvious semantics. You find more details here: https://toml.io/en/v1.0.0
|
||||||
@@ -184,7 +184,7 @@ You find more details here: <https://toml.io/en/v1.0.0>
|
|||||||
## required credentials. As the proxy does not currently support an encrypted connection
|
## required credentials. As the proxy does not currently support an encrypted connection
|
||||||
## to the MQTT broker, it is strongly recommended that you do not use a public broker.
|
## to the MQTT broker, it is strongly recommended that you do not use a public broker.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#mqtt-broker-account
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#mqtt-broker-account
|
||||||
##
|
##
|
||||||
|
|
||||||
mqtt.host = 'mqtt' # URL or IP address of the mqtt broker
|
mqtt.host = 'mqtt' # URL or IP address of the mqtt broker
|
||||||
@@ -201,7 +201,7 @@ mqtt.passwd = ''
|
|||||||
## values match the HA default configuration. If you need to change these or want to use
|
## values match the HA default configuration. If you need to change these or want to use
|
||||||
## a different MQTT client, you can adjust the prefixes of the MQTT topics below.
|
## a different MQTT client, you can adjust the prefixes of the MQTT topics below.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#home-assistant
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#home-assistant
|
||||||
##
|
##
|
||||||
|
|
||||||
ha.auto_conf_prefix = 'homeassistant' # MQTT prefix for subscribing for homeassistant status updates
|
ha.auto_conf_prefix = 'homeassistant' # MQTT prefix for subscribing for homeassistant status updates
|
||||||
@@ -219,7 +219,7 @@ ha.proxy_unique_id = 'P170000000000001' # MQTT unique id, to identify a prox
|
|||||||
## inverters. This connection is only required if you want send data to the TSUN cloud
|
## inverters. This connection is only required if you want send data to the TSUN cloud
|
||||||
## to use the TSUN APPs or receive firmware updates.
|
## to use the TSUN APPs or receive firmware updates.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#tsun-cloud-for-gen3-inverter-only
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#tsun-cloud-for-gen3-inverter-only
|
||||||
##
|
##
|
||||||
|
|
||||||
tsun.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
tsun.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
||||||
@@ -235,7 +235,7 @@ tsun.port = 5005
|
|||||||
## inverters. This connection is only required if you want send data to the TSUN cloud
|
## inverters. This connection is only required if you want send data to the TSUN cloud
|
||||||
## to use the TSUN APPs or receive firmware updates.
|
## to use the TSUN APPs or receive firmware updates.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#solarman-cloud-for-gen3plus-inverter-only
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#solarman-cloud-for-gen3plus-inverter-only
|
||||||
##
|
##
|
||||||
solarman.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
solarman.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
||||||
solarman.host = 'iot.talent-monitoring.com'
|
solarman.host = 'iot.talent-monitoring.com'
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Operation-Modes-Overview
|
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Operation-Modes-Overview
|
||||||
###
|
###
|
||||||
### Here you will find a description of all configuration options:
|
### Here you will find a description of all configuration options:
|
||||||
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details
|
### https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml
|
||||||
###
|
###
|
||||||
### The configration uses the TOML format, which aims to be easy to read due to
|
### The configration uses the TOML format, which aims to be easy to read due to
|
||||||
### obvious semantics. You find more details here: https://toml.io/en/v1.0.0
|
### obvious semantics. You find more details here: https://toml.io/en/v1.0.0
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
## required credentials. As the proxy does not currently support an encrypted connection
|
## required credentials. As the proxy does not currently support an encrypted connection
|
||||||
## to the MQTT broker, it is strongly recommended that you do not use a public broker.
|
## to the MQTT broker, it is strongly recommended that you do not use a public broker.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#mqtt-broker-account
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#mqtt-broker-account
|
||||||
##
|
##
|
||||||
|
|
||||||
mqtt.host = 'mqtt' # URL or IP address of the mqtt broker
|
mqtt.host = 'mqtt' # URL or IP address of the mqtt broker
|
||||||
@@ -48,7 +48,7 @@ mqtt.passwd = ''
|
|||||||
## values match the HA default configuration. If you need to change these or want to use
|
## values match the HA default configuration. If you need to change these or want to use
|
||||||
## a different MQTT client, you can adjust the prefixes of the MQTT topics below.
|
## a different MQTT client, you can adjust the prefixes of the MQTT topics below.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#home-assistant
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#home-assistant
|
||||||
##
|
##
|
||||||
|
|
||||||
ha.auto_conf_prefix = 'homeassistant' # MQTT prefix for subscribing for homeassistant status updates
|
ha.auto_conf_prefix = 'homeassistant' # MQTT prefix for subscribing for homeassistant status updates
|
||||||
@@ -66,7 +66,7 @@ ha.proxy_unique_id = 'P170000000000001' # MQTT unique id, to identify a prox
|
|||||||
## inverters. This connection is only required if you want send data to the TSUN cloud
|
## inverters. This connection is only required if you want send data to the TSUN cloud
|
||||||
## to use the TSUN APPs or receive firmware updates.
|
## to use the TSUN APPs or receive firmware updates.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#tsun-cloud-for-gen3-inverter-only
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#tsun-cloud-for-gen3-inverter-only
|
||||||
##
|
##
|
||||||
|
|
||||||
tsun.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
tsun.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
||||||
@@ -82,7 +82,7 @@ tsun.port = 5005
|
|||||||
## inverters. This connection is only required if you want send data to the TSUN cloud
|
## inverters. This connection is only required if you want send data to the TSUN cloud
|
||||||
## to use the TSUN APPs or receive firmware updates.
|
## to use the TSUN APPs or receive firmware updates.
|
||||||
##
|
##
|
||||||
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details#solarman-cloud-for-gen3plus-inverter-only
|
## https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml#solarman-cloud-for-gen3plus-inverter-only
|
||||||
##
|
##
|
||||||
|
|
||||||
solarman.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
solarman.enabled = true # false: disables connecting to the tsun cloud, and avoids updates
|
||||||
|
|||||||
@@ -159,4 +159,4 @@ SOFTWARE.
|
|||||||
[AdGuard]: https://github.com/hassio-addons/addon-adguard-home
|
[AdGuard]: https://github.com/hassio-addons/addon-adguard-home
|
||||||
[repository-badge]: https://img.shields.io/badge/Add%20repository%20to%20my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge
|
[repository-badge]: https://img.shields.io/badge/Add%20repository%20to%20my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge
|
||||||
[repository-url]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fs-allius%2Fha-addons
|
[repository-url]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fs-allius%2Fha-addons
|
||||||
[configdetails]: https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-details
|
[configdetails]: https://github.com/s-allius/tsun-gen3-proxy/wiki/Configuration-toml
|
||||||
|
|||||||
Reference in New Issue
Block a user