mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-19 06:04:21 +01:00
Update documentation & Dockerfile source locations (#889)
* ada: Fix documentation link * ada: Adjust source links in Dockerfile * ada: Update add-on documentation to match current state * ada: Bump add-on version to 0.9 * ada: Adjust URL to point to repository * ada: Format YAML with Prettier * ada: Short build.json
This commit is contained in:
committed by
Pascal Vizeli
parent
1235a7749a
commit
69f9872ae7
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.9
|
||||||
|
|
||||||
|
- Corrected link to documentation inside the add-on
|
||||||
|
- Adjust source links in Dockerfile
|
||||||
|
- Update add-on documentation to match current state
|
||||||
|
|
||||||
## 0.8
|
## 0.8
|
||||||
|
|
||||||
- Fix API url for access to Home Assistant
|
- Fix API url for access to Home Assistant
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
# Install Dude
|
# Install Ada
|
||||||
WORKDIR /usr/src/ada
|
WORKDIR /usr/src/ada
|
||||||
ARG ADA_VERSION
|
ARG ADA_VERSION
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
portaudio19-dev \
|
portaudio19-dev \
|
||||||
libsndfile1 \
|
libsndfile1 \
|
||||||
mplayer \
|
mplayer \
|
||||||
@@ -16,12 +17,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
git \
|
git \
|
||||||
build-essential \
|
build-essential \
|
||||||
\
|
\
|
||||||
&& git clone --depth 1 -b ${ADA_VERSION} https://github.com/home-assistant/dude . \
|
&& git clone --depth 1 -b ${ADA_VERSION} \
|
||||||
|
"https://github.com/home-assistant/ada" . \
|
||||||
&& rm -rf .git \
|
&& rm -rf .git \
|
||||||
&& pip3 install --no-cache-dir -U setuptools wheel \
|
&& pip3 install --no-cache-dir -U setuptools wheel \
|
||||||
&& pip3 install --no-cache-dir -r requirements.txt \
|
&& pip3 install --no-cache-dir -r requirements.txt \
|
||||||
&& pip3 install --no-cache-dir -e . \
|
&& pip3 install --no-cache-dir -e . \
|
||||||
&& python3 -m compileall dude \
|
&& python3 -m compileall ada \
|
||||||
\
|
\
|
||||||
&& apt-get purge -y --auto-remove \
|
&& apt-get purge -y --auto-remove \
|
||||||
git \
|
git \
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Home Assistant featured voice assist.
|
|||||||
|
|
||||||
## Installation
|
## 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**.
|
1. Navigate in your Home Assistant frontend to **Hass.io** -> **Add-on Store**.
|
||||||
2. Find the "Hey Ada!" add-on and click it.
|
2. Find the "Hey Ada!" add-on and click it.
|
||||||
@@ -18,7 +18,9 @@ The installation of this add-on is straightforward and easy to do.
|
|||||||
|
|
||||||
The basic thing to get the add-on running would be:
|
The basic thing to get the add-on running would be:
|
||||||
|
|
||||||
1. Start the add-on.
|
1. Select input and output audio device to use in the "Audio" configuration
|
||||||
|
section of the add-on configuration.
|
||||||
|
2. Start the add-on.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
@@ -26,9 +28,27 @@ Example add-on configuration:
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"stt": "cloud",
|
||||||
|
"tts": "cloud"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Option: `stt` (required)
|
||||||
|
|
||||||
|
The Home Assistant STT (Speech-to-Text) integration to use when converting
|
||||||
|
detected audio to text for Almond to process.
|
||||||
|
|
||||||
|
Please note, this STT integration has to be configured and active in
|
||||||
|
Home Assistant before using it with this add-on!
|
||||||
|
|
||||||
|
### Option: `tts` (required)
|
||||||
|
|
||||||
|
The Home Assistant TTS (Text-to-Speech) integration to use when converting
|
||||||
|
the response from Almond back to audio.
|
||||||
|
|
||||||
|
Please note, this TTS integration has to be configured and active in
|
||||||
|
Home Assistant before using it with this add-on!
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
Got questions?
|
Got questions?
|
||||||
|
|||||||
@@ -11,12 +11,11 @@ pr: none
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
- name: versionBuilder
|
- name: versionBuilder
|
||||||
value: '2.0'
|
value: "2.0"
|
||||||
- group: docker
|
- group: docker
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- template: /.azure/azp-template-addon.yml
|
- template: /.azure/azp-template-addon.yml
|
||||||
parameters:
|
parameters:
|
||||||
addon: 'ada'
|
addon: "ada"
|
||||||
arch: '--amd64 --armv7 --armhf'
|
arch: "--amd64 --armv7 --armhf"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"build_from": {
|
"build_from": {
|
||||||
"amd64": "homeassistant/amd64-base-debian:buster",
|
"amd64": "homeassistant/amd64-base-debian:buster",
|
||||||
"armv7": "homeassistant/armv7-base-debian:buster",
|
"armhf": "homeassistant/armhf-base-debian:buster",
|
||||||
"armhf": "homeassistant/armhf-base-debian:buster"
|
"armv7": "homeassistant/armv7-base-debian:buster"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
"ADA_VERSION": "0.7"
|
"ADA_VERSION": "0.7"
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "Hey Ada!",
|
"name": "Hey Ada!",
|
||||||
"version": "0.8",
|
"version": "0.9",
|
||||||
"slug": "ada",
|
"slug": "ada",
|
||||||
"description": "Home Assistant featured voice assist",
|
"description": "Home Assistant featured voice assist",
|
||||||
"url": "https://home-assistant.io/addons/ada/",
|
"url": "https://github.com/home-assistant/hassio-addons/blob/master/ada",
|
||||||
"arch": ["armhf", "armv7", "amd64"],
|
"arch": ["armhf", "armv7", "amd64"],
|
||||||
"startup": "application",
|
"startup": "application",
|
||||||
"boot": "auto",
|
"boot": "auto",
|
||||||
|
|||||||
Reference in New Issue
Block a user