Giter VIP home page Giter VIP logo

homeassistantgpt's Introduction

Home Assistant GPT Integration

Overview

Home Assistant GPT is a custom GPT assistant that interfaces with the Home Assistant API, allowing you to control and query various home devices with ease. This integration leverages the power of GPT-4 to provide an intuitive and responsive experience for managing your home automation setup.

Pre-requisites

Features

  • Device Control: Interact with lights and automations.
  • Weather Updates: Get summaries and recommendations based on the weather.
  • Customizable Entity List: Tailor the GPT to your specific Home Assistant setup.

Example in action

Here's an example of the GPT calling an automation to turn on the TV in my house.

TV Time

You can see on the data shared that it determined the correct automation to run, just from the name.

Data sent

Setup Instructions

  1. GPT Initialization:

    • Create a new GPT named 'Home Assistant'.
    • Use the following prompt, updating it with your entity list: Prompt Link
  2. Action Integration:

    • Add Actions using the provided OpenAPI Spec. Ensure to replace the URL with your public address: API Spec Link
  3. Authentication:

    • Add an API Bearer Token for authentication. This token should be a long-lived token generated from your user page in the Home Assistant API.
  4. Finalizing GPT Setup:

    • In your GPT settings, turn off "Use conversation data in your GPT to improve our models" for privacy.
    • Test the setup in the preview.
  5. Publication:

    • When ready, publish the GPT. It's recommended to set it as Private for security.

Entity Interaction

  • Lights: Control and set colors of light entities (e.g., light.office_lights).
  • Automations: Trigger automations for various home activities (e.g., automation.boost_main_heating).
  • Weather: Provide weather summaries and recommendations (e.g., weather.met_office_brighton_racecourse_3_hourly).

Future Enhancements

  • Voice Control: Integration with OpenAI's Whisper model for voice commands.
  • Expansion of Supported Devices: Increasing the variety of controllable entities.
  • User Experience Improvements: Continual refinements for smoother interactions.

Contributing

Contributions are welcome! This project is in its early stages and open to ideas, improvements, and creative enhancements.

Disclaimer

This integration is not officially affiliated with OpenAI or Home Assistant.


β€œHey HomeAssistant, can you please lock up and let me know if the windows are all closed?” Just the beginning of what's possible with Home Assistant GPT.

homeassistantgpt's People

Contributors

bobbyhirst avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.