adding ha addon support

This commit is contained in:
Jatus 2024-01-26 23:19:14 +01:00 committed by Gianmarco Pettinato
parent 0425f6e8df
commit 933c450942
7 changed files with 37 additions and 0 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
ARG BUILD_FROM
FROM $BUILD_FROM
COPY ./package.json ./
COPY ./package-lock.json ./
COPY ./src ./src
COPY ./tsconfig.json ./
RUN npm install
RUN npm install ts-node
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]

9
config.yml Normal file
View File

@ -0,0 +1,9 @@
name: "HA Matter Bridge"
version: "1.0.0"
slug: ha-matter-bridge
description: >-
"
This project serves as a proof of concept to connect HomeAssistant devices to Voice Assistants through the Matter Protocol."
init: false
arch:
- amd64

5
options.yml Normal file
View File

@ -0,0 +1,5 @@
message: "settings"
settings:
- HA_HOST: localhost
HA_PORT: 8123
HA_ACCESS_TOKEN: "your acces token"

1
repository.yml Normal file
View File

@ -0,0 +1 @@
name: ha-matter-bridge

3
run.sh Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bashio
npm run start

5
schema.yml Normal file
View File

@ -0,0 +1,5 @@
message: str
settings:
- HA_HOST: str
HA_PORT: int
HA_ACCESS_TOKEN: str