* 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 --------- Co-authored-by: metzi <147942647+mime24@users.noreply.github.com> Co-authored-by: Michael Metz <michael.metz@siemens.com>
96 lines
3.7 KiB
YAML
Executable File
96 lines
3.7 KiB
YAML
Executable File
---
|
||
configuration:
|
||
inverters:
|
||
name: Inverters
|
||
description: >+
|
||
For each GEN3 inverter, the serial number of the inverter must be mapped to an MQTT
|
||
definition. To do this, the corresponding configuration block is started with
|
||
16-digit serial number so that all subsequent parameters are assigned
|
||
to this inverter. Further inverter-specific parameters (e.g. polling mode) can be set
|
||
in the configuration block
|
||
|
||
The serial numbers of all GEN3 inverters start with `R17` and that of the GEN3PLUS
|
||
inverters with ‘Y17’ or ‘47’!
|
||
|
||
For reference see example configuration in Documentation Tab
|
||
|
||
tsun.enabled:
|
||
name: Connection to TSUN Cloud - for GEN3 inverter only
|
||
description: >+
|
||
switch on/off connection to the TSUN cloud.
|
||
This connection is only required if you want send data to the TSUN cloud
|
||
eg. to use the TSUN APPs or receive firmware updates.
|
||
|
||
on => normal proxy operation.
|
||
off => The Inverter become isolated from Internet.
|
||
solarman.enabled:
|
||
name: Connection to Solarman Cloud - for GEN3PLUS inverter only
|
||
description: >+
|
||
switch on/off connection to the Solarman cloud.
|
||
This connection is only required if you want send data to the Solarman cloud
|
||
eg. to use the Solarman APPs or receive firmware updates.
|
||
|
||
on => normal proxy operation.
|
||
off => The Inverter become isolated from Internet
|
||
inverters.allow_all:
|
||
name: Allow all connections from all inverters
|
||
description: >-
|
||
The proxy only usually accepts connections from configured inverters.
|
||
Switch on for test purposes and unknown serial numbers.
|
||
mqtt.host:
|
||
name: MQTT Broker Host
|
||
description: >-
|
||
Hostname or IP address of the MQTT broker. if not set, the addon will try to connect to the Home Assistant MQTT broker
|
||
mqtt.port:
|
||
name: MQTT Broker Port
|
||
description: >-
|
||
Port of the MQTT broker. if not set, the addon will try to connect to the Home Assistant MQTT broker
|
||
mqtt.user:
|
||
name: MQTT Broker User
|
||
description: >-
|
||
User for the MQTT broker. if not set, the addon will try to connect to the Home Assistant MQTT broker
|
||
mqtt.passwd:
|
||
name: MQTT Broker Password
|
||
description: >-
|
||
Password for the MQTT broker. if not set, the addon will try to connect to the Home Assistant MQTT broker
|
||
ha.auto_conf_prefix:
|
||
name: MQTT prefix for subscribing for homeassistant status updates
|
||
ha.discovery_prefix:
|
||
name: MQTT prefix for discovery topic
|
||
ha.entity_prefix:
|
||
name: MQTT topic prefix for publishing inverter values
|
||
ha.proxy_node_id:
|
||
name: MQTT node id, for the proxy_node_id
|
||
ha.proxy_unique_id:
|
||
name: MQTT unique id, to identify a proxy instance
|
||
tsun.host:
|
||
name: TSUN Cloud Host
|
||
description: >-
|
||
Hostname or IP address of the TSUN cloud. if not set, the addon will try to connect to the cloud
|
||
on logger.talent-monitoring.com
|
||
solarman.host:
|
||
name: Solarman Cloud Host
|
||
description: >-
|
||
Hostname or IP address of the Solarman cloud. if not set, the addon will try to connect to the cloud
|
||
on iot.talent-monitoring.com
|
||
gen3plus.at_acl.tsun.allow:
|
||
name: TSUN GEN3PLUS ACL allow
|
||
description: >-
|
||
List of allowed TSUN GEN3PLUS AT commands
|
||
gen3plus.at_acl.tsun.block:
|
||
name: TSUN GEN3 ACL block
|
||
description: >-
|
||
List of blocked TSUN GEN3PLUS AT commands
|
||
gen3plus.at_acl.mqtt.allow:
|
||
name: MQTT GEN3PLUS ACL allow
|
||
description: >-
|
||
List of allowed MQTT GEN3PLUS commands
|
||
gen3plus.at_acl.mqtt.block:
|
||
name: MQTT GEN3PLUS ACL block
|
||
description: >-
|
||
List of blocked MQTT GEN3PLUS commands
|
||
|
||
network:
|
||
5005/tcp: listening Port for TSUN GEN3 Devices
|
||
10000/tcp: listening Port for TSUN GEN3PLUS Devices
|