π
Home Assistant Helper
A little app that runs in the task bar and helps you play wit HA via the ha-mcp server
0 installs
Trust: 34 β Low
Productivity
Ask AI about Home Assistant Helper
Powered by Claude Β· Grounded in docs
I know everything about Home Assistant Helper. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
π Home Assistant Helper
A cross-platform desktop assistant that connects GitHub Copilot to your Home Assistant instance, letting you manage your smart home through natural language conversation.
Built with Avalonia UI for Windows, macOS, and Linux.
Features
- AI-powered chat β Ask Copilot to query devices, trigger automations, or generate YAML configs
- Home Assistant integration β Connects via MCP (Model Context Protocol) server tools
- System tray β Lives in your tray with a quick-access flyout and full chat window
- Session management β Multiple chat sessions with persistent history
- Markdown rendering β Rich formatting for code blocks, YAML, and more
- Settings β Configure your MCP server URL and preferred Copilot model
Prerequisites
- .NET 10 SDK
- GitHub Copilot subscription
- A Home Assistant instance with an MCP server (e.g. HA-MCP)
Getting Started
# Clone the repo
git clone https://github.com/<your-username>/home-assistant-helper.git
cd home-assistant-helper
# Build and run
dotnet run --project HomeAssistantHelper
On first launch the app starts in the system tray. Click the tray icon to open the flyout, or right-click for the full menu.
Configuration
Right-click the tray icon β Settings to configure:
| Setting | Description |
|---|---|
| MCP Server URL | Your Home Assistant MCP endpoint (e.g. http://ha-mcp.local:8123) |
| Copilot Model | AI model to use (e.g. gpt-4.1, claude-sonnet-4.5) |
Architecture
HomeAssistantHelper/
βββ Models/ # Data models (ChatSession, ChatMessage, AppSettings)
βββ Data/ # EF Core DbContext (SQLite)
βββ Services/ # Business logic
β βββ CopilotService.cs # GitHub Copilot SDK wrapper
β βββ SessionRepository.cs # Chat session persistence
β βββ SettingsService.cs # Settings persistence
βββ ViewModels/ # MVVM ViewModels (CommunityToolkit.Mvvm)
β βββ ChatViewModel.cs # Chat + session management
β βββ SettingsViewModel.cs # Settings dialog
βββ Views/ # Avalonia AXAML views
β βββ ChatPanel.axaml # Reusable chat UI control
β βββ MainChatWindow.axaml # Full chat window
β βββ FlyoutWindow.axaml # Tray popup window
β βββ SettingsWindow.axaml # Settings dialog
βββ Converters/ # AXAML value converters
βββ App.axaml # Application entry + tray icon
βββ Program.cs # Avalonia bootstrap
Tech Stack
| Component | Library |
|---|---|
| UI Framework | Avalonia UI 11.3 |
| MVVM | CommunityToolkit.Mvvm |
| AI | GitHub Copilot SDK |
| Markdown | Markdown.Avalonia |
| Database | EF Core + SQLite |
| DI | Microsoft.Extensions.DependencyInjection |
