Building a Raspberry Pi Zero temperature monitor with web interface

I’ve recently purchased a few cheap DHT22 temperature sensors from Amazon. They work great and use Python to display the data from the sensors. I found I required a way to log the data, so I though why not make this a project!? I have created a simple Web Interface to view logged data: https://github.com/ryanfitton/rpi-temperature-monitor-logging-interface. […]

Read More

How to install Home Assistant within an LXC container

I have published this blog post to help anyone having issues installing Home Assistant (and Docker) in an LXC container running on Ubuntu. When I was installing Home Assistant on my own hardware, I could not find any straight-forward guides detailing how to do this, and Home Assistant’s own documentation does not help with installing […]

Read More

How to LazyLoad images in WordPress without using a WP Plugin

This post explains how to use the jQuery Lazy library in a WordPress template. By implementing this library into a template manually will give you greater flexibility in terms of which images can be ‘lazy loaded’. A couple of requirements are necessary before using the jQuery Lazy library: Requires at least jQuery 3.4.1 – This […]

Read More

Using loadCSS with WordPress

I have been using loadCSS from the Filament Group recently, it’s a great tool to asynchronously load your CSS files in-order to increase your scores for Google’s PageSpeed tests. The main issue I faced is using loadCSS with WordPress. WordPress has many plugins to install and each of these plugins usually integrate with the hook […]

Read More

Catching up on Google Speed and Header videos for the web

First post of 2019! During the holidays I have been catching up on a backlog of video talks which I have been wanting to watch. I have embedded the videos below:   HTTP Headers – The State of the Web This is a really good video, discussing some of the most common HTTP headers, how […]

Read More

PHP contact form boilerplate

Every now and again, there is a need for a simple HTML site which does not need the bloat of a CMS. However, these sites usually require a contact form, so to prevent the need of creating a new PHP form each time and re-downloading the PHPMailer library, etc. I have uploaded an PHP contact […]

Read More