Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fwartner/ha-openwakeword-installer

Home Assistant Integration to install openWakeWordΒ΄s from fwartner/home-assistant-wakewords-collection
https://github.com/fwartner/ha-openwakeword-installer

homeassistant homeassistant-integration openwakeword

Last synced: 2 months ago
JSON representation

Home Assistant Integration to install openWakeWordΒ΄s from fwartner/home-assistant-wakewords-collection

Awesome Lists containing this project

README

        

[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg)](https://github.com/hacs/integration)
[![Validate](https://github.com/fwartner/ha-openwakeword-installer/actions/workflows/validate.yml/badge.svg)](https://github.com/fwartner/ha-openwakeword-installer/actions/workflows/validate.yml)
![GitHub all releases](https://img.shields.io/github/downloads/fwartner/ha-openwakeword-installer/total)
![GitHub](https://img.shields.io/github/license/fwartner/ha-openwakeword-installer)
![GitHub issues by-label](https://img.shields.io/github/issues/fwartner/ha-openwakeword-installer/bug?color=red)
![GitHub contributors](https://img.shields.io/github/contributors/fwartner/ha-openwakeword-installer)

# OpenWakeWord Installer Integration for Home Assistant
The **OpenWakeWord Installer** integration for Home Assistant allows you to easily manage and update wake words for your smart home setup. This integration periodically checks a specified GitHub repository for new wake words and updates them automatically.

## Features

- πŸ”„ **Automatic Updates**: Periodically check for and update wake words from a GitHub repository.
- πŸ“ **Customizable Folder Path**: Specify a subfolder within the repository to narrow down the search for wake words.
- πŸ” **Sensor Status**: Monitor the update status with a dedicated sensor.
- πŸ› οΈ **Manual Update Service**: Trigger manual updates through Home Assistant services.

## Installation

### Installation via HACS

1. **Ensure HACS is Installed**

Make sure you have the [Home Assistant Community Store (HACS)](https://hacs.xyz/) installed. If not, follow the instructions on the HACS website to install it.

2. **Add Custom Repository**

- Open HACS in your Home Assistant instance.
- Go to **Integrations**.
- Click on the three dots in the top right corner and select **Custom repositories**.
- Add the following URL to the repository field: `https://github.com/fwartner/ha-openwakeword-installer` and select **Integration** as the category.
- Click **Add**.

3. **Install the Integration**

- Search for **OpenWakeWord** in the HACS Integrations section.
- Click **Install**.

4. **Restart Home Assistant**

Restart Home Assistant to load the new integration.

5. **Configure the Integration**

- Go to **Configuration** -> **Integrations**.
- Click on the "+" button and search for "WakeWord Installer".
- Follow the setup instructions to configure the repository URL and optional folder path.

### Manual Installation

1. **Download the Integration**

Download the `openwakeword` directory and place it in the `custom_components` directory within your Home Assistant configuration directory.

```plaintext
custom_components/
wakeword_installer/
β”œβ”€β”€ __init__.py
β”œβ”€β”€ config_flow.py
β”œβ”€β”€ const.py
β”œβ”€β”€ update.py
β”œβ”€β”€ manifest.json
β”œβ”€β”€ services.yaml
└── translations/
β”œβ”€β”€ en.json
β”œβ”€β”€ de.json
β”œβ”€β”€ it.json
β”œβ”€β”€ es.json
└── nl.json

```

2. **Install Dependencies**

Ensure the required dependencies are installed by running:

```bash
pip install gitpython
```

3. **Restart Home Assistant**

Restart Home Assistant to load the new integration.

4. **Configure the Integration**

- Go to **Configuration** -> **Integrations**.
- Click on the "+" button and search for "WakeWord Installer".
- Follow the setup instructions to configure the repository URL and optional folder path.

## Configuration

### Configuration Options

- **Repository URL**: URL of the GitHub repository containing the wake words.
- **Folder Path**: (Optional) Subfolder within the repository to search for wake words.