RSSAmplifier

Blog

James Ridgway

James Ridgway - Software Engineer

jamesridgway.co.ukRSS feed ↗15 posts

Latest posts

The Things IoT Conference 2024 Roundup

This year, I was fortunate enough to attend The Things Conference in Amsterdam – a conference dedicated to the development and application of the Internet of Things (IoT) and LoRaWAN technology. The conference follows a two-day, single-track format of keynotes, workshops, podcast recordings and round table discussions. The

Frequency Analysis at Scale with Count-Min Sketch

Using precise methods for counting the frequency of events in a data stream becomes infeasible with large volumes. Precise counting methods at scale often require a significant amount of memory to maintain exact counts over a large data set. In contrast, Count-Min Sketch (CMS) offers a probabilistic solution that

Controlling Zigbee Lights with a Shelly Detached Switch

Throughout the house, nearly every single light is controlled by a Shelly . Last year, we installed a UniFi G4 Video Doorbell , and whilst we were having this fitted, it made sense to replace some of the outside light fittings and install some Shelly Duo GU10 RGBW bulbs. Out of the

Scaling Large Applications with Bloom Filters

Querying large datasets can often be challenging, especially when performance is a key concern. Achieving performance at scale often comes with an element of trade-off in how a system is designed to achieve the desired functionality and performance at scale. A bloom filter is one example of a probabilistic

Using Helpers to Abstract Complex Logic in Home Assistant

I have a handful of helpers in my Home Assistant setup that track the basic state of a few things. For example, we have a simple "guest mode" boolean that will turn on or off certain automatons when we have guests, and for my bin reminder automation , I

UniFi Doorbell Chime Sounds with Amazon Alexa and Home Assistant

When I first got my UniFi G4 Doorbell , I originally set up Home Assistant to announce, "There is someone at the door," using Amazon Alexa. More recently, I have transitioned to playing a chime sound on Alexa when someone rings the doorbell. In this blog post, I outline

Mastering Alert Fatigue: Avoiding the Monitoring and Alerting Pitfalls

Putting in place a successful monitoring solution goes far beyond just picking an appropriate tool (such as Icinga, Nagios, Zabbix, etc). The success and effectiveness of monitoring systems rely on how the tools are used and the culture and behaviour of the team that is responsible for monitoring a given

Implementing a Bin Day Reminder Automation

We have a wall-mounted dashboard for Home Assistant in our Kitchen , which displays what bin day it is via a coloured Mushroom UI icon . Where we live, like most other places in the UK, there are different coloured bins for different types of waste, and each week the rubbish

Adding Working Location to my Home Automations

I have several home automations that run based on the day of the week. For example, there is no point opening the curtains or turning on the heating in my home office if I'm not going to be in there. As a result, most of these day-specific

Restoring a ZFS Pool with a Faulted Device

Losing data sucks. If you've ever accidentally deleted something or had a hard disk fail, you'll know what I mean. This week, one of the disks in my HP Microserver failed. Fortunately, I haven't lost any data because I run the disk cluster in

Smart CCTV Alerts using Object Detection with Frigate NVR and Coral AI

In the winter months, I get spammed with false CCTV motion alerts. With the winter months being darker, headlights from passing traffic often cast shadows and silhouettes that cause the motion zones to trigger when nothing is really happening. I run a Ubiquiti home network with G3 cameras – if

Webcam State Detection and Elgato Key Light Automation with Home Assistant

During the COVID pandemic, I invested in improving my working-from-home setup with a better webcam and an Elgato Key Light . I usually control the Key Light using my Stream Deck (which was another lockdown purchase and project). Over the last few weeks, I've been working from

Fixing AppDaemon after upgrading to v0.15.x

This week, I discovered that an automatic upgrade to v0.15 of AppDaemon did not go as planned. When I went to bed on Wednesday, I found the screen on the Sonoff NSPanel in our bedroom was still on and was reporting a time of ~16:00. There were a

Are Microservices The Solution to a Monolith?

Whilst breaking a large codebase into a series of smaller services seems logical, the reality is far from simple. You have to ask yourself if the overhead and complexity of moving to microservices is worth your team's time or if you could extract more value from your existing

Surviving a Power Cut - Home Automation Resilience

I have been growing my home automation setup over the past two and a half years, and the setup has evolved to the point where I can keep an eye on the house using Home Assistant even when I'm away – provided that there isn't a