* added service to transfer Add-on config from options.json to config.toml * added feature to get MQTT config from Homeassistant current version is MVP. can run as Home Assistant Add-On, config.toml is automatically created from option parameters in the add-on configuration tab. * fix pylance and flake8 warnings * prepare building a ha addon - move build script into root dir - cp source files in addon build-tree * ignore proxy source files in addon build tree * move proxy source files in own directory * remove duplicates source files from repro * check for a valis SONAR_TOKEN * rename add_on path * prepare for unittests and coverage measurement * move file cause of the changes pathname * move the proxy dir to /home/proxy * build addon with make now * remove duplicated requirements.txt file from repo * undo changes --------- Co-authored-by: Michael Metz <michael.metz@siemens.com> Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
67 lines
2.6 KiB
YAML
Executable File
67 lines
2.6 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`!
|
|
|
|
node_id # MQTT replacement for inverters serial number
|
|
suggested_area # suggested installation area for home-assistant
|
|
modbus_polling # Disable optional MODBUS polling
|
|
pv1 # Optional, PV module descr
|
|
pv2 # Optional, PV module descr
|
|
|
|
tsun.enabled:
|
|
name: Connection to TSUN Cloud
|
|
description: >-
|
|
disable connecting to the tsun cloud avoids updates.
|
|
The Inverter become isolated from Internet if switched on.
|
|
solarman.enabled:
|
|
name: Connection to Solarman Cloud
|
|
description: >-
|
|
disables connecting to the Solarman cloud avoids updates.
|
|
The Inverter become isolated from Internet if switched on.
|
|
inverters.allow_all:
|
|
name: Allow all connections from all inverters
|
|
description: >-
|
|
The proxy only usually accepts connections from known inverters.
|
|
This can be switched off for test purposes and unknown serial
|
|
numbers are also accepted.
|
|
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
|
|
|
|
network:
|
|
8127/tcp: x...
|
|
5005/tcp: listening Port for TSUN GEN3 Devices
|
|
10000/tcp: listening Port for TSUN GEN3PLUS Devices
|