Home Assistant Assist dialog on the Local LLM assistant: the user says it's too dark in the living room and the reply says it turned on the Living Room RGBWW Lights

Home Assistant Conversation Agent with a Local Ollama Model: Which Model Works

Home Assistant’s own Assist can already turn a light on. It matches your sentence against a list of templates and runs the one that fits. Say something it has no template for and you get “Sorry, I couldn’t understand that”. Point Assist at an LLM and that stops being true. “It’s too dark in the living room” works. The catch is that the model has to call Home Assistant’s tools correctly, and plenty of local models can’t. I ran three models against the same 18 commands to see which ones can. ...

November 3, 2026 · 9 min · Tom Cocking
Rendered 3D model of a U-shaped wall bracket with two countersunk screw holes, next to the title Parametric sensor mount

Parametric Sensor Mount in OpenSCAD with Claude Code: A Home Assistant 3D Print

Small Zigbee and Bluetooth sensors tend to ship with a sticky pad and nothing else. The pad fails the first time you move house or the wall is cold and damp, and the sensor ends up behind the radiator. A printed bracket fixes that, but I’d rather not spend an evening in CAD for a plastic box. OpenSCAD is the opposite of CAD. The model is a text file, so Claude Code can write it, render it and check it in a loop. This post has the file I ended up with, the checks I ran, and the one that caught a mistake the obvious check missed. ...

October 27, 2026 · 6 min · Tom Cocking
Home Assistant Assist dialog showing the command 'turn on the kitchen lamp' and the reply 'Turned on the switch', next to the title Home Assistant voice, fully local

Home Assistant Local Voice Assistant with Whisper and Piper in Docker

A Home Assistant voice assistant needs three parts. Something to turn speech into text, something to turn a reply back into speech, and Assist in the middle to work out what you meant. The first two can run on plain CPU in Docker, so nothing you say has to leave the house. I built the whole stack from scratch on 11 October 2026 on Home Assistant 2026.10.1, ran text and spoken commands through it, and timed the result. This post has the compose file, the settings, the numbers and the two things that tripped me up. ...

October 20, 2026 · 6 min · Tom Cocking
Black 10.1 inch Android photo frame showing a stock photo of a man holding a child, beside the title Photo frame to Home Assistant dashboard

Turn a £50 Android Photo Frame Into a Home Assistant Dashboard: Root From Windows, Then Fully Kiosk

Wes Bos put out a video about rooting a $50 Amazon photo frame and running a family dashboard on it. The frames are Android tablets with a vendor app bolted on, and his photo-frame-dashboard repo is written so you can point a coding agent at it and let it do the fiddly bits. I wanted the same thing for Home Assistant, so I ordered the UK listing of the frame he linked and spent a day on it with Claude Code. ...

October 13, 2026 · 15 min · Tom Cocking
Six Home Assistant cards showing a sleeping bag icon with its tog rating, the clothes to wear under it, and a coloured status line for room temperatures from 13.5°C to 25°C

How to Build a Baby Sleep Tog Widget in Home Assistant with button-card

With a baby in the house, the question at bedtime is always the same: which sleeping bag, and what goes under it? The usual answer is a room thermometer and a tog chart, which means reading one, then looking up the other, often in the dark. Home Assistant already had a temperature sensor in every room, so I got it to do the lookup. The result is one card per room. It shows the temperature, a sleeping bag in the band’s colour with its tog on it, the clothes to put underneath, and a status line saying whether the room is in the safe range. It’s a single button-card template, so the temperature bands are defined once and every room uses them. ...

September 27, 2026 · 11 min · Tom Cocking
SwitchBot temperature and humidity sensor displayed on a Home Assistant dashboard using mini-graph-card

Visualising Temperature and Humidity in Home Assistant with Mini Graph Card

Home Assistant’s built-in history graph and gauge cards get the job done, but they’re fairly plain. Mini Graph Card by kalkih is one of those HACS cards that immediately makes your dashboard look like something you’d actually want to show people - dynamic colour thresholds, dual Y-axes, configurable aggregation, and a clean minimal design. In this post I’ll walk through installing it via HACS, then build up a card that shows SwitchBot temperature and humidity data with colour-coded thresholds and both sensors on the same tile. If you’ve not yet got your SwitchBot sensors talking to Home Assistant, start with my earlier post on ESPHome Bluetooth proxies - that covers the sensor setup end to end. ...

May 7, 2026 · 6 min · Tom Cocking
Setting Up a SwitchBot BLE Thermo-Hygrometer in Home Assistant with ESPHome bluetooth_proxy

Home Assistant With ESPhome Bluetooth Proxies

In this blog post, I’ll walk you through how I set up a SwitchBot BLE (Bluetooth Low Energy) Indoor/Outdoor Thermo-Hygrometer in Home Assistant (HA) using an ESP32 running ESPHome as a Bluetooth proxy. If you’re working with Home Assistant in a containerized environment (as I am), you might face challenges with Bluetooth connectivity, in particular, passing through a bluetooth adapter. This approach solves that elegantly and opens the door to other Bluetooth-based projects by providing extended bluetooth connectivity over a WiFi backbone. ...

January 8, 2025 · 5 min · Tom Cocking
A simple no neutral wiring diagram guide for the Sonoff ZBMINIL2 and how to retain the standard switch

Sonoff ZBMINIL2 Wiring Guide: No Neutral, Keep the Existing Wall Switch

Updated October 2026: added the direct answer, a terminal table, the neutral question, switch types and pairing, a troubleshooting section and the agent handoff block. The video and the original diagram are unchanged. The Sonoff ZBMINIL2 (Amazon) is a Zigbee relay that fits behind a UK light switch and needs no neutral at the switch. Wire it in series with the switched live and connect the existing rocker switch to S1 and S2, and the light works from the wall switch, from Home Assistant, or both. The whole job is four terminals, and the only trap is that the blue wire in the switch drop is a live, not a neutral. ...

September 26, 2024 · 6 min · Tom Cocking
Feeding My Cat With Home Assistant

Feeding My Cat With Home Assistant

Let’s face it, cats are demanding creatures. They expect their food to be served on time, and they’re not afraid to let you know when it’s late. But what if you trigger the feeding action to our Home Assistant dashboard? In this post, we’ll explore how to use Home Assistant to control a Tuya-compatible cat feeder, ensuring your feline friend never goes hungry. Get ready to unleash the power of automation and give your cat the royal treatment they deserve! ...

July 3, 2024 · 4 min · Tom Cocking
How to write Python scripts using llama3-8b and LM Studio

Using an Amazon FireHD8 as a Home Assistant Dashboard Control Panel

I have covered Home Assistant (HA) content a number of times in previous posts, and am I a strong advocate for this project. The home automation scene is a wash with consumer offerings, but no single silicone valley big hitter has managed to provide a fully interoperable solution; most certainly not an affordable one. Ultimately, everyone has there own idea of how home automation should work. Home Assistant doesn’t solve the problem of standards dilution, but it offers an extremely robust way to tie the wide variety of standards and products together. ...

June 11, 2024 · 9 min · Tom Cocking