adding ha addon support
This commit is contained in:
parent
0425f6e8df
commit
d4e364f8f9
14
Dockerfile
Normal file
14
Dockerfile
Normal 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" ]
|
32
config.yml
Normal file
32
config.yml
Normal file
@ -0,0 +1,32 @@
|
||||
name: "HA-Matter-Bridge"
|
||||
version: "1.0.0"
|
||||
slug: folder
|
||||
description: >-
|
||||
"
|
||||
This project serves as a proof of concept to connect HomeAssistant devices to Voice Assistants through the Matter Protocol."
|
||||
arch:
|
||||
- amd64
|
||||
url: "https://git.jatus.tech/Jatus/ha-matter-bridge"
|
||||
ports:
|
||||
5540/tcp: 5540
|
||||
host_network: true
|
||||
environment:
|
||||
- HA_HOST=${HA_HOST}
|
||||
- HA_PORT=${HA_PORT}
|
||||
- HA_ACCESS_TOKEN=${HA_ACCESS_TOKEN}
|
||||
map:
|
||||
- config:rw
|
||||
- ssl
|
||||
image: repo/{arch}-my-custom-addon
|
||||
options:
|
||||
message: "settings"
|
||||
settings:
|
||||
- HA_HOST: localhost
|
||||
HA_PORT: 8123
|
||||
HA_ACCESS_TOKEN: "your acces token"
|
||||
schema:
|
||||
message: str
|
||||
settings:
|
||||
- HA_HOST: str
|
||||
HA_PORT: int
|
||||
HA_ACCESS_TOKEN: str
|
Loading…
Reference in New Issue
Block a user