mirror of
https://github.com/RiDDiX/home-assistant-addons.git
synced 2026-07-21 17:18:10 +08:00
@@ -11,15 +11,16 @@ arch:
|
|||||||
- aarch64
|
- aarch64
|
||||||
- amd64
|
- amd64
|
||||||
- armv7
|
- armv7
|
||||||
ingress: true
|
webui: http://[HOST]:[PORT:8482]/
|
||||||
ingress_port: 0
|
|
||||||
map:
|
map:
|
||||||
- addon_config:rw
|
- addon_config:rw
|
||||||
options:
|
options:
|
||||||
app_log_level: info
|
app_log_level: info
|
||||||
disable_log_colors: false
|
disable_log_colors: false
|
||||||
|
web_port: 8482
|
||||||
mdns_network_interface: ""
|
mdns_network_interface: ""
|
||||||
schema:
|
schema:
|
||||||
app_log_level: list(silly|debug|info|warn|error)
|
app_log_level: list(silly|debug|info|warn|error)
|
||||||
disable_log_colors: bool
|
disable_log_colors: bool
|
||||||
|
web_port: int(1,)
|
||||||
mdns_network_interface: "str?"
|
mdns_network_interface: "str?"
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ home-assistant-matter-hub start \
|
|||||||
--log-level=$(bashio::config 'app_log_level') \
|
--log-level=$(bashio::config 'app_log_level') \
|
||||||
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
||||||
--storage-location=/config/data \
|
--storage-location=/config/data \
|
||||||
--web-port=$(bashio::addon.ingress_port) \
|
--web-port=$(bashio::config 'web_port') \
|
||||||
--home-assistant-url='http://supervisor/core' \
|
--home-assistant-url='http://supervisor/core' \
|
||||||
--home-assistant-access-token="$SUPERVISOR_TOKEN" \
|
--home-assistant-access-token="$SUPERVISOR_TOKEN"
|
||||||
--http-ip-whitelist="172.30.32.2"
|
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
bashio::addon.config
|
||||||
|
echo ""
|
||||||
|
bashio::addon.ingress_port
|
||||||
|
echo ""
|
||||||
|
|
||||||
home-assistant-matter-hub start \
|
home-assistant-matter-hub start \
|
||||||
--log-level=$(bashio::config 'app_log_level') \
|
--log-level=$(bashio::config 'app_log_level') \
|
||||||
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
||||||
|
|||||||
Reference in New Issue
Block a user