ScorchChamp / ChatGPT-HomeAssistant-Actions

Tutorial on how to set up a GPT with Home Assistant Integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPT & Home Assistant Integration

πŸš€ Set Up Your GPT with Home Assistant Integration! πŸ€–

Short step-by-step

  1. πŸ› οΈ Create a GPT in ChatGPT
  2. βš™οΈ Go to configure -> Create new action
  3. πŸ“ Copy the Home Assistant openAPI schema into the schema field.
    1. Replace 'YOUR BASE URL HERE' with your home assistant base url (without /api/)
  4. πŸ”‘ Add your Long-Lived Access Token as Bearer API Key to Authentication

Visual step-by-step

1. πŸ› οΈ Create a GPT in ChatGPT

Step 1 - Create a GPT

2. ✨ Give it Some Personality

Step 2 - Personality

3. βš™οΈ Configure New Action

Step 3 - Configure

4. πŸ“ Copy OpenAPI Schema

Step 4 - OpenAPI Schema

Copy the OpenAPI schema from this Gist.

πŸ”§ Remember to replace your Home Assistant base URL in servers.url (without /api/).

5. πŸ”‘ Add Your API Key

Step 5 - API Key

πŸ—οΈ Retrieving Your API Key

Navigate to Your Home Assistant Profile.

At the bottom, click 'Create Token'.

API Key Retrieval

About

Tutorial on how to set up a GPT with Home Assistant Integration