Skip to content

Fahmula/intent_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Home Assistant Intent Scripts

Maintenance

This repository contains a collection of intent scripts designed to enhance the conversational abilities of your Home Assistant's voice assistant. These scripts allow for more natural and intuitive interactions with your smart home.

I'm currently using Qwen2.5:7B (via Ollama) to power these intent scripts! This model provides excellent language understanding and response generation, making your voice interactions even more seamless.

Getting Started

These are the steps required to get the intent scripts working.

Prerequisites

  • Home Assistant: Ensure you have a working installation of Home Assistant.
  • Ollama: Install and run Ollama. You can find instructions on the Ollama website.
  • Ollama Integration: Install and configure the Ollama integration in Home Assistant. This allows Home Assistant to communicate with the running Ollama instance. See the Ollama integration documentation for instructions.
  • Qwen2.5:7B Model: Pull the Qwen2.5:7B model using the following command in your terminal after installing Ollama:
    ollama pull qwen2.5:7b
  • Music Assistant Integration (Optional): The play_music script requires the Music Assistant integration. Install and configure it if you intend to use this specific script.

Installation

  1. Enable Intent Scripts:

    Add the following line to your configuration.yaml file to enable intent script processing:

    intent_script: !include intent_script.yaml
  2. Create intent_script.yaml:

    Create a file named intent_script.yaml in your Home Assistant configuration directory (usually ~/.homeassistant or where your configuration.yaml resides). This file will house your intent script definitions.

  3. Add Supporting Scripts:

    The scripts folder contains additional helper scripts that are required for certain intents. Add these scripts to your Home Assistant instance through the Automations & Scenes section (under Settings).

    Important: These helper scripts may need to be adjusted to match your specific entity names and device configurations. Review the scripts carefully before using them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published