Controlling Philips HUE Lights with Raspberry PI

Control Philips Hue Lights

Philips HUE is a domestic line of Wi-Fi-enabled color changing LED lamps. It was first introduced in October 2012 and has been updated both in 2015 and 2016, so one can say that it is a mature product. Of all the alternatives, and despite its price (15/20 € pro bulb), I think that HUE is the best … 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…