diff --git a/snips/Dockerfile b/snips/Dockerfile index 7e5f31b..588f980 100644 --- a/snips/Dockerfile +++ b/snips/Dockerfile @@ -2,10 +2,10 @@ ARG BUILD_FROM FROM $BUILD_FROM # Copy data -COPY run.sh / -COPY mosquitto.conf /etc/ -COPY customtts.sh /usr/bin -COPY snips-entrypoint.sh / +COPY data/run.sh / +COPY data/mosquitto.conf /etc/ +COPY data/customtts.sh /usr/bin +COPY data/snips-entrypoint.sh / ARG BUILD_ARCH diff --git a/snips/README.md b/snips/README.md index edb8002..7dcd18c 100644 --- a/snips/README.md +++ b/snips/README.md @@ -3,6 +3,7 @@ Support for Snips.ai voice assistant. ![Supports aarch64 Architecture][aarch64-shield] ![Supports amd64 Architecture][amd64-shield] ![Supports armhf Architecture][armhf-shield] ![Supports armv7 Architecture][armv7-shield] ![Supports i386 Architecture][i386-shield] + ## About Snips.ai is an AI-powered voice assistant that runs on the Raspberry Pi 3 and x86 platforms. @@ -10,7 +11,7 @@ In contrast to Google Assistant or Amazon Alexa, it runs on-device and is privat ## Installation -The installation of this add-on is straightforward and easy to do. +Follow these steps to get the add-on installed on your system: 1. Navigate in your Home Assistant frontend to **Hass.io** -> **Add-on Store**. 2. Find the "Snips.AI" add-on and click it. @@ -62,7 +63,7 @@ This is used to select the default custom assistant. Currently, `en`, `de` and ` ### Option group `custom_tts` Specifies whether a custom tts should be used. And if so, -which custom tts. +which custom tts. #### Option `custom_tts.active` diff --git a/snips/azure-pipelines.yml b/snips/azure-pipelines.yml index f7cd45e..d66001d 100644 --- a/snips/azure-pipelines.yml +++ b/snips/azure-pipelines.yml @@ -3,20 +3,19 @@ trigger: branches: include: - - master + - master paths: include: - - snips/* + - snips/* pr: none variables: - name: versionBuilder - value: '2.0' + value: "2.0" - group: docker - jobs: -- template: /.azure/azp-template-addon.yml - parameters: - addon: 'snips' - arch: '--armhf --amd64' + - template: /.azure/azp-template-addon.yml + parameters: + addon: "snips" + arch: "--armhf --amd64" diff --git a/snips/config.json b/snips/config.json index 368f7a3..dbc9b2c 100644 --- a/snips/config.json +++ b/snips/config.json @@ -3,7 +3,7 @@ "version": "6.1", "slug": "snips", "description": "Local voice control platform", - "url": "https://home-assistant.io/addons/snips/", + "url": "https://github.com/home-assistant/hassio-addons/tree/master/snips", "arch": ["armhf", "amd64"], "startup": "application", "boot": "auto", diff --git a/snips/customtts.sh b/snips/data/customtts.sh similarity index 100% rename from snips/customtts.sh rename to snips/data/customtts.sh diff --git a/snips/mosquitto.conf b/snips/data/mosquitto.conf similarity index 100% rename from snips/mosquitto.conf rename to snips/data/mosquitto.conf diff --git a/snips/run.sh b/snips/data/run.sh similarity index 100% rename from snips/run.sh rename to snips/data/run.sh diff --git a/snips/snips-entrypoint.sh b/snips/data/snips-entrypoint.sh similarity index 100% rename from snips/snips-entrypoint.sh rename to snips/data/snips-entrypoint.sh