IEEE Consumer Electronics Magazine - November/December 2021 - 73
Figure 6. Camera before and after inclusion.
Figure 5. Weather and camera device
representation in the smart home application.
home hub sends the command to the smart
home cloud for further processing. The cloud
adapter converts these commands into the format
required by the surveillance platform API
and sends them for execution.
On the other hand, relevant camera configuration
changes and movement detection are
reported by the surveillance platform, by posting
on the HTTPS route exposed by the smart home
cloud. These reports are then converted to
MQTT messages by the cloud adapter, and sent
to the hub. The information about the reported
changes is presented to the user, and can serve
as the trigger for different automation rules.
DEMONSTRATION AND DISCUSSION
In our test setup, the smart home cloud with
the implemented adapters is deployed to the virtual
machine with two CPUs and 8 GB of memory.
The integrated virtual weather device and the
camera are represented in the smart home application
in the form similar to other devices, as can
be seen in Figure 5. On the left side are the
weather device and the camera, whereas the bulb
and the motion sensor are on the right. From user
perspective, there is no difference between the
newly integrated devices and already supported
devices, which use local IoT networking technologies
to communicate with the hub. The internal
MQTT API can be used to exchange commands
and report changes within the system, therefore
the integrated devices are fully operational and
can be used in automation rules.
The virtual weather device is represented by
multiple services. The location service holds
November/December 2021
the address, and the latitude and the longitude
of the location of interest. Weather service
exposes the relevant current and forecast
weather information through properties such as
current temperature, minimal and maximal
expected temperature, air pressure, and humidity.
Astronomical data service allows to track
the sunrise and sunset times, whereas wind service
exposes the information about wind direction
and speed. Configuration service allows to
configure the period of weather data refresh. It
takes 118 ms for the hub to obtain the weather
data if it is already cached by the smart home
cloud, and 222 ms to refresh it if needed (see
Table 1).
The integration of weather platform allows to
create automation rules based on the virtual
device properties. For example, the lighting can
be turned ON at the time of the sunset, or turned
OFF a couple of minutes after sunrise. Also, the
air conditioning can be controlled based on the
current and expected temperature information,
windows and doors closed or open depending
on the current wind speed, etc.
The integrated camera exposes motion detection
service, camera positioning service as well
as video streaming and video recording services.
Camera positioning service controls camera pan,
tilt and zoom, using the ONVIF protocol. Other
Table 1. Performance test results.
73
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