home-assistant-mcp-agent
This project integrates Home Assistant's MCP server with LiveKit agents, enabling voice control of smart home devices. It allows real-time audio/video communication with AI assistants and access to Home Assistant entities and services. The setup is relatively straightforward, but a Python environment is required.
GitHub Stars
12
User Rating
Not Rated
Forks
3
Issues
0
Views
1
Favorites
0
README
LiveKit Agent integrated with Home Assistant MCP Server
This project integrates LiveKit Agents with Home Assistant's Model Context Protocol (MCP) Server, allowing voice control of your smart home through LiveKit agents.
Overview
This integration enables:
- Voice control of Home Assistant devices through LiveKit Agents
- Real-time audio/video communication with AI assistants
- Access to Home Assistant entities and services via MCP
Prerequisites
- Home Assistant with MCP Server integration enabled
- LiveKit and OpenAI settings
- Python environment for running the agent
Setup
- Configure Home Assistant MCP Server following the official documentation
- Set up your LiveKit agent using the LiveKit Agents framework
- Configure the agent with your Home Assistant URL and access token
Configuration
# Example configuration
LIVEKIT_URL = "wss://your-livekit-server.com"
LIVEKIT_API_KEY = "your-api-key"
LIVEKIT_API_SECRET = "your-api-secret"
OPENAI_API_KEY
HOME_ASSISTANT_URL = "http://your-homeassistant:8123/mcp_server/sse"
HOME_ASSISTANT_TOKEN = "your-long-lived-access-token"
Author Information
Threads