diff --git a/ha_addon/config.yaml b/ha_addon/config.yaml deleted file mode 100755 index 06f4466..0000000 --- a/ha_addon/config.yaml +++ /dev/null @@ -1,102 +0,0 @@ -name: "TSUN-Proxy" -description: "MQTT Proxy for TSUN Photovoltaic Inverters" -version: "dev" -image: docker.io/sallius/tsun-gen3-addon -url: https://github.com/s-allius/tsun-gen3-proxy -slug: "tsun-proxy" -init: false -arch: - - aarch64 - - amd64 - - armhf - - armv7 -startup: services -homeassistant_api: true -services: - - mqtt:want -ports: - 8127/tcp: 8127 - 5005/tcp: 5005 - 10000/tcp: 10000 - -# Definition of parameters in the configuration tab of the addon -# parameters are available within the container as /data/options.json -# and should become picked up by the proxy - current workaround as a transfer script -# TODO: check again for multi hierarchie parameters -# TODO: implement direct reading of the configuration file -schema: - inverters: - - serial: str - monitor_sn: int? - node_id: str - suggested_area: str - modbus_polling: bool - client_mode_host: str? - client_mode_port: int? - #strings: # leider funktioniert es nicht die folgenden 3 parameter im schema aufzulisten. möglicherweise wird die verschachtelung nicht unterstützt. - # - string: str - # type: str - # manufacturer: str - # daher diese variante - pv1.manufacturer: str? - pv1.type: str? - pv2.manufacturer: str? - pv2.type: str? - pv3.manufacturer: str? - pv3.type: str? - pv4.manufacturer: str? - pv4.type: str? - pv5.manufacturer: str? - pv5.type: str? - pv6.manufacturer: str? - pv6.type: str? - tsun.enabled: bool - solarman.enabled: bool - inverters.allow_all: bool - # optionale parameter - # TODO besser strukturieren und vervollständigen - mqtt.host: str? - mqtt.port: int? - mqtt.user: str? - mqtt.passwd: password? - ha.auto_conf_prefix: str? # suggeriert optionale konfigurationsoption -> es darf jedoch kein default unter "options" angegeben werden - ha.discovery_prefix: str? # dito - ha.entity_prefix: str? #dito - ha.proxy_node_id: str? #dito - ha.proxy_unique_id: str? #dito - tsun.host: str? - solarman.host: str? - gen3plus.at_acl.tsun.allow: - - str - gen3plus.at_acl.tsun.block: - - str? - gen3plus.at_acl.mqtt.allow: - - str - gen3plus.at_acl.mqtt.block: - - str? - -# set default options for mandatory parameters -# for optional parameters do not define any default value in the options dictionary. -# If any default value is given, the option becomes a required value. -options: - inverters: - - serial: R17E760702080400 - node_id: PV-Garage - suggested_area: Garage - modbus_polling: false - # strings: - # - string: PV1 - # type: SF-M18/144550 - # manufacturer: Shinefar - # - string: PV2 - # type: SF-M18/144550 - # manufacturer: Shinefar - pv1.manufacturer: Shinefar - pv1.type: SF-M18/144550 - pv2.manufacturer: Shinefar - pv2.type: SF-M18/144550 - tsun.enabled: true # set default - solarman.enabled: true # set default - inverters.allow_all: false # set default - gen3plus.at_acl.tsun.allow: ["AT+Z", "AT+UPURL", "AT+SUPDATE"] - gen3plus.at_acl.mqtt.allow: ["AT+"] \ No newline at end of file diff --git a/ha_addon/DOCS.md b/ha_addon_rel/DOCS.md similarity index 100% rename from ha_addon/DOCS.md rename to ha_addon_rel/DOCS.md diff --git a/ha_addon/icon.png b/ha_addon_rel/icon.png similarity index 100% rename from ha_addon/icon.png rename to ha_addon_rel/icon.png diff --git a/ha_addon/logo.png b/ha_addon_rel/logo.png similarity index 100% rename from ha_addon/logo.png rename to ha_addon_rel/logo.png diff --git a/ha_addon/translations/en.yaml b/ha_addon_rel/translations/en.yaml similarity index 100% rename from ha_addon/translations/en.yaml rename to ha_addon_rel/translations/en.yaml