The problem
How it works
Home Assistant is local-first home automation software. Its Ollama integration adds a conversation agent backed by a model on your own Ollama server; you set the server URL, model, instructions and context size. Enabling the experimental device-control tools lets the model act only on entities you have exposed to voice assistants.
Results and limitations
The docs present this as a way to talk to your home through a locally hosted model, while marking device control as experimental.
Before you try it
Only tool-capable models can control devices, smaller models make more mistakes, and the docs suggest exposing fewer than 25 entities while experimenting. Larger context windows use more server RAM. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Tools and repositories
- Tools
- Home Assistant · Ollama
- Prerequisites
- A running Home Assistant instance and a network-reachable Ollama server with a tool-capable model.
Try it yourself: Set up a local home assistant agent
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Help me connect Home Assistant to my Ollama server at [Ollama server URL] using [Model] as a conversation agent. Confirm the model supports tools before enabling device control. Propose a short list of entities to expose, at most [Entity limit], drawn from [Rooms], and leave locks, alarms and garage doors unexposed unless I explicitly add them. Draft the agent instructions in plain language, including that it must confirm before turning off heating or opening anything. Show me every setting before I apply it, then suggest five test phrases and what the correct result of each should be.Keep security-critical devices out of the exposed list until you trust how the model behaves.
Related videos
About ollama/ollama
Learn Ollama in 15 Minutes - Run LLM Models Locally for FREE (opens in a new tab)
The description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- home-assistant/core README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 9 Nov 2026, 22:23 UTC
What this source supports
- Open source home automation focused on local control and privacy
- Runs on modest hardware such as a Raspberry Pi
- Ollama integration (opens in a new tab)
Project documentation · home-assistant.io · Undated · Source checked 9 Nov 2026, 22:24 UTC
What this source supports
- Adds a conversation agent backed by a local Ollama server
- Experimental device control limited to entities exposed to voice assistants
- Only tool-capable models can control Home Assistant
- Suggests exposing fewer than 25 entities while experimenting
