Turning Hugo aliases into AWS S3 redirects

Turning Hugo aliases into AWS S3 redirects

I’m hosting this blog on AWS S3 and Cloudfront. One disadvantage with S3 is that it doesn’t have a simple way of creating redirects — like Netlify, Firebase, or even Nginx.

But there is way; using the AWS CLI, put-object, and the x-amz-website-redirect-location metadata.

Here’s how 👇

Read more →

Controlling the Raspberry Pi HDMI port — with MQTT and Home Assistant

Controlling the Raspberry Pi HDMI port — with MQTT and Home Assistant

We have a Raspberry Pi driven digital calendar in the kitchen. I’m currently using crontab to turn the HDMI port off at night, and when we’re at work.

But a much more flexible solution is to control it using MQTT and Home Assistant. That way it can easily be automated to turn on when we’re home, if there is movement in the kitchen, or any number of conditions.

It’s really quite easy to do, here’s how 👇

Read more →

Running three CAT6 cables to the living room TV bench

Running three CAT6 cables to the living room TV bench

Ever since we bought the house, last year, I’ve been planning to run wired network to the living room TV and media center — it’s time to finally get that done 🙂

Read more →

Running two CAT6 cables to the play room

Running two CAT6 cables to the play room

We recently got a family computer in our play room, and it of course needs network. So I ran a 20 mm conduit from the basement, through the kitchen, to the play room, and pulled two CAT6 cables.

Read more →

Downgrading Unifi APs from 5.43.43 to 4.3.28

Downgrading Unifi APs from 5.43.43 to 4.3.28

Shortly after I upgraded my Unifi access points from 4.3.28 to 5.43.43; I started getting timeout issues. Not all devices, but some; the Raspberry Pi driving our DAKboard, and both our Netatmo air quality sensors.

It took me a while to understand what was happening, and I didn’t immediately relate it to the firmware upgrade.

Read more →

Electronics lab equipment

Electronics lab equipment

When I got serious about my electronics lab — I found it useful to see what equipment other people have in their labs. I got a lot of information from EEVblog’s video on How To Set Up An Electronics Lab.

So — here is my contribution 🙂 Below you’ll find a list and photo gallery of my electronics lab equipment 👇

Read more →

DAKboard external data — using Home Assistant

DAKboard external data — using Home Assistant

Earlier this year I put up a Raspberry Pi powered DAKboard display. It shows photos from our Google Photos albums, the time and weather, and most importantly; our shared calendar.

But I’d like it to show some custom data as well — like indoor temperature and humidity. And the measured outdoor temperature, not just the one reported from the weather service.

Here is how I did that — using Home Assistant 👇

Read more →

Home office ventilation — controlled by CO₂ level

Home office ventilation — controlled by CO₂ level

I recently watched Jeff Gerling’s video on CO₂ levels, and how to monitor it. My home office is also in the basement, with no windows. So I paid attention to the air quality when setting up down here.

In addition to monitoring the CO₂ level, I’m also automatically ventilating the space when the air quality gets too bad.

Read more →

Troubleshooting the garage access point

Troubleshooting the garage access point

Ever since I ran a underground CAT6 to my garage — my Unifi UAP-AC-M access point have been acting strange…

I initially noticed that whenever I was close to the garage; I would loose internet connectivity for a few seconds. At first I just thought it was an area with poor coverage, but looking at the signal strengths that didn’t make any sense.

Read more →

Plans for my home network

Plans for my home network

I’ve written a few posts now about my Home network v2 project. What’s the plan? Let’s go through that now.

Read more →