Compare commits
1 Commits
develop
...
c8e15dc926
| Author | SHA1 | Date | |
|---|---|---|---|
| c8e15dc926 |
11
README.md
11
README.md
@@ -1,7 +1,5 @@
|
|||||||
# HA-Matter-Bridge
|
# HA-Matter-Bridge
|
||||||
|
|
||||||
[](https://www.paypal.com/donate/?business=VHWQSZR2SS898&no_recurring=0&item_name=HA+Matter+Bridge¤cy_code=EUR) [](https://github.com/Jatus93/ha-matter-bridge/actions/workflows/docker-image.yml)
|
|
||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
This project serves as a proof of concept to connect HomeAssistant devices to Voice Assistants through the Matter Protocol.
|
This project serves as a proof of concept to connect HomeAssistant devices to Voice Assistants through the Matter Protocol.
|
||||||
@@ -34,6 +32,15 @@ This project serves as a proof of concept to connect HomeAssistant devices to Vo
|
|||||||
2. Add integrations for other devices.
|
2. Add integrations for other devices.
|
||||||
3. Add some tests
|
3. Add some tests
|
||||||
4. Donation
|
4. Donation
|
||||||
|
<div class=donation>
|
||||||
|
<form action="https://www.paypal.com/donate" method="post" target="_top">
|
||||||
|
<input type="hidden" name="business" value="VHWQSZR2SS898" />
|
||||||
|
<input type="hidden" name="no_recurring" value="0" />
|
||||||
|
<input type="hidden" name="currency_code" value="EUR" />
|
||||||
|
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
|
||||||
|
<img alt="" border="0" src="https://www.paypal.com/en_IT/i/scr/pixel.gif" width="1" height="1" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
## Known Issues and Limitations
|
## Known Issues and Limitations
|
||||||
|
|
||||||
|
|||||||
@@ -1,21 +1,33 @@
|
|||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base:15.0.3
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base:15.0.3
|
||||||
FROM node:18.19.0-alpine as node
|
|
||||||
FROM ${BUILD_FROM} as runenv
|
|
||||||
|
|
||||||
COPY --from=node /usr/lib /usr/lib
|
FROM node:18.19.0-alpine as buildbase
|
||||||
COPY --from=node /usr/local/lib /usr/local/lib
|
|
||||||
COPY --from=node /usr/local/include /usr/local/include
|
|
||||||
COPY --from=node /usr/local/bin /usr/local/bin
|
|
||||||
|
|
||||||
COPY ./package.json ./
|
COPY ./package.json ./
|
||||||
COPY ./package-lock.json ./
|
COPY ./package-lock.json ./
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
COPY ./tsconfig.json ./
|
COPY ./tsconfig.json ./
|
||||||
|
RUN npm install
|
||||||
RUN HUSKY=0 && npm install
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN rm -rf ./node_modules
|
|
||||||
RUN HUSKY=0 && npm install --production
|
FROM node:18.19.0-alpine as deps
|
||||||
|
|
||||||
|
COPY ./package.json ./
|
||||||
|
COPY ./package-lock.json ./
|
||||||
|
COPY ./src ./src
|
||||||
|
COPY ./tsconfig.json ./
|
||||||
|
RUN npm install --production
|
||||||
|
|
||||||
|
|
||||||
|
FROM ${BUILD_FROM} as runenv
|
||||||
|
|
||||||
|
COPY --from=buildbase /usr/lib /usr/lib
|
||||||
|
COPY --from=buildbase /usr/local/lib /usr/local/lib
|
||||||
|
COPY --from=buildbase /usr/local/include /usr/local/include
|
||||||
|
COPY --from=buildbase /usr/local/bin /usr/local/bin
|
||||||
|
COPY --from=buildbase ./build ./build
|
||||||
|
COPY --from=deps ./node_modules ./node_modules
|
||||||
|
COPY --from=deps ./package.json ./package.json
|
||||||
|
|
||||||
|
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
RUN chmod a+x /run.sh
|
RUN chmod a+x /run.sh
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"start": "node ./build/index.js",
|
"start": "node ./build/index.js",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"lint-fix": "eslint --fix .",
|
"lint-fix": "eslint --fix .",
|
||||||
"prepare": "if [ $HUSKY ]; then cd .. && husky install matter-bridge/.husky; fi",
|
"prepare": "cd .. && husky install matter-bridge/.husky",
|
||||||
"commit": "./node_modules/.bin/git-cz"
|
"commit": "./node_modules/.bin/git-cz"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user