diff --git a/ha_addon_debug/config.yaml b/ha_addon_debug/config.yaml index 4957ae3..e69de29 100644 --- a/ha_addon_debug/config.yaml +++ b/ha_addon_debug/config.yaml @@ -1,111 +0,0 @@ -name: TSUN-Proxy (Debug) -description: MQTT Proxy for TSUN Photovoltaic Inverters with Debug Logging -version: debug -image: docker.io/sallius/tsun-gen3-addon -url: https://github.com/s-allius/tsun-gen3-proxy -slug: tsun-proxy-debug -advanced: True -stage: experimental -init: false -arch: - - aarch64 - - amd64 - - armhf - - armv7 -startup: services -homeassistant_api: true -map: - - type: addon_config - path: /homeassistant/tsun-proxy - read_only: False -services: - - mqtt:want -ports: - 5005/tcp: 5005 - 10000/tcp: 10000 - -# FIXME: we disabled the watchdog due to exceptions in the ha supervisor. See: https://github.com/s-allius/tsun-gen3-proxy/issues/249 -# watchdog: "http://[HOST]:[PORT:8127]/-/healthy" - -# 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? - client_mode.forward: bool? - #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