No project description provided
Project description
Rhasspy Home Assistant Hermes
Handles intents using Home Assistant and Hass.io
Running With Docker
docker run -it rhasspy/rhasspy-homeassistant-hermes:<VERSION> <ARGS>
Building From Source
Clone the repository and create the virtual environment:
git clone https://github.com/rhasspy/rhasspy-homeassistant-hermes.git
cd rhasspy-homeassistant-hermes
make venv
Run the bin/rhasspy-homeassistant-hermes
script to access the command-line interface:
bin/rhasspy-homeassistant-hermes --help
Building the Debian Package
Follow the instructions to build from source, then run:
source .venv/bin/activate
make debian
If successful, you'll find a .deb
file in the dist
directory that can be installed with apt
.
Building the Docker Image
Follow the instructions to build from source, then run:
source .venv/bin/activate
make docker
This will create a Docker image tagged rhasspy/rhasspy-homeassistant-hermes:<VERSION>
where VERSION
comes from the file of the same name in the source root directory.
NOTE: If you add things to the Docker image, make sure to whitelist them in .dockerignore
.
Command-Line Options
usage: rhasspy-homeassistant-hermes [-h] --url URL
[--access-token ACCESS_TOKEN]
[--api-password API_PASSWORD]
[--handle-type {event,intent}]
[--event-type-format EVENT_TYPE_FORMAT]
[--pem-file PEM_FILE] [--host HOST]
[--port PORT] [--siteId SITEID] [--debug]
optional arguments:
-h, --help show this help message and exit
--url URL URL of Home Assistant server
--access-token ACCESS_TOKEN
Long-lived access token (Authorization)
--api-password API_PASSWORD
API password (X-HA-Access, deprecated)
--handle-type {event,intent}
Use Home Assistant events or intent API
--event-type-format EVENT_TYPE_FORMAT
Format string for event types
--pem-file PEM_FILE Path to PEM file for self-signed certificates
--host HOST MQTT host (default: localhost)
--port PORT MQTT port (default: 1883)
--siteId SITEID Hermes siteId(s) to listen for (default: all)
--debug Print DEBUG messages to the console
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for rhasspy-homeassistant-hermes-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 668bf928502247a33be8ec1dd00a7534151e351d8a693d4b40651640c0aecc03 |
|
MD5 | 94360913dc23a6e0ef144fac9775bb34 |
|
BLAKE2b-256 | 8e51424ec432fddf78d50cba65c5779577aad2236c7e5fb21af883706f95eb85 |