Snips: Added asr injection (#331)

* added asr injection

* updated changelog
This commit is contained in:
Tod Schmidt
2018-06-24 17:59:33 -04:00
committed by Pascal Vizeli
parent 6ba7b4be5b
commit 253a1ff83a
4 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
# Changelog # Changelog
## 3.2
- Added snips-asr-injections service to allow dynamic entity names
## 3.1 ## 3.1
- Updated to latest snips version 0.56.4 - Updated to latest snips version 0.56.4

View File

@@ -10,7 +10,7 @@ COPY assistant_* /
RUN chmod a+x /run.sh \ RUN chmod a+x /run.sh \
&& chmod a+x /usr/bin/customtts.sh \ && chmod a+x /usr/bin/customtts.sh \
&& apt-get update \ && apt-get update \
&& apt-get install -y mpg123 \ && (apt-get install -y mpg123 snips-asr-injection; exit 0) \
&& apt-get clean all && apt-get clean all
ENTRYPOINT [ "/run.sh" ] ENTRYPOINT [ "/run.sh" ]

View File

@@ -1,6 +1,6 @@
{ {
"name": "Snips.AI", "name": "Snips.AI",
"version": "3.1", "version": "3.2",
"slug": "snips", "slug": "snips",
"description": "Local voice control platform", "description": "Local voice control platform",
"url": "https://home-assistant.io/addons/snips/", "url": "https://home-assistant.io/addons/snips/",

View File

@@ -88,4 +88,7 @@ fi
echo "[INFO] Starting snips-watch" echo "[INFO] Starting snips-watch"
( sleep 2; /usr/bin/snips-watch -vvv --no_color ) & ( sleep 2; /usr/bin/snips-watch -vvv --no_color ) &
echo "[INFO] Starting snips-asr-injection"
( sleep 2; /usr/bin/snips-asr-injection -v --no_color ) &
/opt/snips/snips-entrypoint.sh --mqtt localhost:1883 /opt/snips/snips-entrypoint.sh --mqtt localhost:1883