IEEE Consumer Electronics Magazine - November/December 2021 - 72
Special Section on Advances in Smart Cities
Figure 3. Weather service integrated as virtual
device.
the data provided by the weather service, this
service is represented as the virtual sensor
within the smart home system.
The flow of virtual device integration is presented
in Figure 3. The user is responsible for
external service activation, i.e., the initiation of
the integration process. For weather forecast,
this process requires providing the address of
the household. When the user enables the service,
the virtual weather device is created on
their hub, and the geographical location of the
hub is stored by the weather service adapter in
the smart home cloud.
To enable weather data retrieval, the smart
home cloud should identify itself as the authorized
consumer of the external service HTTP
API, by providing the registered application key.
Depending on the particular case, the users may
also need to authorize the smart home cloud to
receive personalized information from the external
service, i.e., they could allow linking of the
accounts they use within the smart home system
and the external service. This would be required
for various maintenance and utility services.
Once the cloud level authorization is performed,
the service adapter in the smart home
cloud requests information from the external
service, and converts it to the format that can be
exchanged with the smart home hub. The service
adapter also aims to optimize the communication
with the external service, and cache data
of interest in the Redis database. For example,
the weather service adapter polls the external
weather service for data periodically, in order to
ensure the freshness of the weather information
for the particular location. Once retrieved, the
updated information is sent to all of the hubs in
the same geographical area, using the dedicated
MQTT topic for that location (see Figure 3).
72
Figure 4. Camera platform integration through
device twin.
SURVEILLANCE PLATFORM
INTEGRATION
As an example of the external device platform,
we integrate the smart home with the
video surveillance solution15. The video surveillance
platform equips the supported cameras
with the firmware, which allows to control different
camera settings, to issue commands, and to
store recordings in the cloud. Also, the cameras
can create short video recordings when the
movement is detected in their area, and send
these snapshots to the cloud. All of the cameras
support Open Network Video Interface Forum
(ONVIF) protocol, and some of their functionalities
can be controlled through the local network.
However, to access the recordings, or react to
the detected movement events, the integration
with the video surveillance platform is needed.
To add the camera to their home system, the
user must first initiate the local network discovery
of the device, as they would with any camera
(see Figure 4). Based on the reported camera
properties, the smart home hub knows that the
camera in question is actually supported by the
external platform, and initiates the creation of
the camera twin in the smart home cloud. Using
OAuth 2.0, the user authorizes the smart home
cloud to connect with their surveillance platform
account, and the relevant functionalities of the
camera are exposed through the HTTPS API provided
by the video surveillance platform.
If possible, cameras are controlled through
ONVIF commands, issued in the local network.
For example, the zoom level, camera panning
and tilt can be controlled locally. However, if the
functionality is not supported locally, which is
the case with recording commands, the smart
IEEE Consumer Electronics Magazine
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