diff --git a/ha_addon_rel/CHANGELOG.md b/ha_addon_rel/CHANGELOG.md index e981eb1..88457d1 100644 --- a/ha_addon_rel/CHANGELOG.md +++ b/ha_addon_rel/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [unreleased] + +## [0.14.0] - 2025-05-29 + +- add-on: bump python to version 3.12.10-r1 +- set no of pv modules for MS800 GEN3PLUS inverters +- fix the paths to copy the config.example.toml file during proxy start +- add MQTT topic `dcu_power` for setting output power on DCUs +- Update ghcr.io/hassio-addons/base Docker tag to v17.2.5 +- fix a lot of pytest-asyncio problems in the unit tests +- Cleanup startup code for Quart and the Proxy +- Redirect the hypercorn traces to a separate log-file +- Configure the dashboard trace handler by the logging.ini file +- Dashboard: add Notes page and table for important messages +- Dashboard: add Log-File page +- Dashboard: add Connection page +- add web UI to add-on +- allow `Y00` serial numbers for GEN3PLUS devices + ## [0.13.0] - 2025-04-13 - update dependency python to 3.13 diff --git a/ha_addon_rel/config.yaml b/ha_addon_rel/config.yaml index cad37ec..f77ab91 100644 --- a/ha_addon_rel/config.yaml +++ b/ha_addon_rel/config.yaml @@ -1,6 +1,6 @@ name: TSUN-Proxy description: MQTT Proxy for TSUN Photovoltaic Inverters -version: 0.13.0-rel +version: 0.14.0-rel image: ghcr.io/s-allius/tsun-gen3-addon url: https://github.com/s-allius/tsun-gen3-proxy slug: tsun-proxy @@ -23,8 +23,11 @@ services: ports: 5005/tcp: 5005 10000/tcp: 10000 - +webui: "http://[HOST]:[PORT:8127]/" watchdog: "http://[HOST]:[PORT:8127]/-/healthy" +ingress: true +ingress_port: 8127 +panel_icon: "mdi:application-cog-outline" # Definition of parameters in the configuration tab of the addon # parameters are available within the container as /data/options.json @@ -32,7 +35,7 @@ watchdog: "http://[HOST]:[PORT:8127]/-/healthy" schema: inverters: - - serial: match(^(R17|R47|Y17|Y47).{13}$) + - serial: match(^(R17|R47|Y00|Y17|Y47).{13}$) monitor_sn: int? node_id: str suggested_area: str diff --git a/ha_addon_rel/rootfs/run.sh b/ha_addon_rel/rootfs/run.sh index 4e42950..6c231e4 100755 --- a/ha_addon_rel/rootfs/run.sh +++ b/ha_addon_rel/rootfs/run.sh @@ -30,4 +30,4 @@ cd /home/proxy || exit export VERSION=$(cat /proxy-version.txt) echo "Start Proxyserver..." -python3 server.py --json_config=/data/options.json --log_path=/homeassistant/tsun-proxy/logs/ --config_path=/homeassistant/tsun-proxy/ --log_backups=2 +python3 server.py --rel_urls --json_config=/data/options.json --log_path=/homeassistant/tsun-proxy/logs/ --config_path=/homeassistant/tsun-proxy/ --log_backups=2 diff --git a/ha_addon_rel/translations/de.yaml b/ha_addon_rel/translations/de.yaml index 0455987..ad9e014 100755 --- a/ha_addon_rel/translations/de.yaml +++ b/ha_addon_rel/translations/de.yaml @@ -10,8 +10,8 @@ configuration: Weitere wechselrichterspezifische Parameter (z.B. Polling Mode) können im Konfigurationsblock gesetzt werden. - Die Seriennummer der GEN3 Wechselrichter beginnen mit `R17` oder `R47` und die der GEN3PLUS - Wechselrichter mit `Y17`oder `Y47`! + Die Seriennummer der GEN3 Wechselrichter beginnen mit 'R17' oder 'R47' und die der GEN3PLUS + Wechselrichter mit 'Y00', 'Y17' oder 'Y47'! Siehe Beispielkonfiguration im Dokumentations-Tab batteries: @@ -106,3 +106,4 @@ configuration: network: 5005/tcp: listening Port für TSUN GEN3 Wechselrichter 10000/tcp: listening Port für TSUN GEN3PLUS Wechselrichter + 8127/tcp: Port für das TSUN-Proxy Dashboard diff --git a/ha_addon_rel/translations/en.yaml b/ha_addon_rel/translations/en.yaml index 82a25aa..b4407f8 100755 --- a/ha_addon_rel/translations/en.yaml +++ b/ha_addon_rel/translations/en.yaml @@ -10,7 +10,7 @@ configuration: in the configuration block. The serial numbers of all GEN3 inverters start with `R17` or `R47` and that of the GEN3PLUS - inverters with ‘Y17’ or ‘Y47’! + inverters with 'Y00', ‘Y17’ or ‘Y47’! For reference see example configuration in Documentation Tab @@ -107,3 +107,4 @@ configuration: network: 5005/tcp: listening Port for TSUN GEN3 Devices 10000/tcp: listening Port for TSUN GEN3PLUS Devices + 8127/tcp: Port for the TSUN-Proxy Dashboard \ No newline at end of file