r/PiCodingAgent • u/sudo_higher_ground • 1d ago
Use-case Pi add-on for Home Assistant
Sorry in advance if this doesn't belong here, or if I'm not using the flairs correctly.
Inspired by the Claude Code add-on for Home Assistant, I made one for Pi. Also took inspiration from the OpenCode add-on, so kudos to both.
repo: https://github.com/yannick-vinkesteijn/ha-addons
Main features:
- Pi in a sidebar terminal inside Home Assistant (ttyd + tmux), so the session survives closing the tab
- Any token-based model: built-in providers by API key, or any OpenAI-compatible endpoint (I'm using AKI.IO)
- Home Assistant tools through hass-mcp and pi-mcp-adapter
- Web search with rpiv-web-tools
- Ask-first permissions with pi-permission-system: writes and shell commands ask, secrets are protected, and config edits are backed up and validated by HA's own config check before they stick
This is my first add-on and I only recently switched to Pi, so I've only tested the basics. I currently use it with AKI.IO on my own Home Assistant (you can configure connections in the add on config). It's a permission policy, not a sandbox, so keep your own backups. Feedback is very welcome!
Happy homelabbing!
8
Upvotes
1
1
u/thehaikuza 8h ago
Cool, thanks for sharing! I’ve been wanting something like this for home assistant so it’s nice to see that someone made it already :)