![](bg2.png)
hardware platform. For each available peripheral in
the module, a driver is required, which increases the
computational load for the devices. With the use of
a FreeRTOS operating system, the need for a micro-
controller with greater processing power and memory
has increased, since only the RTOS kernel requires
about 5 to 10 KB of space in ROM (FreeRTOS, 2017)
memory, cost of the project.
In the work of (Chi et al., 2014) (Work 3) a de-
vice was designed with a reconfigurable interface of
intelligent sensors for industrial Wireless Sensor Net-
works (WSN) in the IoT environment. The system
uses the IEEE 1451 (Song and Lee, 2008) interface
standard, which allows the system to collect sensor
data intelligently. The interface is plug & play, com-
patible with various types of sensors. As this system
is geared towards the industrial environment, it requi-
res more robust components, making the system rela-
tively large, and the use of the ZigBee standard, ma-
kes the project more expensive.
The work of (Suh and Ko, 2008) (Work 4) ad-
dresses an intelligent home control system, based
on WSN. The system has hardware modularity and
through several additional modules built, allows cus-
tomization of the platform for the desired application.
Through a single module, we could allow the con-
nection of a set of predefined sensors and there would
be no need for additional modules, which would sim-
plify the maintenance of the hardware if any sensors
are defective or need to be updated.
The (Kruger et al., 2013) project (Work 5) pro-
poses a new platform related to WSN. The platform
uses a modular design approach, supporting two ope-
rating systems: TinyOS and ContikiOS. In addition, it
is composed of two modular units, one of processing
and communication, another of storage and energy
harvesting. The inclusion of the solar energy harves-
ting module facilitated the use of the platform in harsh
environments where there is no electricity. The sen-
sors were not mentioned and their modules were not
designed, which limits the use of the platform.
The project of (Kelly et al., 2013) (Work 6) pre-
sents a residential automation system for the moni-
toring of environmental conditions, energy manage-
ment and control of household devices, such as lamps
and water heater, using the IoT concept. The har-
dware for data acquisition was built in a modular way,
where each type of detection unit has a specific pur-
pose. In addition, the system controls the applian-
ces automatically, based on some parameters such as:
sensors, use of the inhabitants and the value of the
energy tariff. Using the ZigBee standard, it was pos-
sible to create a wireless sensor network and make the
system scalable, but made the project more expensive.
Supported modules and sensors are limited, allowing
no further customization of the sensors.
The purpose of (Higuera et al., 2015) work
(Work 7) is to build an intelligent interoperable
lighting solution, combining different technologies.
Through human-focused lighting studies, the system
can change the intensity of light to increase visual
comfort. In addition, this system follows the guideli-
nes defined by ISO/IEC/IEEE 21451 (formerly IEEE
1451) and ZigBee Light Link (Wang, 2013) stan-
dards. The use of the IEEE 21451 standard, which re-
quired additional components, and the ZigBee, made
the project more expensive.
In the work of (Magno et al., 2015) (Work 8) a
new system was proposed to control LED lighting
with a wireless sensor network. The use of light and
motion sensors in combination with user preferences
allowed distributed intelligence to save energy by re-
ducing the intensity of light. Using the ZigBee stan-
dard, the system has become flexible and scalable, but
has become more expensive. In addition, the system
only supports two types of sensors, which limits its
use.
3 SYSTEM DESCRIPTION
The development of this work is divided into two
parts: the Home Assistant platform configuration and
usage and the proposed electronic device develop-
ment.
Figure 1 shows the project architecture, which
consists of the server (Mosquitto broker + Home As-
sistant) and the electronic device (Arduino Nano +
ESP8266). The data communication between server
and electronic device is done over WiFi, using the
MQTT protocol. The server can control actuators and
monitor sensors.
3.1 Home Assistant Platform
Home Assistant is an open source home automation
platform developed in Python 3 (Assistant, 2017b).
This platform provides control, monitoring and auto-
mation of devices, in addition to being able to run
on the most used operating systems, such as Win-
dows, Linux and MacOS, it supports more than 750
components, including MQTT, ZigBee and Z-Wave.
Home Assistant has, as frontend, a web application
with a single interface for mobile devices where you
can control all the equipment. When you start the
application for the first time, a default configuration
file named configuration.yaml is created. This is the
main application file, which enables the web interface
ICEIS 2018 - 20th International Conference on Enterprise Information Systems
602