Академический Документы
Профессиональный Документы
Культура Документы
Realisation of a Smart Plug device based on Wi-Fi technology
for use in Home Automation systems
Sava Jakovljev, Miloš Subotić and Ištvan Papp
Research and Development Institute RT-RK. Novi Sad, Serbia
sava.jakovljev@rt-rk.com, milos.subotic@rt-rk.com, istvan.papp@rt-rk.com
Abstract—Existing devices used in home automation are mostly described in this paper another approach has been used. We
based on ZigBee or Z-Wave technologies. While these solutions will show that the complexity of home automation system can
are proven, they require additional hardware to be used as be reduced by installing the system to the existing Wi-Fi
gateways. These technologies are based on mesh topology and
routers, such as ones found in user houses and apartments, and
often require additional routers to provide better connectivity.
This increases cost of the system, and can increase communication by developing devices that are based on Wi-Fi. As a result,
latency time. Device described in this paper tries to solve these system will be easier to implement and its
problems using Wi-Fi technology, based on star topology, with no overall price will be lower.
additional hardware needed. Purpose of this paper is to compare In the Section II, some related work is described and some
the performance of an existing ZigBee solution with a device general comparisons of different wireless technologies are
based on Wi-Fi technology.
made. A detailed hardware and software solution is described
in Section III. Measured response times and comparison with
I. INTRODUCTION
ZigBee Smart Plug device are given in Section IV.
In home automation systems, there are few technologies
currently being used to communicate with end devices. Basic II. OVERVIEW OF TECHNOLOGIES
idea behind these systems is that a user can control end devices
End devices used in home automation systems are usually
both locally, over a smart-phone or tablet, and globally, over
based on ZigBee, Z-Wave or Bluetooth technology [4].
cloud services. This problem implies that there is a need that a
Most of the stand-alone smart devices are based on
system can support more technologies, leading to more
Bluetooth technology. A number of these devices doesn’t
complex software and hardware. A typical home
require a centralised system, but can communicate with a
automation system supports ZigBee, Z-Wave and Bluetooth
smart-phone or tablet directly. Bluetooth is designed for short
technology. This type of system also must be able to connect
range and cheap devices to replace cables for computer
to the Internet, using Ethernet or wireless connection.
peripherals, like printers. Nominal range of Bluetooth is 10
The standard way of controlling end devices based on
meters. In most cases, this is not enough to be used in home
ZigBee, Z-Wave or Bluetooth in a home automation system is
automation systems, and that is why most devices based on
by communicating with those device trough dedicated
Bluetooth are standalone devices. Also, maximum number of
hardware gateways. This complexity in hardware leads to
devices in a Bluetooth network is extremely low- only 7. An
increased price of the system, but there are also technical
example of Bluetooth powered device is OBLO BluePlug.
problems including interference between Wi-Fi and ZigBee
Price of this device is $40.
radios in close proximity [6]. Software complexity is increased
Most of the home automation devices are based on ZigBee.
by adding support for each new technology, leading to
ZigBee puts focus on low power consumption and it is
increased development and testing time, and ultimately,
optimised for battery powered devices. ZigBee provides
increased price of the system. The biggest problem with this
extremely reliable, multi-hop mesh network. It is ideal for use
approach is that it is necessary to include additional hardware.
in large networks with a large number of routers. Nominal
Also, software support for these technologies must be
range of ZigBee is 10-300 meters, and ZigBee network can
provided. Most commonly, this support is not open sourced.
have more than 60000 devices. Range can be increased using
Devices based on ZigBee can act as routers or end-devices. In
multi-hop communication [5]. An example of ZigBee smart
bigger networks, it is good practice to add additional routers to
device is OBLO ZigBee Smart Plug. This solution uses Texas
provide better connectivity. However, in smaller networks, star
Instruments provided, closed source software stack and the
topology based technology like Wi-Fi is more convenient.
price of this device is $60.
Low data rates of ZigBee and Z-Wave is a known problem
Wi-Fi is a well known, complex technology based on star
which can become even worse if there is a need for route
topology. It has a nominal range of 100 meters and up to 32
discovery, or when performing network setup and adding new
devices can coexist. Wi-Fi has a high data rate and high
devices.
security.
Because of these problems, for realisation of the device
The biggest advantage of Wi-Fi over ZigBee in home
automation system is the fact that a large number of
This paper was partially supported by the Ministry of Education, Science households are already equipped with a Wi-Fi router, most
and Technological Development of the Republic of Serbia, under grant
number: TR32014. often serving as an Internet gateway.
Quick view of the differences between Wi-Fi, Bluetooth commercial wireless router. First, 10 plugs were connected to
and ZigBee technologies is given in Table I [3]. the system, and after 10 more plugs were added. For
comparison, identical setup with ZigBee has been made, only
with using the necessary ZigBee gateway. For this testing,
ZigBee HA 1.2 profile has been used. Response times are
measured as a mean time needed to get a response from the
furthers device in the system. That distance was changing in
range from 10 to 35 meters. Average response times are given
in Table II. From these measurements we can see that average
communication latency for ZigBee device is greater than for
Wi-Fi devices.