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]

Arduinos, Arduinos everywhere!

Introduction I’ve been quiet for the past months, mostly because of summer, but also because I’ve been busy getting (re)aquatinted with circuit design. I haven’t played around with electronics in 20 years, but when I recently got my hands on an Arduino “starter kit” I just had to try it out. My go-to platform for solving home automation has been the Raspbery Pi, but RPi’s have a tendency to fail. [Read More]

New Toys

Controlling a 3D printer with a Raspberry Pi Preface I finally got around to getting a shiny new toy in the form of a 3D Printer. The specific model is a Wanhao Duplicator i3 Plus. While it may not be the best in terms of quality, it’s a nice “little” printer that, after a lot of tinkering, produces some fair prints. I’ve had my fair share of problems with it, for starters every bolt needed tightening upon unpacking, add to that an uneven printbed, and the general “confusion” following playing around in uncharted territory, and it pretty much sums up my first 4 weeks with it. [Read More]