Intro. It should come as no surprise that Europe is currently undergoing it’s worst energy crisis since the 1970s. While power has always been somewhat expensive here, at least when compared to our US friends, running a small homelab was possible without starving. The current electricity prices are fluctuating between €0.5 and €1.3 per kWh, meaning that power hungry computer equipment has suddely become really expensive to run.
As a small example, simply powering an 8 port UniFi US-8-60W requires around 16W excluding POE power draw.
[Read More]
I moved my NAS to the cloud
and you could too
This blog has been in a state of neglect for a long time. Not because I meant to, but as they say “Life is what happens to you while you’re busy making other plans“, and life has been happening a lot to me these past few years. To the point where I’ve had little time for personal projects, and when I finally made something, it either turned out to be a bad idea, or not in a state I wanted to show.
[Read More]
Controlling a PWM fan with esp8266
Intro My home lab lives in a closet. - It’s not ideal, but it’s what i’ve got.
Originally, when we designed that part of the house, the room was meant to be a “storage room”, and as such, i had all the ethernet plugs routed to a panel in the wall of this room. A year later our youngest son came into this world, and along with his arrival he claimed the room as his.
[Read More]
Raspberry Pi Cryptocurrency Tracker
Creating a cryptocurrency tracker with a Raspberry Pi Zero W and a Waveshare e-Paper Hat
Some years ago i got into the world of Crypto Currencies by accident when the company i work for was investigating the Blockchain technology for our own use, and since i knew nothing about Crypto Currencies or Blockchains at the time, i went ahead and bought around $100 worth of Bitcoins.
I then forgot all about it for a couple of years, and only remembered when i was replacing my phone, and the wallet app popped up.
[Read More]
Measuring Sound Pressure with Esp8266
As a part of my workplace’s tranformation to Agile Development we have quarterly “Program Increment” meetings, where a hundred people will sit in a large meeting room for 2 days, trying to figure out what we’re going to be doing for the next 3 months.
I won’t be commenting on the effectiveness of this method, only on the fact that these meetings tend to be accompanied by a lot of noise.
[Read More]
Migrating From Ghost to Hugo (Again)
A year ago i migrated from Ghost to Hugo, and about the same time my rate of publishing dropped dramatically. A part of this is because most of my writing is done in small bursts, opening the Ghost editor whenever i have 10-20 minutes. With Hugo this wasn’t really possible (for me), and most of my issues with Ghost (upgrading) became voided by running the official Docker image
Fast forward a year, and Ghost has released version 1.
[Read More]
Securing a collocated Raspberry Pi 2 (or 3)
My original HowTo was written in 2013 when i got a free hosted Raspberry Pi B+. I wrote the article mostly for myself as a reminder on how to set it up. Over the years it has proven quite usable, and not just for myself. Whenever i’ve been messing things up with this blog, and articles have gone missing, that article is the one that keeps being requested.
With that in mind, i figured i would update it to a 2017 version, using newer packages.
[Read More]
Graphing Raspberry Pi performance with sar
As part of monitoring the general health of my Raspberry Pi boxes, i like keeping a historical image of how the load was at a given time. I have real time monitoring in place, which will alert me via Pushover if something goes haywire1, and my surveillance does it’s own checking and alerts (via the same pushover container) if a sensor fails to report within a given period.
I based my graph generating script on the one described here, though the memory calculation in that script is not what i wanted, and this being a memory restricted platform, i also wanted to monitor swap in/out.
[Read More]
More toys.
Shortly after getting into the wonderful world of 3D printing, i realised that not all 3D Printers are created equal. After starting a print i went to get work done, and kept a window running with a webcam, when i noticed smoke coming out of the extruder.
It turns out that (most) Chinese printers don’t have basic security features like MINTEMP and Thermal Runaway enabled, meaning if a thermistor fails to obtain a reading, it will return 0, causing the printer to heat even more to obtain the desired temperature.
[Read More]
Running a Docker Swarm on a Raspberry Pi Cluster.
For a long time i’ve wanted to experiment with running a small cluster on my Raspberry Pi’s, but I’ve always had lots of other things to do. Recently i started moving my hosted services from my NAS onto a single Raspberry Pi, and came across a few older Raspberry Pi’s, and thought now is a good a time as any, so here goes.
Hardware used I used the following components:
[Read More]