This document discusses the creation of a home automation prototype that allows remote control of electric devices via mobile phone and the internet. The system uses microcontrollers and programming to control devices and create automated rules. It can also detect presence in the home to implement energy saving scenarios. The authors created scenarios to control devices and save energy using Arduino, on{x} metaplatform, and Tasker software. The book includes the project codes and discusses the backgrounds of the three authors from the Department of Electronic Engineering of Piraeus University who created the prototype.