Home Assistant UPS Mk II

I decided to have an uninterruptible power supply (UPS) for my Home Assistant (running on a Raspberry Pi). The design I came up with is shown below:

HA UPS Mk2 Block Diagram

The input from the mains is supplied by a 15V AC to DC adapter (wall wart). This is shown as Vcc/Vss on …

Debugging ESP32 S3 in VS Code

Debugging is much better than littering your code with print statements for lots of reasons - which I’m not going to go into here. But setting debugging up is not always straightforward.

To make things easier, I use an esp32 s3 board that had JTAG …

Mouse Trap Mk II

It turned out that the original mouse trap wasn’t sensitive enough. Very small mice just didn’t trigger it. So I decided to improve the design.

The case of the trap is clear, so I thought I could have a beam of light going from one side to the …

Mouse Trap Mk I

So we thought we might have a mouse under the kitchen units…

This isn’t the first time we’ve had mice. And if you don’t think there are any in your house, well maybe it’s because you haven’t noticed them. They are very …

Updating from Jekyll to Hugo

Today I updated the website to use Hugo instead of Jekyll. This has been on my list of things to do for some time. It should be easier than it is - that was the whole reason I used Jekyll in the first place. Anyway, after several attempts at doing this …

Camera Object Detection in Python, Part 1

I have been looking at TensorFlow and following some of the tutorials. I have a camera that looks out over the front garden using a Raspberry Pi 3. It’s has quite a low resolution and frame rate (deliberately so that it doesn’t use a lot of …

Home Assistant REST Devices and Sensors

A while back (before I was using Home Assistant) I built a COB light controller board. The idea was to have lights under the eaves all round the outside of our house (bungalow). They look like this:

COB Lights under Eaves

In this picture there are three lights, but around the …

Home Assistant on the Raspberry Pi

I use Home Assistant (HASS) around the house to switch some of the lights on and off automatically and to monitor the temperature. I plan to use HASS for other automation tasks, maybe controlling things in the garden (e.g. watering plants in the …