Configuring SSL Certificates with Certbot

Certbot logo

As you may have noticed, new versions of most popular browsers notify you whenever you try to access an insecure web page. For instance, Google Chrome from the release 68 onwards marks all HTTP sites as not secure. To force the use of encrypted connections and to avoid receiving these warnings when accessing your domestic web page … Read more…

Keeping your Raspberry Pi on time with a RTC module

RTC DS3231

The Rasperry Pi does not have an on-board battery powered clock. While it is connected to internet, a NTP daemon updates the clock correctly. Otherwise, a fake-hwclock saves the current clock periodically to disk and loads it at startup. So, with high probability, after a power shortage the Raspberry Pi time will be inaccurate. For … Read more…

Update Raspbian from Jessie to Stretch

Stretch Toy Story

Since 17th August 2017, the new Raspbian version Stretch, based on Debian 9.1, is ready for download. I usually wait a couple of months before updating to avoid early bird problems. In this tutorial I will explain the most important steps to perform an upgrade from Raspbian Jessie to Stretch version on a Raspberry Pi. … Read more…

Adding an external Antenna to WMR88

WMR88 Dissasembly

After more than 5 years working perfectly, my WMR88 Oregon Scientific Station started to show reception problems. Periodically the contact between the console and some of the outdoor sensors was lost. The unit normally reconnects after a few minutes but on some occasions the base station and the sensor required resetting. I noticed that the connection problems … Read more…

Installing WeeWX in Raspberry Pi

WMR88_MeteoStation

WeeWX is a great software for people who have a domestic weather station and are interested in meteorology. This open source program, developed in Python, is able to import weather data from many popular weather stations and to produce plots, reports and HTML pages. Moreover, it uses a easy to extend architecture, making it very … Read more…

Installing Kodi in Raspberry Pi

Kodi Kripton Splash ALT

Kodi is an open source media player software specially designed for televisions and remote controls. It is cross platform and allows users to play and view the most popular audio and video formats converting the machine where it is running in a Home Theater PC (HTPC). In this post the most important steps to install … Read more…

Creating a Raspberry Pi service

Raspberry Booting Services

There are several ways to execute a piece of code when your Raspberry Pi boots. You can, for instance, use the nickname @reboot in crontab in order to launch an script after rebooting your machine. You can also configure crontab to run the script every X minutes. However, if you want to create a Raspberry … Read more…

Sleeping a process until next X minute

Sleeping dog

In this post I just want to show a short piece of code that can be useful when managing with Bash processes that run while the system is up and have sleep/waiting times. Imagine the following situation: you have coded a service that is always running. This service should perform a certain operation every minute … Read more…

Protecting your Raspberry Pi from power failure

Raspberry Pi UPS

Unexpected power failures can corrupt your SD card and prevent your Raspberry Pi from booting up the next time you turn it on. I learnt that personally when my toaster decided to trip my house’s circuit breakers in a random way. There are a lot of possibilities to solve this problem and ensure that the shutdown … Read more…