Table of Contents

Hi! It is Group 6 - PERCCOM Cohort 3

Group Members

Motivation

We all have bad habits in using electricity or consuming energy in home/office environment. For example, people usually leave their house without turning off the lamps and computer/laptop, or open the windows while the heating is still turned on. In addition, the heating system in our apartments usually running 24/7. There are several reasons for that, such as (1) People are lazy to turn off/on these electrical devices whenever they go out. (2) These systems are centralized controlled, so they are always kept running. (3) People are not aware of energy waste, sustainability. (4) People are usually forgetful though they know that they should turn devices off.

These bad habits lead to more energy waste and higher costs for the electricity bills. Based on some researches, HVAC (heating, ventilation and air conditioning) costs the largest amount of electricity consumption in a house, accounting for 60% in Europe. However, if we control the HVAC system based on users’ occupancy, we can save up to 30% this amount of energy consumption.

Goals

Big Idea

We present a smart home system that can automatically control the radiators and ventilation based on users' occupancy status in the room in order to ensure the comfort level in the room and save energy. This scenario is designed to apply on home/apartment environment.

Additionally, we use machine learning to improve the efficiency of our solution. In this case, the home automation system learns the human behavior from the schedule. FHEM is used to feed a datastore accessible through an API for machine learning or creating other services on top of it. A neural network was trained to attempt to learn a fictional schedule.

Devices

Technology

FHEM

FHEM is a home automation management software with different front-ends and Web interface integrated. It is used to automate several tasks in household such as controlling heating, switching lights on/off, logging events (temperature, humidity, door opening). FHEM can integrate with a large amount of home automation technologies like FS20, HomeMatic, KNX, ZWave, EnOcean, X10.

We installed FHEM on Raspberry PI with a perl interpreter and a HomeMatic Wireless Adapter LAN to access the sensors such as motion sensor, door/window sensor, temperature and humidity sensor. Our server uses fhem.cfg file to store configuration.

For more information about FHEM, read more here: http://fhem.de/fhem.html

HomeMatic

HomeMatic is a proprietary system for home automation system from the company eQ. 3. It uses wireless protocol (Bidirectional Communication System) BidCos which special feature of this protocol is that the recipient of a message has to acknowledge (ACK). Moreover, HM supports authentication (AES) and encryption (only XOR operation). HomeMatic system can be basically divided into the following classes of devices:

In our project, we use a CCU and LAN configuration adapter for configuring direct links between transmitters and actuators. Indeed, the adapter allows to interact with sensors as it transmits messages in both directions.

Set up Topology

In our solution, Raspberry Pi plays role of a hardware for FHEM server. The Raspberry Pi and LAN adapter have been connected to a switch for getting an access to the same network. Due to this, sensors can communicate with the server sending messages through the adapter. Figure 1 illustrates the topology of our system and figure 2 is how the sensors will be implemented in the room.

Data Flow Diagram

https://www.dropbox.com/s/ggcruj07e1jhhn0/DataFlow_Diagram.png?dl=0

Features

http://lutcodecamp.herokuapp.com/

The protocol to present

Thread

Documentation

https://docs.google.com/presentation/d/18gW9FjOmSpQQ5IHOSzZ0UJuOR6vocy2PMIC_H8MeKfE/edit?usp=sharing

(Old version submitted on 4 March) https://www.dropbox.com/s/gc3wm78gtvlk6k5/HomeAutomationCodeCampReport_Group%206.pdf?dl=0

codecamp-report_2016.pdf

https://www.dropbox.com/s/njags1uv6n4dacy/poster.pdf?dl=0

Links to our project