Social card reading 'Enviro Urban: custom firmware that supports ultra low power mode' beside a terminal panel showing an MQTT state message, a drain of 107 and 33 mAh per day at 5 and 15 minute wakes, and about 57 days on a full charge

Pimoroni Enviro Urban Battery Drain: A Low-Power MicroPython Firmware Fix

The Pimoroni Enviro Urban is a lovely little air quality board with a reputation for flattening its batteries. It’s designed to sleep at a few microamps and wake on a timer, which should mean months on a set of AAs. Pimoroni’s issue tracker has years of reports of boards that stop waking and drain their batteries instead. The cause is in the firmware, not the board, and Pimoroni’s repo hasn’t had a commit to main since April 2024. ...

November 22, 2026 · 14 min · Tom Cocking
Social card reading 'Typing was too hard. Now it's three keys and a dial.' beside a photo of a 3-key macropad with a knob, its keys printed with microphone, slash and Enter symbols, and an on-screen pill showing voiceloop talking

Claude Code Voice Control on Windows: Dictate Prompts and Hear Replies Aloud

I run Claude Code on a dev VM and drive it from T3 Code on whatever I’m sat at. The dumb terminal post covers that setup. It works well until you have a few threads going, look away, and miss the one that’s been sitting on a question. So I wanted voice control in both directions: say the prompt, hear the reply. The catch is that Claude Code runs on a headless server, and the microphone and speakers are on my Windows PC. Claude Code’s own /voice needs a local microphone and only covers the talking-to-it half. I built the other half. voiceloop is a free, open-source Windows app that reads Claude Code’s replies aloud on your PC, wherever Claude Code is running. It lives at voiceloop.dev, with the code on GitHub. ...

November 10, 2026 · 13 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
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 · 16 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

Passing Through an NVMe Drive to an ESXi Virtual Machine

Note: Broadcom completed its acquisition of VMware in November 2023 and discontinued the free ESXi hypervisor tier. The steps in this article remain technically valid for licensed VMware vSphere. If you’re running a home lab, Proxmox VE is a capable free alternative worth considering. ESXi is a powerful hypervisor that allows for the virtualization of multiple operating systems on a single physical machine. However, there are times when you may need to pass through a physical device, such as an NVMe drive, to a virtual machine. In this blog post, we will explore the steps required to pass through an NVMe drive to an ESXi virtual machine. ...

May 4, 2023 · 3 min · Tom Cocking

Adding Bluetooth to a VW RCD 300

I own a basic VW Caddy MK3 (2009) which was equipped with a RCD 300 head unit. It did not come with the aux function/connectivity and this post explains how I added Bluetooth connectivity. This was a very simple installation with no requirement for VCDS coding; the Bluetooth adapter replicates a CD changer. When I wrote this post in 2021 the adapter cost about £35 on Amazon UK. On 26 October 2026 it was in stock at £45.90: Handsfree Bluetooth Audio 12pin for VW on Amazon UK. It’s an affiliate link, so I earn a small commission if you buy through it. The price to you is the same. ...

June 18, 2021 · 3 min · Tom Cocking

RTX 3060 NiceHash Overclocking and the 470.05 Hash Rate Unlock (2021 Archive)

Note: NVIDIA has since patched the RTX 3060 hash rate limiter across multiple driver versions. The developer driver 470.05 used in this article is no longer available from NVIDIA. Crypto mining on consumer GPUs is generally no longer economically viable. If you still have the card, it is far more useful today running local LLMs. See running Ollama in a Proxmox LXC with NVIDIA GPU passthrough. ...

April 7, 2021 · 4 min · Tom Cocking

Unraid USB Controller Passthrough - VM hot swap USB

For the longest time, I have been running VMs on my Unraid server and had the need to passthrough USB devices. I will be the first to admit that I have too many computers and a shrink might classify it as an addition. Coupled with my quest for a clutter-free desk, I have been faced with the issue of swapping USB devices like a keyboard and mouse, from one machine to another Unraid virtual machine (vm). ...

March 3, 2021 · 3 min · Tom Cocking

[FIXED] Bose Bluetooth headphones with Windows 10

I recently moved to a new Windows 10 laptop and experience a number of problems with my Bose SoundLink II, Bluetooth headphones. Fortunately, after some playing around with drivers I was able to solve my problem and this post explains how… The Problem Poor sound quality – with the default drivers, the sound quality was poor and there was a considerable amount of audible noise being delivered to the headphones via the Bluetooth interface. The audio was very lo-fi and the frequency range was dramatically reduced. This resulted in a very thin, tinny sound. ...

August 30, 2020 · 2 min · Tom Cocking