From 253a1ff83adb7d9886ace11fdfbe7b13ea27ab1e Mon Sep 17 00:00:00 2001 From: Tod Schmidt Date: Sun, 24 Jun 2018 17:59:33 -0400 Subject: [PATCH] Snips: Added asr injection (#331) * added asr injection * updated changelog --- snips/CHANGELOG.md | 3 +++ snips/Dockerfile | 2 +- snips/config.json | 2 +- snips/run.sh | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/snips/CHANGELOG.md b/snips/CHANGELOG.md index fff63ee..3f26834 100644 --- a/snips/CHANGELOG.md +++ b/snips/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 3.2 +- Added snips-asr-injections service to allow dynamic entity names + ## 3.1 - Updated to latest snips version 0.56.4 diff --git a/snips/Dockerfile b/snips/Dockerfile index 790a381..c7f82dc 100644 --- a/snips/Dockerfile +++ b/snips/Dockerfile @@ -10,7 +10,7 @@ COPY assistant_* / RUN chmod a+x /run.sh \ && chmod a+x /usr/bin/customtts.sh \ && apt-get update \ - && apt-get install -y mpg123 \ + && (apt-get install -y mpg123 snips-asr-injection; exit 0) \ && apt-get clean all ENTRYPOINT [ "/run.sh" ] diff --git a/snips/config.json b/snips/config.json index f54d65e..a04fa3c 100644 --- a/snips/config.json +++ b/snips/config.json @@ -1,6 +1,6 @@ { "name": "Snips.AI", - "version": "3.1", + "version": "3.2", "slug": "snips", "description": "Local voice control platform", "url": "https://home-assistant.io/addons/snips/", diff --git a/snips/run.sh b/snips/run.sh index 144a87e..bfff54a 100644 --- a/snips/run.sh +++ b/snips/run.sh @@ -88,4 +88,7 @@ fi echo "[INFO] Starting snips-watch" ( 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