home-assistant-mcp-agent
このプロジェクトは、Home AssistantのMCPサーバーとLiveKitエージェントを統合し、スマートホームデバイスの音声制御を可能にします。リアルタイムの音声/ビデオ通信を通じてAIアシスタントと連携し、Home Assistantのエンティティやサービスにアクセスできます。設定は比較的簡単ですが、Python環境が必要です。
GitHubスター
12
ユーザー評価
未評価
フォーク
3
イシュー
0
閲覧数
2
お気に入り
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"
スレッド