mirror of
https://github.com/RiDDiX/home-assistant-addons.git
synced 2026-07-14 12:20:51 +08:00
chore: initial commit for home-assistant-matter-hub
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.idea/
|
||||
16
README.md
Normal file
16
README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Home Assistant Addons by t0bst4r
|
||||
|
||||
This repository provides the following addons for Home-Assistant:
|
||||
|
||||
- Home-Assistant-Matter-Hub
|
||||
|
||||
## Installation
|
||||
|
||||
Simple add this repository to your Add On Store in Home-Assistant:
|
||||
|
||||
1. Open the UI of your Home Assistant instance
|
||||
2. Go to `Settings` -> `Add-Ons` -> `Add-On Store`
|
||||
3. Click the three dots in the top-right corner and select `Repositories`
|
||||
4. Paste the repository URL (`https://github.com/t0bst4r/home-assistant-addons`) into the text-field and click "Add"
|
||||
5. Refresh your Add-On Store and Install the Add-On
|
||||
|
||||
16
hamh/Dockerfile
Normal file
16
hamh/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM ghcr.io/hassio-addons/base-nodejs:0.2.5
|
||||
|
||||
ENV SUPERVISOR_TOKEN ""
|
||||
VOLUME /config
|
||||
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
|
||||
ARG package_version
|
||||
LABEL \
|
||||
io.hass.version="$package_version" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.arch="armhf|aarch64|i386|amd64"
|
||||
RUN npm install -g home-assistant-matter-hub@$package_version
|
||||
|
||||
CMD /docker-entrypoint.sh
|
||||
2
hamh/build.yaml
Normal file
2
hamh/build.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
args:
|
||||
package_version: "3.0.0-alpha.7"
|
||||
24
hamh/config.yaml
Normal file
24
hamh/config.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: "3.0.0-alpha.7"
|
||||
slug: hamh
|
||||
name: Home-Assistant-Matter-Hub
|
||||
description: Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home.
|
||||
url: https://github.com/t0bst4r/home-assistant-matter-hub
|
||||
homeassistant: 2024.1.0
|
||||
homeassistant_api: true
|
||||
host_network: true
|
||||
init: false
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
- armv7
|
||||
webui: http://[HOST]:[PORT:8482]/
|
||||
map:
|
||||
- addon_config:rw
|
||||
options:
|
||||
log_level: info
|
||||
disable_log_colors: false
|
||||
web_port: 8482
|
||||
schema:
|
||||
log_level: list(debug|info|warn|error)
|
||||
disable_log_colors: bool
|
||||
web_port: int(1,)
|
||||
9
hamh/docker-entrypoint.sh
Normal file
9
hamh/docker-entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
home-assistant-matter-hub start \
|
||||
--log-level=$(bashio::config 'log_level') \
|
||||
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
||||
--storage-location=/config/data \
|
||||
--web-port=$(bashio::config 'web_port') \
|
||||
--home-assistant-url='http://supervisor/core' \
|
||||
--home-assistant-access-token="$SUPERVISOR_TOKEN"
|
||||
14
hamh/translations/en.yaml
Normal file
14
hamh/translations/en.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
configuration:
|
||||
log_level:
|
||||
name: Log Level
|
||||
description: |
|
||||
The log level used for this addon. One of: debug, info, warn, error
|
||||
disable_log_colors:
|
||||
name: Disable log colors
|
||||
description: |
|
||||
Print the log as plain text without any colors.
|
||||
web_port:
|
||||
name: Web UI Port
|
||||
description: |
|
||||
The port to use for the Web-UI. Default: 8482
|
||||
4
repository.yaml
Normal file
4
repository.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
name: Addons by t0bst4r
|
||||
url: https://github.com/t0bst4r/home-assistant-addons
|
||||
maintainer: Tobias Glatthar
|
||||
Reference in New Issue
Block a user