Merge branch 'main' of https://github.com/s-allius/tsun-gen3-proxy into dev-0.12
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
aiomqtt==2.3.0
|
aiomqtt==2.3.0
|
||||||
schema==0.7.7
|
schema==0.7.7
|
||||||
aiocron==1.8
|
aiocron==1.8
|
||||||
aiohttp==3.11.10
|
aiohttp==3.11.11
|
||||||
@@ -67,7 +67,7 @@ Example add-on configuration for GEN3PLUS inverters:
|
|||||||
```yaml
|
```yaml
|
||||||
inverters:
|
inverters:
|
||||||
- serial: Y17000000000000
|
- serial: Y17000000000000
|
||||||
monitor_sn: '2000000000'
|
monitor_sn: 2000000000
|
||||||
node_id: PV-Garage
|
node_id: PV-Garage
|
||||||
suggested_area: Garage
|
suggested_area: Garage
|
||||||
modbus_polling: true
|
modbus_polling: true
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
# 1 Build Base Image #
|
# 1 Build Base Image #
|
||||||
######################
|
######################
|
||||||
|
|
||||||
ARG BUILD_FROM="ghcr.io/hassio-addons/base:17.0.1"
|
ARG BUILD_FROM="ghcr.io/hassio-addons/base:17.0.2"
|
||||||
# hadolint ignore=DL3006
|
# hadolint ignore=DL3006
|
||||||
FROM $BUILD_FROM AS base
|
FROM $BUILD_FROM AS base
|
||||||
|
|
||||||
|
|||||||
@@ -31,16 +31,16 @@ ports:
|
|||||||
# parameters are available within the container as /data/options.json
|
# parameters are available within the container as /data/options.json
|
||||||
# and should become picked up by the proxy - current workaround as a transfer script
|
# and should become picked up by the proxy - current workaround as a transfer script
|
||||||
# TODO: check again for multi hierarchie parameters
|
# TODO: check again for multi hierarchie parameters
|
||||||
# TODO: implement direct reading of the configuration file
|
|
||||||
schema:
|
schema:
|
||||||
inverters:
|
inverters:
|
||||||
- serial: str
|
- serial: match(^(R17|Y17|Y47).{13}$)
|
||||||
monitor_sn: int?
|
monitor_sn: int?
|
||||||
node_id: str
|
node_id: str
|
||||||
suggested_area: str
|
suggested_area: str
|
||||||
modbus_polling: bool
|
modbus_polling: bool
|
||||||
client_mode.host: str?
|
client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b)
|
||||||
client_mode.port: int?
|
client_mode.port: port?
|
||||||
client_mode.forward: bool?
|
client_mode.forward: bool?
|
||||||
#strings: # leider funktioniert es nicht die folgenden 3 parameter im schema aufzulisten. möglicherweise wird die verschachtelung nicht unterstützt.
|
#strings: # leider funktioniert es nicht die folgenden 3 parameter im schema aufzulisten. möglicherweise wird die verschachtelung nicht unterstützt.
|
||||||
# - string: str
|
# - string: str
|
||||||
@@ -62,10 +62,11 @@ schema:
|
|||||||
tsun.enabled: bool
|
tsun.enabled: bool
|
||||||
solarman.enabled: bool
|
solarman.enabled: bool
|
||||||
inverters.allow_all: bool
|
inverters.allow_all: bool
|
||||||
|
|
||||||
# optionale parameter
|
# optionale parameter
|
||||||
# TODO besser strukturieren und vervollständigen
|
|
||||||
mqtt.host: str?
|
mqtt.host: str?
|
||||||
mqtt.port: int?
|
mqtt.port: port?
|
||||||
mqtt.user: str?
|
mqtt.user: str?
|
||||||
mqtt.passwd: password?
|
mqtt.passwd: password?
|
||||||
ha.auto_conf_prefix: str? # suggeriert optionale konfigurationsoption -> es darf jedoch kein default unter "options" angegeben werden
|
ha.auto_conf_prefix: str? # suggeriert optionale konfigurationsoption -> es darf jedoch kein default unter "options" angegeben werden
|
||||||
|
|||||||
Reference in New Issue
Block a user