One of the most important problems in home automation is dedicated to reducing energy consumption. Different methods have been proposed which are mostly aiming for low-costs approaches. This paper offers a low-cost solution based on STM32F407 microcontroller. The solution has been implemented on a house situated in a four-season geographical area. The obtained results are extremely promising, indicating a reducing of the energy consumption with approximately 15%.