Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Commit

Permalink
Update to 6.3
Browse files Browse the repository at this point in the history
This add-on is now using a new image. This makes the installation more stable and faster.

It also updates Assistant Relay to version 3.0.5
  • Loading branch information
Apipa169 committed Nov 27, 2019
1 parent b7baab1 commit 0422cba
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 46 deletions.
9 changes: 3 additions & 6 deletions assistant_relay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
## 5.5
Moving to a different base image to support armv7 (Raspberry Pi).
## 6.3
This add-on is now using a new image. This makes the installation more stable and faster.

## 5.4:
This update changes the location of the audio responses which are showed in the webinterface. This fix the issue that they get lost after en restart or update.

It is not required to do the setup again to keep using this addon, but to get the audio responses in the webinterface working you have to reinstall and reconfigure.
It also updates Assistant Relay to version 3.0.5
7 changes: 4 additions & 3 deletions assistant_relay/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Assistant Relay",
"version": "0.5.5",
"version": "0.6.3",
"slug": "assistant_relay",
"description": "Send (broadcast) commands to your Google Assistant via REST command",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"arch": ["amd64", "armv7"],
"startup": "before",
"url": "https://github.com/Apipa169/Assistant-Relay-for-Hassio",
"boot": "auto",
Expand All @@ -13,5 +13,6 @@
"schema": {},
"ports": {
"3000/tcp": 3000
}
},
"image": "apipa169/{arch}-hassio-assistant_relay"
}
21 changes: 1 addition & 20 deletions assistant_relay/dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,10 @@
ARG BUILD_FROM
FROM node
FROM $BUILD_FROM

ENV LANG C.UTF-8


RUN mkdir /assistant_relay \
&& npm i pm2 -g

WORKDIR /assistant_relay

RUN wget https://github.com/greghesp/assistant-relay/releases/download/v3.0.3/release.zip \
&& unzip release.zip \
&& rm release.zip \
&& sed -i -e 's#./bin/config.json#/data/config.json#g' /assistant_relay/helpers/server.js \
&& sed -i -e 's#./bin/config.json#/data/config.json#g' /assistant_relay/helpers/assistant.js \
&& sed -i -e 's#./bin/config.json#/data/config.json#g' /assistant_relay/helpers/auth.js \
&& sed -i -e 's#./bin/config.json#/data/config.json#g' /assistant_relay/routes/index.js \
&& sed -i -e 's#./bin/config.json#/data/config.json#g' /assistant_relay/routes/server.js \
&& sed -i -e 's#./bin/config.json#/data/config.json#g' /assistant_relay/bin/www \
&& sed -i -e 's#./bin/config.json#/data/config.json#g' /assistant_relay/routes/server.js \
&& sed -i -e 's#../bin/audio-responses/#/data/audio-responses/#g' /assistant_relay/helpers/server.js \
&& sed -i -e 's#../bin/audio-responses/#/data/audio-responses/#g' /assistant_relay/routes/server.js \
&& sed -i -e 's#bin/audio-responses/#/data/audio-responses/#g' /assistant_relay/helpers/server.js \
&& npm i

COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]
19 changes: 4 additions & 15 deletions assistant_relay_beta/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
## 5.7
## 6.3
This add-on is now using a new image. This makes the installation more stable and faster.

New image
It also updates Assistant Relay to version 3.0.5

## 5.6
Update to Assistant Relay v3.0.4:

- Bug fixed in Sandbox JSON creation
- Fixed naming convention in Sandbox

## 5.5
Moving to a different base image to support armv7 (Raspberry Pi).

## 5.4:
This update changes the location of the audio responses which are showed in the webinterface. This fix the issue that they get lost after en restart or update.

It is not required to do the setup again to keep using this addon, but to get the audio responses in the webinterface working you have to reinstall and reconfigure.
At the moment the beta is identical to the current release.
4 changes: 2 additions & 2 deletions assistant_relay_beta/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Assistant Relay BETA",
"version": "0.6",
"version": "0.6.3",
"slug": "assistant_relay_beta",
"description": "Send (broadcast) commands to your Google Assistant via REST command",
"arch": ["amd64"],
"arch": ["amd64", "armv7"],
"startup": "before",
"url": "https://github.com/Apipa169/Assistant-Relay-for-Hassio",
"boot": "auto",
Expand Down

0 comments on commit 0422cba

Please sign in to comment.