From 8fd5d12bf88996ad7e3fde5a843863e0c60a8564 Mon Sep 17 00:00:00 2001 From: Paul Romkes Date: Mon, 8 Jul 2019 14:28:03 +0200 Subject: [PATCH] =?UTF-8?q?Add=20the=20hotword=20detected=20toptic=20to=20?= =?UTF-8?q?out,=20following=20https://docs.snips.=E2=80=A6=20(#622)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add the hotword detected toptic to out, following https://docs.snips.ai/reference/hermes * Updated to 0.63.2 and pinned that version in dockerfile. Added hotword detected topic to out * Fix arguments * add image entry * Add audio-server to version list * fix packeges installed * Revert file permissions * 755 executables * 755 shell scripts --- snips/CHANGELOG.md | 5 +++++ snips/Dockerfile | 14 ++++++++++---- snips/config.json | 2 +- snips/run.sh | 1 + 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/snips/CHANGELOG.md b/snips/CHANGELOG.md index bb67d9a..9765872 100644 --- a/snips/CHANGELOG.md +++ b/snips/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 5.3 +- Updated to snips 0.63.2 +- Pinned docker version to 0.63.2 +- set hermes/hotword/+/detected out to allow subscribing from other systems + ## 5.2 - Updated to snips 0.62.3 - Add snips-injection diff --git a/snips/Dockerfile b/snips/Dockerfile index cf50f3f..41475a4 100644 --- a/snips/Dockerfile +++ b/snips/Dockerfile @@ -29,10 +29,16 @@ RUN apt-get update \ RUN apt-get update \ && apt-get install -y --no-install-recommends \ - snips-platform-voice \ - snips-asr \ - snips-injection \ - snips-watch \ + snips-platform-voice=0.63.2 \ + snips-asr=0.63.2 \ + snips-injection=0.63.2 \ + snips-watch=0.63.2 \ + mosquitto \ + snips-audio-server=0.63.2 \ + snips-dialogue=0.63.2 \ + snips-hotword=0.63.2 \ + snips-nlu=0.63.2 \ + snips-tts=0.63.2 \ && rm -rf /var/lib/apt/lists/* \ && curl -L -o /assistant_Hass_de.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_de.zip \ && curl -L -o /assistant_Hass_en.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_en.zip \ diff --git a/snips/config.json b/snips/config.json index 641361a..d5ef5aa 100644 --- a/snips/config.json +++ b/snips/config.json @@ -1,6 +1,6 @@ { "name": "Snips.AI", - "version": "5.2", + "version": "5.3", "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 f6b8e03..592b739 100755 --- a/snips/run.sh +++ b/snips/run.sh @@ -57,6 +57,7 @@ if MQTT_CONFIG="$(curl -s -f -H "X-Hassio-Key: ${HASSIO_TOKEN}" http://hassio/se echo "topic hermes/intent/# out" echo "topic hermes/hotword/toggleOn out" echo "topic hermes/hotword/toggleOff out" + echo "topic hermes/hotword/+/detected out" echo "topic hermes/asr/stopListening out" echo "topic hermes/asr/startListening out" echo "topic hermes/nlu/intentNotParsed out"