Getting started with Home Assistant

A screenshot of Home Assistant

A recent project of mine has been to set up Home Assistant, as a way of controlling the various smart devices in our home.

From bridge to assistant

You may remember, back in February, that I had dabbled with Homebridge, a more basic tool which was designed to bridge devices into Apple’s HomeKit universe which aren’t otherwise supported.

I’ve ditched Homebridge, as it didn’t really do what I wanted it to do. If you want to primarily use Apple’s Home ecosystem, but have a few devices which don’t support it, then it’s great. But that doesn’t really apply to our home – although I’m an iPhone and iPad user, I no longer have a working Mac and so I use a Windows desktop, and my wife uses Android devices. Consequently, the only device that we own which natively supports HomeKit is our LG smart TV.

Home Assistant is essentially a replacement for Apple Home, Google Home, Samsung SmartThings and whatever Amazon’s Alexa provides. That means that it provides its own dashboard, and lots of possibilities for automations. But instead of your dashboard being hosted on a cloud server somewhere, it’s on a device in your own home.

Setting it up

Like with Homebridge and HOOBS, you can buy a Home Assistant hub with the software pre-installed. If you already have a device, such as a spare Raspberry Pi, then you can either install HAOS (a complete operating system based around Home Assistant) or just install Home Assistant on an existing system. I chose the latter, and now I have Home Assistant sat on the same device as my Plex Server, using Ubuntu Core and the relevant Snap package.

Once set up, Home Assistant will auto-discover some devices; it immediately found both my ADSL router and my Google Wifi hub using UPnP. You can then add devices yourself. Home Assistant supports way, way more devices than its competitors, due to its hobbyist nature. For example, there’s an IPP integration which means that you can view your printer’s status, including how much ink is left. Despite it being a ‘smart device’ of sorts, Google Home won’t show this in its app. You can also bring in web services like Google Calendar and last.fm.

Some integrations are easier to set up than others though. In most cases, one of the first instructions for setting up an integration is ‘sign up for a developer account with your device manufacturer’. Whilst the instructions are usually quite clear, you’ll find yourself spending lots of time copying and pasting OAuth keys and client secrets to be able to connect your devices. In the case of my Nest Thermostat, this included paying a non-refundable $5 USD charge to access the relevant APIs.

It should also be noted that, whilst Home Assistant does offer integration with Apple HomeKit, I’ve yet to get this to work. Which is ironic as this was the reason why I previously used HomeBridge.

Remote access

Another thing which took some trial and error to get right was enabling remote access. If you want to be able to view and control your devices when you’re out of the home, then there’s a few additional steps you’ll need to complete. These include:

  • Configuring port forwarding on your router
  • Setting up a DNS server

Home Assistant recommends DuckDNS, which is pretty simple and seems to work okay, but again it’s something that requires some technical know-how.

One limitation of using Home Assistant as a Snap on Ubuntu Core is that you can’t use addons, so setting up DuckDNS meant manually editing Home Assistant’s configuration.yaml file. Indeed, some integrations require this, and so it’s worth backing up this file regularly. You can, however, install a separate snap which enables the Home Assistant Community Store (HACS), and this allows you to install additional (but less-well tested) integrations. I initially couldn’t get this to work, but managed to install it literally whilst writing this paragraph.

If you’re willing to pay, then for £6.50 per month, you can get Home Assistant Cloud. As well as providing an income for Home Assistant’s developers, it offers an easier and secure remote access solution, and integrates Google Assistant and Alexa.

Privacy matters

It should also be noted that Home Assistant has a greater focus on privacy. By hosting an IoT hub yourself, you can limit how much data your devices send to cloud servers, which may be in places like China with markedly different attitudes to privacy. Indeed, the integration with my Solax inverter (for our solar panels) connects directly to the inverter, rather than the Solax Cloud service. It’s therefore not surprising that many of the Home Assistant developer team are based in Europe.

Looking to the future, I’m hoping more of my devices will support Matter – indeed, this week, Matter 1.2 was released, adding support for devices like dishwashers. Theoretically, our existing Google Home devices can all be Matter hubs, but none of my other devices yet support it, and may never will. Home Assistant can work with Matter devices, if you buy their SkyConnect dongle, and again, it will mean that more of your device communications can be done within in your home and not using the cloud. That should be faster, and better for privacy.

Overall, I’m quite happy Home Assistant, even though it’s taken a long time to get every device added and some trial and error. I appreciate being able to see (almost) all of my devices on one dashboard, and it feels like I have more oversight and control over the smart devices in our home. I hope that, with greater Matter support, it’ll become easier for less-experienced users to use in future.

The times, they are upgrading

An AI generated image of a superhero emerging from a server cabinet, generated using Microsoft's Bing AI Image Creator

Hello – if you can read this, then the server upgrade worked!

I’ve wiped the previous server image (yes, I remembered to do more than one type of backup this time), and installed a freshly upgraded version of Linux. This means it’s running on Debian 12 (codenamed ‘bookworm’), and version 12 of Sympl. Sympl is a set of tools for Debian that makes managing a web server remotely a little easier, and is forked from Symbiosis which was originally developed by my hosting company Bytemark.

Going nuclear and starting from a fresh installation was for two reasons:

  1. The next version of WordPress, which will be 6.4, will have a minimum recommended PHP version of 8.1. This server was running version PHP 7.3, and whilst I’m sure future versions would work up to a point, it’s a good opportunity to upgrade.
  2. I’ve had a few issues with the previous installation. The FTP server software never seemed to work correctly, and the database (MariaDB) would lock up almost every time I posted a new blog post. Hopefully, this won’t happen anymore.

As this is a fresh WordPress installation, there may be a few things which don’t quite work yet. I’ve imported the existing blog posts and pages, and the theme is mostly the same, but I need to re-install the plugins and probably need to amend some settings. I’ll sort these issues out over the next few days.

Finding peace

A photo of a rubbish bin at the now-demolished Bolton West Services on the M61. It says 'Litter P eas'.

There are some of you who have been subscribed to this blog’s feed for many, many years. I started writing a blog way back in 2002 – back when Web 2.0 was just starting to become a thing – and kept it going for almost 20 years.

And then a botched server upgrade resulted in everything being wiped, including my backups.

It had been my intention to try and salvage what I could; after all, many of my old blog posts should be in the Web Archive, and in other places across the internet too. But working full-time and being a dad just doesn’t leave much spare time, and I tend to prefer to use my free time to consume media (mostly reading) rather than producing new blog posts, or, more pertinently, bringing back old ones.

But it isn’t just a time issue. If I ended up taking a sabbatical from work, or parental leave, then I still wouldn’t go back to re-fill this blog’s arhcives. I’ve made a decision that what happened has happened, and I’m drawing a line under it.

There were some good blog posts over the years, that generated a lot of comments and links at the time. Others highlighted key points in my life; graduating university, relationship milestones, becoming a father and so on. But, my reasons for not undertaking blog archaeology are as follows:

I don’t stand by some of the things I wrote

I wrote more than one post about enjoying the DVDs of various sitcoms written by a well-known comedy writer in the 1990s and 2000s. Unfortunately, said comedy writer, who I am not going to name, is now a major figure in the pushback against rights for trans* people in the UK, and as a member of the LGBTQ+ community myself, I can’t support that. This is just one example, but my opinions have changed over the years, and I don’t really want to go back and revisit what I’ve written on some topics. Especially things like my changing relationship with Apple products, and politics.

It’s worth noting that, when I started my blog in 2002, I was only 17 – I’m now fast approaching my forties, and with that comes more wisdom and knowledge of how the world works, and being aware of my priviledges as a white, middle class cisgendered male person.

I also don’t think that people really want to read about how much alcohol I was drinking in my early years at university, or the regular apologies for not blogging as often as I thought I should.

There are things I wrote about that I don’t want in the public domain anymore

Being a parent and the responsibilities it brings changes you as a person – just ask a neuroscientist. Early on, I talked about and shared photos of our child in a way that I wouldn’t do now; nowadays, I try to keep much of their identity off the internet – including their name and gender. They haven’t consented to that information being out there, and are too young to understand the implications of consent. And I wouldn’t want them to read things written about them when they’re older that might upset them.

In my previous relationship, between 2005 and 2009, we agreed that I would only use a pseudonym when talking about my partner, and though we separated nearly 15 years ago, I still consider myself bound by the conditional consent that we agreed at the time. Maybe when our child is older, we could agree something similar.

Some stuff is really out of date

Early on, I tracked the development of the development of the web browser that would become Mozilla Firefox, and blogged about the changes in each beta release in great detail, up to the release of version 1.0 in 2004. But after almost 20 years, so much has changed; the screenshots I took are probably all gone too, and so I don’t think there’s a lot to be gained by bringing those old posts back.

Because I’ve always had an interest in technology, there are many old posts that I’ve written that are outdated. I’m sure some contain advice which, if followed today, would be actively detrimental rather than helpful.

Perhaps, if I somehow managed to get the time and resources to bring back the really good posts, it would be worthwhile. But there would be a lot of poor quality content to sift through, and I certainly wouldn’t want to bring anything back without reading it first.

Seeing as how the likelihood of me having that time is low, then I have had to make peace with the fact that all that content is going to have to remain scattered to the digital winds of the internet. And that’s okay.

An update (January 2024)

Okay so I’ve already gone back on my word and started bringing back some old posts. My aim is to re-instate blog posts that are still getting traffic – I’m tracking dead links in WordPress and Google Site Console, and if they’re linking to things that still have value, I’ll re-instate them. I’m also aiming to have at least one post from each month, going back to January 2002. Overall, I may bring back about 1-2% of what was here before.

Being more or less social

A screenshot of my profile on the Bluesky social network.

Good grief, has it really been almost 6 months since my last blog post?

I mostly dropped by to link out to a couple of additional social media profiles that you can follow, should you wish to. I appreciate that many people are leaving Twitter/X/whatever Elon Musk decides it’s called this week, and not everyone is leaving in the same direction.

Firstly, I’ve just signed up to Bluesky. It’s invite only at the moment, so I doff my cap to a work colleague who gave me her first invite. I’ve just made the one post there and I’ll see how I get on with it.

I managed to – eventually – get my account verified there, which is how I show as ‘@neilturner.me.uk’ and not a bsky.social address. It should have been straightforward, but over the years my DNS settings have seemingly got out of sync, and this has required some fixing. Hopefully everything works now.

And I’m on Meta’s Threads, which I joined on launch day back in August. Again, I’ve just made the one post there. It doesn’t look like many people that I followed on Instagram are active on Threads – my feed seems to basically be the same 5 people.

My primary social media presence is still on Mastodon. So, if you want to hear from me in between my massive gaps in blogging, that’s probably your best bet. I joined Mastodon back in November 2022, and I feel most-settled there.

Perhaps if Bluesky and/or Threads open up a bit more, I might cross-post things, but we’ll see.

New photo albums on Flickr

For the first time in a long while, I’ve uploaded photos to my Flickr photostream. These are mostly from various days out since August last year.

Speke Hall

Speke Hall

Speke Hall is a National Trust property on the edge of Liverpool – indeed, it’s next to the runway of Liverpool John Lennon Airport. It’s a Tudor manor house surrounded by well-kept gardens, which include a maze, a discovery trail and play areas. It’s just over and hour’s drive for us, and this was our second visit – our first was in winter 2019. Flickr album link.

York Gate Garden

York Gate Garden
York Gate Garden is to the north of Leeds. It’s quite small but well laid-out, and you can spend over an hour exploring it. There’s also the obligatory café and gift shop. Flickr album link.

Sowerby Bridge Rushbearing

Sowerby Bridge Rushbearing 2022

Rushbearing is an annual tradition that takes place in Sowerby Bridge every year – normally the first weekend in September. Historically, it was the delivery of rushes to the various local churches; whilst this still happens in a ceremonial capacity, the parade also calls at many local pubs, and has various Morris and traditional dancing troupes joining in each year. Other communities in the Pennines have similar rituals. Flickr album link.

Hare Hill Garden

Hare Hill Garden
Hare Hill is another National Trust property – we’re members, and so we try to get our money’s worth every year. I literally have a spreadsheet tracking how much we spend against the annual cost of membership. This was one property that we hadn’t visited, that was also within driving distance for a day out – it’s in Cheshire, near Alderley Edge. There’s a walled garden, and a landscaped forest area. It’s not worth travelling for a whole day, so we also went to Nether Alderley Mill on the same day, which is nearby. Flickr album link.

Huddersfield Snowdogs

Huddersfield Snowdogs

Most towns and cities have had some kind of art trail, where they produce a series of white fibreglass models, have local artists and community groups paint them, and then place them around on a trail for visitors to follow. Birmingham had Cow Parade, Hull had Larkin with Toads, Liverpool had Superlambananas, Bristol had Gromit, and in September and October 2022, Kirklees, the metropolitan district including Huddersfield, Dewsbury, Holmfirth and Mirfield, had Snowdogs. We went to have a look at some of those around Huddersfield – here’s a link to the Flickr album showing a few of them.

Yorkshire Wildlife Park

Ring tailed lemur

The Yorkshire Wildlife Park is the largest zoo that’s close to us, being on the east side of Doncaster, and we had day tickets gifted to us last Christmas. This was a relatively short visit, as we were with friends who also had kids. Being a newer zoo, the zoo doesn’t have a huge variety of animals but those that it does have are afforded very large enclosures, and there are very good photography opportunities. It has the UK’s largest collection of polar bears, and a large pride of lions that were re-homed from a cramped zoo in Romania. Flickr album link.

Castle Howard Christmas

Castle Howard Christmas 2022 - 'Into the Woods'
Castle Howard is a stately home in North Yorkshire, and every winter they dress up their rooms for Christmas. It’s always a sparkling visual delight, and this year’s theme was the musical Into the Woods. This was our first visit – you have to book in advance, and it’s not cheap, but the tickets do include access to the rest of the site, including an excellent playground for kids. Flickr album link.

Dunham Massey

Dunham Massey Stables

Yes, it’s another National Trust property – Dunham Massey, near Altrincham to the south west of Manchester. This was our second visit; both times we’ve been in the winter, as it has excellent winter gardens. I advise getting there early; both times we’ve arrived in the afternoon and it’s been a struggle to get parked, even in winter. I didn’t actually take any photos of the house this time, but we did find out more about it as we went on the walking tour of the grounds. It’s notable as the property was mostly vacant for the 19th century, and so unlike many other stately homes, its grounds weren’t reshaped by the likes of Capability Brown. Flickr album link.

Manchester Museum

Manchester Museum (March 2023)

The Manchester Museum is based at the University of Manchester, and this year re-opened after a multi-year refurbishment and extension project. It’s one of our favourite museums, with a wide variety of exhibits, and very accessible for children. Our favourite part is the vivarium, which, despite it being a museum, has live exhibits – mainly frogs and lizards. Flickr album link.

Martin Mere

Martin Mere

Over in Lancashire, we had a day out at Martin Mere, a wetland area managed by the Wildfowl and Wetland Trust. The site is in two parts; one part has a visitor centre and some captive species of birds including flamingoes (and some otters), but the remaining three quarters of the site is home to wild birds. A large, enclosed bird hide lets you see the main lake in the mere, and it’s worth popping by when the staff spread bird seed out as literally thousands of aquatic birds descend – including hooper swans, if you visit at the right time of year. When we visited, part of the site was closed off due to Avian Flu but hopefully it will be open in full now. There were also a number of Lego models of birds, but we went on the last day. Flickr album link.

Hardcastle Crags

Hardcastle Crags and Gibson Mill

We’re on National Trust property again, although not so far afield – Hardcastle Crags sits just north of Hebden Bridge and is our closest site. In the middle of the site is Gibson Mill, which is open as a museum, café and shop, and is completely off grid – there’s no mains electricity, gas, water or sewerage. Its drinking water is filtered from the water, and it has composting toilets. Meanwhile solar panels and a hydroelectric motor provide electricity, and a wood burning stove provides heat. As we’ve recently invested in solar panels, I was quite interested to see how they were managing; when we visited, an additional generator was behind the back of the mill and they were unable to sell hot food. Flickr album link.

Manor Heath Park

Manor Heath Park Jungle Experience and Walled Garden

Manor Heath Park is one of Halifax’s public parks, and recently it has re-opened its walled garden and Jungle Experience, an indoor butterfly house with tropical plants. These photos were all taken on my iPhone 13 Mini, as it wasn’t a planned trip and I didn’t have my usual camera (Canon EOS 70D) with me. Flickr album link.

York Castle Museum

York Castle Museum

One of York’s better established museums, the Castle Museum is also one of my favourites, but I’d not visited since 2009. It includes Kirkgate, a recreated street of shops, and part of the old York jail which counted Dick Turpin as one of its more famous inmates. We whizzed around in a couple of hours thanks to a somewhat disinterested seven-year-old but you can probably spend longer. Flickr album link.

Murton Park

Murton Park (April 2023)

On the edge of York is Murton Park, which incorporates the Yorkshire Museum of Farming and the remaining stub of the Derwent Valley Light Railway. It’s a bit of mix of different things – as well as animals and lots of farm machinery, there’s a Viking village (which a re-enactment society were using) and a model Roman fort, which was being used by an American Cowboy re-enactment society. We last visited in 2018 and there’s clearly been an effort to expand the range of activities for kids, which is nice. Flickr album link.

That’s about 9 months of photos uploaded. I still need to do some tagging on a few images, but please enjoy. I am trying to use Flickr more, even though it’s not got the same community feel that it did in the early days. I understand its new owners, Smugmug, are trying their best but are up against a lot of technical debt – indeed, some parts of the site appear unchanged in the nearly 20 years that I’ve been a member.

New new new new new iPhone

A photo of an iPhone 13 Mini with iOS 15 showing the home screen

Last week, I bought myself a new iPhone 13 Mini. This is the fifth iPhone model I’ve owned:

As you can see, with each model I’ve kept it a little longer than the previous one. Before my first iPhone, I would generally keep a phone handset for 18-24 months at a time, and indeed that was the case with my first iPhone – it was on its last legs by the time I traded it in. Its replacement, the iPhone 5 laster a little longer but I had issues charging it after a while. The iPhone 5s laster slightly longer again, but in the hot summer of 2018 its battery started expanding and the back was coming away from the phone body, so I decided it was high time for a replacement.

I was hoping to get my iPhone 8 to make it to five years, and in late 2021 I even had the battery replaced to give it some extra life. Alas, this new battery was also starting to wear out – I would have to recharge my phone more than once a day to get through.

Whilst I could have had yet another new battery fitted, I suspect that Apple won’t support such an old model much longer with new iOS updates, and they were offering up to two years 0% finance on new models. I’m not eligible to upgrade with my current phone network, as I’m on a 2 year fixed SIM-only contract, so buying the new phone direct from Apple on 0% finance seemed like the best option.

Apple conveniently provides a Compare iPhone models tool, and so I was able to decide between the various models on offer to work out which was best for me. As you may note from the above, my purchases of the 5s and 8 were at times when physically larger models were available, but I’ve generally preferred the smaller iPhone models. That pretty much ruled out buying an iPhone 14, as there’s ‘mini’ version available – and it was also £200 more than the iPhone 13 Mini.

Apple also offers its iPhone SE range, and the current third generation is essentially an iPhone 8 body with iPhone 13 internals. However, that means a smaller screen, and Touch ID rather than Face ID, as well as a more basic camera, slower 5G, less water resistance and no support for MagSafe, when compared with the iPhone 13 Mini.

A photo of an iPhone 13 Mini (left) next to an iPhone 8 (right)

The iPhone 13 Mini is also slightly smaller and lighter (albeit by a mere four grammes) than the iPhone SE. Despite this, the screen is bigger, as the bezel is smaller – it doesn’t need to accommodate the home button for Touch ID.

As for the iPhone 14, as well as it being too large for my liking and more expensive, it’s not much of an upgrade. Again, there’s an even better camera, the ability to make SOS calls via satellite, crash detection and slightly better battery life, but the processor is the same as the 13 Mini and SE; the only benefit is one extra GPU core.

Having had the new phone for a week, I’ve appreciated the extra speed, and the convenience of Face ID which seems to work well, even when I’m wearing glasses. The transfer process from old phone to new also went pretty well and I was mostly up and running on the new phone in a couple of hours – some of which was spent installing iOS 16.4. The new camera is also great and I’ve taken a couple of photos with the ultra-wide aperture lens (giving a fish-eye appearance).

Hopefully I’ll be able to keep this new phone going for the full five years. Whilst it’s always nice to have the latest and greatest device, I also appreciate the cost savings of not upgrading regularly. If everyone held onto their phones for several years, I’m sure there would be wider environmental benefits.

More in common

Speaking of cars, a few weeks ago I was driving along the M62 towards Manchester, when I was overtaken by someone driving the same car as me, a first-generation Peugeot 3008.

This wouldn’t be notable, except that the car had Ukrainian registration plates. So this car, the same make and model as mine, has been driven thousands of miles across Europe, out of a war zone to hopeful safety in the UK.

It was a reminder not only of how lucky we are in the UK to live in relative safety, but that we have more in common with people than we may think. I hope the family that owns that car feel welcome here.

“…we are far more united and have far more in common with each other than things that divide us.

Jo Cox MP (1974-2016), June 2015

Adding CarPlay to your car without installing a new stereo system

A photo of the free-standing Carplay unit in my car

I’m someone who always has my phone doing something passively in my car whilst driving – whether it’s listening to music, podcasts or audiobooks, or giving me directions in Google Maps. Until now, I’ve just had my phone sat in a cradle with a built-in Qi wireless charger, because my car stereo doesn’t support CarPlay.

And then I found out, via Matt Haughey, that it’s possible to buy an additional screen for your car that just offers CarPlay, or its equivalent Android Auto. So I followed suit.

The three ways to CarPlay

As Matt points out, there are now three ways that you can have CarPlay in your car:

  1. It’s already built in. If you have a relatively new car, then the built-in stereo system will support it natively, either through a USB connection or wirelessly.
  2. If not, you can replace the existing stereo system with an after-market, or third-party system which supports CarPlay.
  3. Or, do what I’ve done – keep your existing stereo system as-is, but add a free-standing unit that connects to your car.

The reason why I’ve gone for the third option is that neither of the others are available to me. I drive an original Peugeot 3008, which I bought second-hand in 2019. Whilst it’s one of the higher-spec Allure models with cruise-control, climate control and a head’s up display, whoever bought it new decided to have the most basic in-car stereo system on offer.

No really, it literally just has a radio, CD player, auxiliary audio connection and a USB port that supports iPods. It doesn’t even have Bluetooth.

When I first bought the car, I did investigate the second option, of having the stereo system replaced with a Sony after-market system that supported CarPlay. However, I was advised by an installer that this would cause issues. This was backed up by various horror stories that I found online.

Annoying, many cars that were sold between around 2010-2016 put various car configuration options into the stereo menus. So, if you removed the stereo, it meant that you couldn’t amend settings for your headlights for example. I have seen some videos where independent garages have managed to get a working CarPlay system built in to a car like mine, but considering that the after-market units are usually around £300 plus additional parts and labour, it’s an expensive option.

Free-standing

So, to the third option. Periodically, I’ve tried looking for something very similar as I though it would be an obvious thing to make and sell, but never managed to find anything. So when Matt’s blog post popped up, I went straight to Amazon to find something similar. Indeed, it looks like most of these units have been on the market less than 6 months.

Matt bought his because he’s bought a new Rivian electric SUV. As Jeff Bezos was an investor in Rivian, it doesn’t support CarPlay or Android Auto. Instead, has its own touchscreen interface incorporating Amazon’s Alexa. And that’s probably okay if you just want to play music, but you don’t get access to the various apps on your phone – especially podcast and audiobook apps, or Google Maps. Sure, pretty much every car nowadays has a built-in SatNav, but Google Maps also has live traffic data and live re-planning of routes whilst driving, in case a quicker route becomes available. I understand that Tesla cars also don’t support Android Auto or CarPlay, although you’ll never catch me driving a Tesla for as long as Elon Musk is associated with the company.

Eyetoo 7″ CarPlay screen

The unit I bought was this Eyetoo 7″ model from Amazon (affiliate link). It’s a more basic model, which just supports CarPlay and Android Auto without offering much of its own interface. As well as the unit with the screen, you get:

  • a very long USB-C cable that has a 12 V cigarette lighter plug on the other end. Seriously, it’s about two metres long.
  • an auxiliary cable to plug into your stereo.

It can also broadcast on an FM frequency that you can tune your car radio to, if you want fewer wires.

There are several other models, all by different Chinese manufacturers that I’ve previously never heard of. Some of these have some additional features:

  • Built-in dashcam
  • Connection for a rear parking camera
  • MicroSD card port and media player software on the device
  • USB port for connection a phone directly

Whilst a reversing camera would be useful, it would probably need to be professionally installed. In any case, my car does at least have reverse parking sensors so I didn’t bother.

The unit comes with both a suction cup for attaching to a windscreen, and a stand with sticky pads for attaching to the dashboard. As you can see in the above photo, I went for the latter. This leaves a tripod screw on top, which you could also use to attach a dashcam, I suppose. The stand is pretty sturdy and holds it up well – it doesn’t wobble around at all. That being said, it does mean that it’s not easy to remove if you want to use it in another vehicle.

It starts up as soon as there’s power to the 12 V socket – i.e. when you turn the engine on – and takes a few seconds to boot up. Connection to CarPlay is wireless, which is good as this model doesn’t have a USB port for a wired connection to your phone. It takes a further few seconds for CarPlay to open, but it does open automatically and will even start playing your music for you.

The screen is fine – it doesn’t have automatically adaptive brightness and it’s not very high resolution, but more expensive models look like they offer this if that’s important to you. But on the whole, I’m really happy with it – it’s great to finally have CarPlay in my car without having to spend a lot of time or money on having it professional installed, and it hasn’t broken anything that affects the car’s systems. I am looking at ways of tidying up the cables though – perhaps with some right-angled connectors.

If you’re looking to add CarPlay or Android Auto to your car without needing to take it apart, I would recommend looking into this as a viable option.

Adventures in setting up Homebridge for HomeKit

A screenshot of the Homebridge dashboard

A recent project of mine has been to get Homebridge up and running. It’s a server-based program that acts as a bridge between smart devices in the home, and Apple’s Home app on iOS.

One thing, I don’t know why

HomeKit, the technology underpinning Home, is famously limited; whilst most smart devices support Amazon’s Alexa and Google Assistant, very few support HomeKit. Indeed, out of the various smart speakers, plug sockets, dishwasher, thermostat, smoke alarm and TV that we have in our house, it’s only the TV that natively supports HomeKit.

Whilst just about everything else (except the smoke alarm) supports Google Assistant, and the Google Home app, it would be helpful to be able to use these devices with Siri. For example, when I’m driving, I want to be able to use the Hey Siri command to turn the heating on, so that we don’t come home to a cold house.

I tried so hard, and got so far

There’s a few ways to run Homebridge. If you have money to spare, then by far the easiest way is to buy a HOOBS box. HOOBS stands for ‘Homebridge Out of Box System‘, and you’ll get a plug-in device with a customised version of Homebridge that is simple to set up. You can also buy HOOBS on an SD card, that can be slotted into your own Raspberry Pi. Or, you can just download the HOOBS SD card image for a donation of £10.

I have two Raspberry Pis – a RPi 400 which is our seven-year-old’s computer, and a RPi 4 which is my Plex server. The latter runs Plex under Ubuntu Core, a minimal version of Ubuntu Linux which doesn’t include a graphical user interface, or even the Aptitude package manager. Instead, apps can be installed using Snap packages, which enforces greater sandboxing and security. There is a Snap package for Homebridge, but I couldn’t actually get it to work; once installed, I couldn’t open the browser page as instructed.

So, I’ve installed it using Apt on our child’s Raspberry Pi 400, and followed the proper instructions.

There’s only one thing you should know

When you first start Homebridge, it won’t do much initially. To get it talking to your devices, you’ll need to install the appropriate plugins, which you can do through the web UI. I suggest going with the plugins that have been ‘verified’ first, as you’ll probably find that there’s more than one plugin for some of the more popular services like Nest. Whilst installing plugins is relatively easy, configuring them can be difficult:

  • The Nest plugin, for example, has you logging into your Google Nest account in Chrome’s Incognito mode, whilst having Developer Tools open. You then have to copy and paste various data from the HTTP headers.
  • I have a series of smart plug sockets which use the Tuya Smart Life platform, but I had them registered under a different app which Homebridge can’t connect to. I had to de-register them and then set them up again on the official Tuya app.
  • Despite following the instructions, I couldn’t get my Bosch smart dishwasher to connect

Setting up Homebridge is therefore something best reserved for people who are comfortable using the Linux command line and with at least an intermediate understanding of how devices work. However, it does mean that I now have these devices in HomeKit as planned.

Homebridge even supports my Solar Inverter, although in a rather odd way. It appears as 12(!) separate accessories in the Home app, seeing as HomeKit doesn’t ‘know’ what a solar panel is. You can also make the Google Home app talk to Homebridge – again, this is the only way that I can make my Solax system work with Google.

But in the end, it doesn’t even Matter

Those of you who follow news in the smart devices/Internet of Things space will be aware of Matter, a new unified smart device standard with the support of Amazon, Apple, Google and Samsung. Matter will hopefully do away with the separate ecosystems that each company offers, and any Matter approved device should work with any other. However, the final Matter specification was only agreed last year, and I’m not expecting many of my existing devices to be updated to support it. At best, my Google Nest Mini devices will be updated soon, and my thermostat may be updated. For others, I would probably have to replace them with Matter-enabled devices in due course. Therefore, Homebridge offers me the flexibility that Matter will hopefully bring as an interim solution.

Solar, so good

A photo of the solar inverter and battery in our cellar.

So, after spending thousands of pounds on a new kitchen, you would think that we’re done with home improvements for a while.

Erm, no. Because even though we’re not yet at the end of January, we’ve used the last of our savings, some money from The Bank of Mum and Dad, and a small amount of new borrowing to pay for the installation of solar panels.

I would show you a photo of them, but that’s hard to do without also sharing a photo of our house, which I’m loathed to do publicly. Instead, here’s a photo of the interior kit – namely, the inverter and the battery.

The battery is an optional add-on to solar systems and is designed to offer additional off-grid power at the time when the solar panels aren’t working – i.e. dull days or at night. It can store up to 6 kWh of electricity, and there’s a pair of plug sockets that are attached to the battery, meaning that we have backup electricty in the event of a mains grid power cut.

Here are our reasons for having a solar panel installation:

Saving money

Energy prices have increased everywhere recently, but especially in the UK where many of our power stations work by burning natural gas. Gas prices were already on the rise when Russia declared war on the Ukraine, and pushed prices even higher as countries started to reduce their reliance on Russian gas. So, switching to a renewable source of power that doesn’t cost money to generate (once the panels are installed and paid for) seems like a good idea.

A screenshot of the Solax Cloud app on iOS, showing our solar system

January is a bit of an odd time to have them installed, though. The days are short, and we only get about 6 hours of usable daylight for generating electricity as I write this – normally 9:30am until 3:30pm. Yes, it’s light from around 8am but the sun needs to have moved around sufficiently to be shining onto the panels to get more than just a few watts of power.

Last week was very, very cold but with clear, sunny afternoons. That was enough for the panels to generate around 2.5 kW – and normally, when I’m working at home without any appliances on (e.g. washing machine, dishwasher, cooker etc.) we only use about 250 W of power. So, that’s a lot of overflow to also charge the battery and there were several days where it was fully charged at sunset. That then gave us enough power for teatime and up until beyond bedtime, meaning that we weren’t paying for grid energy.

Right now, it’s saving us between £1 and £2 per day, depending on the weather and how much energy we’re using. Our savings will increase soon, once we have our Microgeneration Certification Scheme (MCS) certificate, which will allow us to be recompensed for the excess energy that we can sell back to the mains grid under the Smart Export Guarantee. Realistically it’ll be the end of next month before this is up and running, but it means that, once the battery is fully charged, we can make a bit of money back. Not much – at best, we can earn about 16p for kWh at present, which is less than half the 34 kWh we pay to use electricity – but we would already be a few pounds up by now if it had already been in place.

The app which links to the inverter can be configured to calculate your savings, so we have an idea of how much money we’re saving.

Doing our bit for the environment

You may choose to believe that climate change isn’t real, but I’m convinced, along with something like 99% of climate scientists that it is happening. So having solar panels means that we can actually do something tangible about it. Whilst renewable energy sources are forming an increasing proportion of Britain’s mains grid energy mix, burning natural gas is still the source of the majority of our electricity, and there are CO2 emissions involved. Also, gas supplies are finite, and so regardless of whether you believe in climate change, there will come a point when we run out of gas, or have to go to greater lengths to access it. Again, the inverter’s app approximates how much CO2 we’re saving, which is over 50kg in just over a week. I reckon that’ll be half a tonne by the end of the year, which seems like a staggering amount for just one household.

We are, of course, parents, and so by doing our bit, we can show our seven-year-old that we care about the planet that they’ll inherit.

International Geopolitics

I’ve mentioned Russia’s invasion of Ukraine, and I suppose this could be a small act of solidarity with the Ukrainian people. Whilst Britain only sources a small amount of its gas from Russia, if that could be reduced to zero then that’s a lot of money that Russia isn’t getting to fuel its war machine. I’d like to think we’re helping, even if it’s only a tiny contribution.

Resilience

I mentioned above that, attached to the battery, are a pair of plug sockets which draw power only from the battery. If there’s a power cut, then these sockets will still provide power, so long as there’s some charge left in the battery. Indeed, the inverter normally avoids depleting the battery completely – typically it’ll leave 10-20% charge behind.

Even it’s sunny and the panels are generating, should the mains grid go offline (i.e. we get a power cut), then unfortunately all the regular sockets and lights in our house will go off too. But this extra pair of sockets will keep going, and so we could, for example, run a long extension cable up from the cellar to the freezer, to keep that going. We’ve had a couple of short power cuts in recent months, but these have been no more than 10 minutes at a time thankfully.

What to consider if you want solar panels

Our system cost a low five figure sum to install, and was done by a local firm. We got three quotes and all were almost exactly the same, so this seemed to be the going rate. There’s a great guide on MoneySavingExpert about whether they’re worth it, and I suggest that you also read that, as well as my own experiences.

These are things you need to consider:

  • You need a pro-dominantly south-facing roof; ours faces south-west, which is okay but not perfect. If your roofs point east or west, then solar panels probably aren’t for you.
  • You will get more out of solar panels if you can use the energy whilst it’s sunny. So, you’ll need to use the delayed start on power hungry devices like tumble dryers and dishwashers, so that you’re using them when the panels are working. If you work at home, you may benefit more, and especially if you have an electric or plug-in hybrid car that you can charge at home during daylight hours.
  • Solar panels will help with electricity, but not with your gas bill. So, you’ll get less of a benefit if you have a gas oven, or if you don’t have an immersion heater in your hot water tank. Annoyingly, in hindsight, we ripped out our hot water tank in 2016 and replaced it with a combi gas boiler, although as part of our kitchen renovations, we bought new electric hobs and ovens. Conversely, if your heating and hot water is electrically-powered, perhaps using a heat pump rather than a gas boiler, you could benefit more from solar panels.
  • In a similar vein, to maximise your savings, you may consider boiling an electric kettle for hot water for washing up, or using an electric shower to fill a bath. Using a slow cooker during daylight hours may be more economical than a cooker in the evening.
  • The return on investment period for solar panels is about 11 years, so it’s probably best to install them in a house where you don’t plan to move any time soon.
  • It’s probably best not to borrow all of the money for solar panels. Whilst you can save hundreds of pounds per year, through less usage and selling back your excess to the grid, the interest payments on any borrowings will extend the return on investment period. We’re borrowing around £4000 to fund the panels, which I’m funding using a credit card balance transfer to keep the interest down, but the rest was savings and a parental gift.
  • You probably won’t need planning permission, unless your house is a listed building or you live in a conservation area.

I’ll aim to post again in the summer, once our Smart Export Guarantee is set up and we have some sunnier weather, to indicate how much we’re saving.