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]

Raspberry Pi Sense Hat

I recently acquired a Sense Hat, and despite not having much use for it, i decided to have some fun and learning a little along the way. The hardware The Sense-hat is a little Hat for Raspberry Pi’s that contains a bunch of sensors, along with a small 8x8 RGB LED Matrix. It contains the following sensors: Gyroscope Accelerometer Magnetometer Temperature Barometric pressure Humidity Along with the hardware, there’s an official Sense-Hat Python library available. [Read More]

Scheduling lights with Phillips Hue revisited

When i last looked into automating the light control, i was using IFTTT, and decided to write my own implementation because IFTTT was not very precise, and rather limited for the finegrained control i wanted. A year has passed, and there’s a new version of the Phillips Hue Bridge which supports Apple HomeKit, and has a new version of the Hue API, which supports things like sunrise/sunset triggers. My own solution has been running on my Raspberry Pi for the better part of a year, and has worked very well, but with the new API it is possible for me to create the schedules directly on the Hue Bridge, removing the dependency on the Server, and allowing interaction from the Hue Apps. [Read More]

Editorial to Hugo workflow

In my previous post i described my new blog setup with Hugo, and mentioned that i loved the Editorial App for iOS for writing on the go. One of the reasons i’m in love with Editorial is the workflows, which combines a simple workflow engine (like Automator for Mac), with the powerfull scripting capabilities of Python. Editorial encourages it’s users to create new workflows, and share them on the Workflow Directory. [Read More]