IEEE Consumer Electronics Magazine - November/December 2021 - 71
external service within the smart home system,
we introduce the concept of the virtual device.
The virtual device is registered with the smart
home hub, just like physical devices typically
are. It maps the functionality of the external platform
to the services and properties, which are
exposed to the user of the smart home system.
By representing the service as the device within
the system, the control layer can data provided
by the service can easily be used in home automation
rules created by the user.
When integrating with the external IoT soluFigure
2. Smart home system and external
extensions.
together, due to the unified internal representation
of their capabilities.
Remote control of the smart home system is
enabled by the smart home cloud, which serves
as a proxy for the messages exchanged by the
user applications and the smart home hubs. The
hubs, cloud, and user applications communicate
with each other using Message Queuing Telemetry
Transport (MQTT) protocol over TLS.
The integration with the external services and
device platforms will be performed on the cloud
level, by creating the adapters, i.e., translators
between the internal smart home system MQTT
API and the APIs exposed by the partner services.
Depending on the partner API, various authorization
mechanisms may apply, and the service
adapter should handle them appropriately.
To enable the full integration with external
services, their functionalities have to be mapped
to the internal system representation of a
device. For example, some of the services resemble
the physical sensors, as they cannot be controlled
by the user. Such are the services
providing information about the local traffic or
weather conditions, or utility services informing
the user about the electricity, gas or water consumption.
On the other side, there are services
that require the bidirectional exchange of information,
and allow users to order something (be
it food delivery, house cleaning, or the desired
video stream). These services resemble the
physical actuators. Therefore, to represent the
November/December 2021
tions, such as multimedia, lighting, or sensory
device platforms, the goal is to allow as much control
over the device as possible using the local network
connection. This will enable normal system
operation even in the cases of Internet connectivity
loss. However, there may be device functionalities
that are not suitable for low bandwidth IoT
network traffic, or which are not exposed by the
devicemanufacturer. For example, camera streaming
cannot be performed using wireless IoT protocols
such as Zigbee or Bluetooth LowEnergy. Also,
some of the device features may be implemented
in a custom, proprietary way, and only be accessible
through the cloud API exposed by the device
manufacturer. In this case, the physical device
twin is created within the smart home cloud, to
serve as a bridge between the smart home representation
of the device, and the external device
platform. All devices of the same type (e.g., cameras,
sensors, lights) will be represented within
the system in the same way, regardless of their
manufacturer and the API used to control them.
During the process of device discovery and
inclusion into the smart home system, the platform
adapter in the smart home cloud creates a
device twin for every physical device that is
added. The device twin contains all the information
necessary to control and monitor the device
through the external API, such as the identification
of the device in the external system, the list
of its functionalities and relevant settings, as
well as authorization tokens if required.
WEATHER SERVICE INTEGRATION
To demonstrate the proposed concept of virtual
device, we integrate the weather forecast
service into to the system.14 Due to the nature of
71
IEEE Consumer Electronics Magazine - November/December 2021
Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - November/December 2021
Contents
IEEE Consumer Electronics Magazine - November/December 2021 - Cover1
IEEE Consumer Electronics Magazine - November/December 2021 - Cover2
IEEE Consumer Electronics Magazine - November/December 2021 - Contents
IEEE Consumer Electronics Magazine - November/December 2021 - 2
IEEE Consumer Electronics Magazine - November/December 2021 - 3
IEEE Consumer Electronics Magazine - November/December 2021 - 4
IEEE Consumer Electronics Magazine - November/December 2021 - 5
IEEE Consumer Electronics Magazine - November/December 2021 - 6
IEEE Consumer Electronics Magazine - November/December 2021 - 7
IEEE Consumer Electronics Magazine - November/December 2021 - 8
IEEE Consumer Electronics Magazine - November/December 2021 - 9
IEEE Consumer Electronics Magazine - November/December 2021 - 10
IEEE Consumer Electronics Magazine - November/December 2021 - 11
IEEE Consumer Electronics Magazine - November/December 2021 - 12
IEEE Consumer Electronics Magazine - November/December 2021 - 13
IEEE Consumer Electronics Magazine - November/December 2021 - 14
IEEE Consumer Electronics Magazine - November/December 2021 - 15
IEEE Consumer Electronics Magazine - November/December 2021 - 16
IEEE Consumer Electronics Magazine - November/December 2021 - 17
IEEE Consumer Electronics Magazine - November/December 2021 - 18
IEEE Consumer Electronics Magazine - November/December 2021 - 19
IEEE Consumer Electronics Magazine - November/December 2021 - 20
IEEE Consumer Electronics Magazine - November/December 2021 - 21
IEEE Consumer Electronics Magazine - November/December 2021 - 22
IEEE Consumer Electronics Magazine - November/December 2021 - 23
IEEE Consumer Electronics Magazine - November/December 2021 - 24
IEEE Consumer Electronics Magazine - November/December 2021 - 25
IEEE Consumer Electronics Magazine - November/December 2021 - 26
IEEE Consumer Electronics Magazine - November/December 2021 - 27
IEEE Consumer Electronics Magazine - November/December 2021 - 28
IEEE Consumer Electronics Magazine - November/December 2021 - 29
IEEE Consumer Electronics Magazine - November/December 2021 - 30
IEEE Consumer Electronics Magazine - November/December 2021 - 31
IEEE Consumer Electronics Magazine - November/December 2021 - 32
IEEE Consumer Electronics Magazine - November/December 2021 - 33
IEEE Consumer Electronics Magazine - November/December 2021 - 34
IEEE Consumer Electronics Magazine - November/December 2021 - 35
IEEE Consumer Electronics Magazine - November/December 2021 - 36
IEEE Consumer Electronics Magazine - November/December 2021 - 37
IEEE Consumer Electronics Magazine - November/December 2021 - 38
IEEE Consumer Electronics Magazine - November/December 2021 - 39
IEEE Consumer Electronics Magazine - November/December 2021 - 40
IEEE Consumer Electronics Magazine - November/December 2021 - 41
IEEE Consumer Electronics Magazine - November/December 2021 - 42
IEEE Consumer Electronics Magazine - November/December 2021 - 43
IEEE Consumer Electronics Magazine - November/December 2021 - 44
IEEE Consumer Electronics Magazine - November/December 2021 - 45
IEEE Consumer Electronics Magazine - November/December 2021 - 46
IEEE Consumer Electronics Magazine - November/December 2021 - 47
IEEE Consumer Electronics Magazine - November/December 2021 - 48
IEEE Consumer Electronics Magazine - November/December 2021 - 49
IEEE Consumer Electronics Magazine - November/December 2021 - 50
IEEE Consumer Electronics Magazine - November/December 2021 - 51
IEEE Consumer Electronics Magazine - November/December 2021 - 52
IEEE Consumer Electronics Magazine - November/December 2021 - 53
IEEE Consumer Electronics Magazine - November/December 2021 - 54
IEEE Consumer Electronics Magazine - November/December 2021 - 55
IEEE Consumer Electronics Magazine - November/December 2021 - 56
IEEE Consumer Electronics Magazine - November/December 2021 - 57
IEEE Consumer Electronics Magazine - November/December 2021 - 58
IEEE Consumer Electronics Magazine - November/December 2021 - 59
IEEE Consumer Electronics Magazine - November/December 2021 - 60
IEEE Consumer Electronics Magazine - November/December 2021 - 61
IEEE Consumer Electronics Magazine - November/December 2021 - 62
IEEE Consumer Electronics Magazine - November/December 2021 - 63
IEEE Consumer Electronics Magazine - November/December 2021 - 64
IEEE Consumer Electronics Magazine - November/December 2021 - 65
IEEE Consumer Electronics Magazine - November/December 2021 - 66
IEEE Consumer Electronics Magazine - November/December 2021 - 67
IEEE Consumer Electronics Magazine - November/December 2021 - 68
IEEE Consumer Electronics Magazine - November/December 2021 - 69
IEEE Consumer Electronics Magazine - November/December 2021 - 70
IEEE Consumer Electronics Magazine - November/December 2021 - 71
IEEE Consumer Electronics Magazine - November/December 2021 - 72
IEEE Consumer Electronics Magazine - November/December 2021 - 73
IEEE Consumer Electronics Magazine - November/December 2021 - 74
IEEE Consumer Electronics Magazine - November/December 2021 - 75
IEEE Consumer Electronics Magazine - November/December 2021 - 76
IEEE Consumer Electronics Magazine - November/December 2021 - 77
IEEE Consumer Electronics Magazine - November/December 2021 - 78
IEEE Consumer Electronics Magazine - November/December 2021 - 79
IEEE Consumer Electronics Magazine - November/December 2021 - 80
IEEE Consumer Electronics Magazine - November/December 2021 - 81
IEEE Consumer Electronics Magazine - November/December 2021 - 82
IEEE Consumer Electronics Magazine - November/December 2021 - 83
IEEE Consumer Electronics Magazine - November/December 2021 - 84
IEEE Consumer Electronics Magazine - November/December 2021 - 85
IEEE Consumer Electronics Magazine - November/December 2021 - 86
IEEE Consumer Electronics Magazine - November/December 2021 - 87
IEEE Consumer Electronics Magazine - November/December 2021 - 88
IEEE Consumer Electronics Magazine - November/December 2021 - 89
IEEE Consumer Electronics Magazine - November/December 2021 - 90
IEEE Consumer Electronics Magazine - November/December 2021 - 91
IEEE Consumer Electronics Magazine - November/December 2021 - 92
IEEE Consumer Electronics Magazine - November/December 2021 - 93
IEEE Consumer Electronics Magazine - November/December 2021 - 94
IEEE Consumer Electronics Magazine - November/December 2021 - 95
IEEE Consumer Electronics Magazine - November/December 2021 - 96
IEEE Consumer Electronics Magazine - November/December 2021 - 97
IEEE Consumer Electronics Magazine - November/December 2021 - 98
IEEE Consumer Electronics Magazine - November/December 2021 - 99
IEEE Consumer Electronics Magazine - November/December 2021 - 100
IEEE Consumer Electronics Magazine - November/December 2021 - 101
IEEE Consumer Electronics Magazine - November/December 2021 - 102
IEEE Consumer Electronics Magazine - November/December 2021 - 103
IEEE Consumer Electronics Magazine - November/December 2021 - 104
IEEE Consumer Electronics Magazine - November/December 2021 - 105
IEEE Consumer Electronics Magazine - November/December 2021 - 106
IEEE Consumer Electronics Magazine - November/December 2021 - 107
IEEE Consumer Electronics Magazine - November/December 2021 - 108
IEEE Consumer Electronics Magazine - November/December 2021 - Cover3
IEEE Consumer Electronics Magazine - November/December 2021 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com