Using the Shelly Plus Plug S to measure homelab power

Using the Shelly Plus Plug S to measure homelab power

I’m using a Shelly Plus Plug S smart plug to measure the power usage of my homelab. I added it as a device in Home Assistant — and the power readings began! Kind of…

Within a few days; I noticed something strange with the graph history — there were long periods of time where the graph was completely flat. Logging into the Shelly web interface, I could see the watt reading changing — without this being reflected in Home Assistant.

Read more →

Measuring outdoor temperature with a Raspberry Pi and DS18B20 probe

Measuring outdoor temperature with a Raspberry Pi and DS18B20 probe

We have a Dakboard digital calendar in our kitchen — showing lots of house and temperature data. So naturally; it must show the actual outdoor temperature as well.

To do this I used a Raspberry Pi 2, and a DS18B20 HAT I made some years back.

Read more →

(Re)set the time on our Komfovent ventilation system

(Re)set the time on our Komfovent ventilation system

Our Komfovent balanced ventilation system is pretty bad at accurate timekeeping — the time drifts several minutes over the course of a few months. This is a bit annoying as the operator panel is prominently located on the second floor, and we use it to tell time.

Luckily; the time can be set using the Modbus interface.

Read more →

Making my own NVR — with a streaming proxy and FFmpeg

Making my own NVR — with a streaming proxy and FFmpeg

I’ve been thinking about getting some CCTV cameras for a while, and last summer I purchased two Reolink PoE cameras. The footage is stored on a SD card, and uploaded to a local FTP server.

But I also wanted to record continuously, without getting a dedicated Reolink NVR. I’ve seen some YouTube videos by Tall Paul Tech where he uses FFmpeg to record CCTV footage — so let’s do that! 🙂

Read more →

Raspberry Pi security alarm — the basics

Raspberry Pi security alarm — the basics

In November last year — I started building a DIY security alarm system, using a Raspberry Pi as the controller. My plan was to make a self-sustained system, using proper alarm hardware — like PIR sensors and sirens.

Integration with Home Assistant would be an add-on, not a requirement. I wanted the system to be as redundant and fault-tolerant as I could make it.

This is a pretty long story, with some twists and turns — let’s get into it 👇

Read more →

A few more ventilation automations in Home Assistant

A few more ventilation automations in Home Assistant

Controlling my Komfovent balanced ventilation system through Home Assistant — opens up a world of possibilities.

Here are three automations I use to make the system a bit smarter 🙂

Read more →

More ducts for the balanced ventilation

More ducts for the balanced ventilation

We got balanced ventilation installed last year, and have been very happy with the system 🙂 But we quickly found that we needed to expand it into two more rooms — the 1st floor bathroom, used as the laundry room, and the play room, which will be a bedroom at some point.

Time to fix that 🙂

Read more →

PowerWalker UPS, NUT, and Home Assistant

PowerWalker UPS, NUT, and Home Assistant

I’m using a Raspberry Pi to communicate with the power equipment in my homelab rack; the UPS, ATS and PDU. For the UPS, I’m using NUT (Network UPS Tools), and for the ATS and PDU; my own PowerWalker Python library.

In this post I’ll be going through how I’ve set up the NUT server to communicate with my PowerWalker VI 1500 RT HID UPS, and NUT clients running on all other physical machines in the rack.

Read more →

Using Tibber to control a smart plug — through Home Assistant

Using Tibber to control a smart plug — through Home Assistant

We’re using Tibber as our electricity supplier — we have the Tibber Pulse reading our power usage and making it available in Home Assistant, through an integration.

But Tibber also controls our heat-pump, by interfacing a Sensibo Sky. Tibber’s smart heating control takes multiple factors into account; outside temperature, power price, thermal inertia. A clever algorithm, made by clever people — it works really well 🙂

I found an easy way to “hook into” this heat control, using a simple Home Assistant automation.

Read more →

Wi-Fi relays for controlling ventilation — WeMos D1, MQTT, and Home Assistant

Wi-Fi relays for controlling ventilation — WeMos D1, MQTT, and Home Assistant

We recently got balanced ventilation installed, and I have interfaced it with Home Assistant. However — the ventilation unit have three “special modes” that can not be enabled through the Modbus interface; fireplace, kitchen, and override. These can only be set on the touch panel, mobile app, or through inputs terminals on the controller.

So I repurposed an old project and made a three-relay Wi-Fi controlled module, using MQTT to send commands and receive statuses.

Then used Home Assistant to automate it 🙂

Read more →