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e
tech
n
o
lo
g
ie
s
e
s
p
ec
iall
y
to
th
e
d
i
s
ab
led
an
d
eld
er
l
y
p
er
s
o
n
u
s
in
g
t
h
e
m
o
b
ile
r
e
m
o
te
co
n
tr
o
l
ap
p
s
.
A
cc
o
r
d
in
g
to
th
e
r
ep
o
r
t
in
[
1
]
,
ar
o
u
n
d
7
2
%
r
esp
o
n
d
en
ts
s
aid
th
at
s
el
f
-
ad
j
u
s
ti
n
g
t
h
er
m
o
s
tat
an
d
7
1
%
s
aid
th
at
d
o
o
r
s
th
at
ca
n
b
e
lo
ck
ed
f
r
o
m
a
r
em
o
te
lo
ca
tio
n
,
w
er
e
t
h
e
m
o
s
t
i
m
p
o
r
tan
t
f
ea
t
u
r
es
w
h
e
n
it
co
m
e
s
to
th
e
m
o
s
t
d
esire
d
s
m
ar
t h
o
m
e
d
ev
ices.
S
m
ar
t
h
o
m
e
s
y
s
te
m
is
t
h
e
co
n
tr
o
l
an
d
m
a
n
ag
e
m
e
n
t
o
f
i
n
te
g
r
ated
o
f
m
a
n
y
s
m
all
s
y
s
te
m
s
at
h
o
m
e.
T
h
e
s
m
all
s
y
s
te
m
ca
n
b
e
a
la
m
p
s
w
i
tch
,
te
m
p
er
at
u
r
e
m
o
n
i
to
r
in
g
,
m
o
tio
n
d
etec
tio
n
,
h
o
m
e
s
u
r
v
eilla
n
ce
a
n
d
o
th
er
s
en
s
o
r
s
.
T
h
e
s
en
s
o
r
s
i
n
t
h
ese
s
y
s
te
m
s
w
il
l
b
e
co
n
tr
o
lled
b
y
u
s
er
s
u
s
i
n
g
i
n
ter
f
ac
e
d
ev
i
ce
s
s
u
c
h
a
s
r
e
m
o
te
co
n
tr
o
l,
co
m
p
u
ter
,
an
d
s
m
ar
tp
h
o
n
e.
B
y
in
cr
ea
s
in
g
t
h
e
t
y
p
e
o
f
s
en
s
o
r
to
b
e
co
n
tr
o
lled
,
th
e
m
ain
s
y
s
te
m
n
ee
d
s
to
b
e
m
o
r
e
s
p
ec
ialized
to
i
n
t
eg
r
ate
t
h
e
s
u
b
-
s
y
s
te
m
s
to
b
ec
o
m
e
t
h
e
s
m
ar
t
h
o
m
e
s
y
s
te
m
.
T
h
e
n
et
w
o
r
k
i
n
g
o
f
s
y
s
te
m
ca
n
b
e
w
ir
e
d
o
r
w
ir
el
ess
d
ep
en
d
in
g
o
n
ap
p
licatio
n
.
Fig
u
r
e
1
s
h
o
w
s
t
h
e
r
elatio
n
b
et
w
ee
n
in
tell
ig
e
n
t
b
u
ild
in
g
s
,
h
o
m
e
a
u
to
m
at
io
n
,
a
n
d
s
m
ar
t
h
o
m
e
s
.
T
h
er
e
ar
e
f
o
u
r
m
o
d
es
th
at
ca
n
b
e
u
s
ed
f
o
r
co
m
m
u
n
icatio
n
,
s
u
ch
as
p
o
w
er
lin
e
s
y
s
te
m
s
,
w
ir
eless
s
y
s
te
m
s
,
h
ar
d
w
ir
ed
s
y
s
te
m
s
,
a
n
d
in
ter
n
et
p
r
o
to
co
l
s
y
s
te
m
s
[
2
]
.
T
h
e
s
m
ar
t
h
o
m
e
co
m
m
u
n
ica
tio
n
p
r
o
to
co
l
co
u
ld
b
e
d
iv
id
ed
in
to
w
ir
ed
(
X1
0
,
KNX,
I
NST
E
ON)
an
d
w
ir
ele
s
s
(
I
n
f
r
ar
ed
,
Z
i
g
B
ee
,
W
iFi
,
A
P
C
2
2
0
)
m
o
d
es
[3
]
,
[
4]
.
I
n
th
e
co
m
m
u
n
icatio
n
d
o
m
ai
n
f
o
r
s
m
ar
t
h
o
m
e,
t
w
o
r
eq
u
ir
e
m
en
ts
ar
e
n
ee
d
ed
.
T
h
e
f
ir
s
t
o
n
e
is
h
o
w
to
m
ak
e
p
o
s
s
ib
le
t
h
e
co
m
m
u
n
ica
tio
n
o
f
th
e
eq
u
ip
m
en
t
i
n
s
id
e
t
h
e
h
o
u
s
e.
T
h
e
s
ec
o
n
d
o
n
e
is
to
co
n
n
ec
t
th
e
s
m
ar
t
Evaluation Warning : The document was created with Spire.PDF for Python.
I
n
t J
E
lec
&
C
o
m
p
E
n
g
I
SS
N:
2
0
8
8
-
8708
P
erfo
r
ma
n
ce
E
va
lu
a
tio
n
o
f S
ma
r
t H
o
me
S
ystem
u
s
in
g
I
n
tern
et
o
f Th
in
g
s
(
Ted
d
y
S
u
r
ya
G
u
n
a
w
a
n
)
401
h
o
u
s
e
to
t
h
e
o
u
ts
id
e
in
ter
n
et
w
o
r
ld
.
I
n
ter
n
et
o
f
T
h
in
g
s
r
ef
er
s
to
a
n
et
w
o
r
k
o
f
o
b
j
ec
ts
,
w
h
er
e
all
th
in
g
s
ar
e
u
n
iq
u
el
y
a
n
d
u
n
iv
er
s
a
ll
y
ad
d
r
ess
ab
le,
id
en
ti
f
ied
an
d
m
an
a
g
ed
b
y
co
m
p
u
ter
s
.
I
t
is
a
co
llectio
n
o
f
tech
n
o
lo
g
ies
th
at
m
ak
e
s
it p
o
s
s
ib
le
to
co
n
n
ec
t th
i
n
g
s
li
k
e
s
en
s
o
r
s
an
d
ac
t
u
ato
r
s
to
th
e
I
n
ter
n
et
[
5
]
.
Fig
u
r
e
1
.
R
elatio
n
s
h
ip
b
et
w
ee
n
I
n
tell
ig
e
n
t B
u
ild
i
n
g
s
,
Ho
m
e
Au
to
m
a
tio
n
,
an
d
S
m
ar
t H
o
m
e
s
Fro
m
th
e
in
v
e
n
tio
n
o
f
e
m
b
ed
d
ed
s
m
ar
t
h
o
m
e
m
a
n
y
d
ec
ad
es
ag
o
u
n
ti
l
to
d
a
y
,
n
u
m
er
o
u
s
r
esear
ch
er
s
an
d
d
ev
elo
p
er
s
en
v
i
s
io
n
ed
,
d
esig
n
ed
an
d
d
ev
elo
p
ed
u
b
iq
u
ito
u
s
ap
p
licatio
n
s
,
to
tr
an
s
f
o
r
m
p
h
y
s
ical
en
v
ir
o
n
m
e
n
t
s
in
to
s
m
ar
t
s
p
ac
es.
T
h
e
p
u
r
p
o
s
e
o
f
s
m
ar
t
h
o
m
e
p
r
o
j
ec
t
in
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
a
n
d
w
ill
b
e
r
ef
r
e
s
h
ed
in
e
v
er
y
1
s
ec
o
n
d
(
co
n
f
i
g
u
r
ab
le)
s
o
th
at
i
t
ca
n
b
e
u
p
d
ated
w
it
h
th
e
c
u
r
r
en
t
s
en
s
o
r
r
ea
d
in
g
.
A
co
m
m
an
d
s
tr
i
n
g
is
d
ec
o
d
ed
if
th
e
u
s
er
en
ter
a
co
m
m
a
n
d
k
e
y
w
h
ich
is
in
ter
p
r
eted
b
y
m
icr
o
co
n
tr
o
ller
an
d
HI
GH
o
r
L
OW
o
u
tp
u
t
is
p
r
o
d
u
ce
d
t
o
th
e
r
ela
y
cir
cu
it.
T
h
is
in
tu
r
n
s
en
ab
les
a
lo
w
v
o
lta
g
e
A
r
d
u
in
o
to
co
n
tr
o
l
a
h
ig
h
v
o
lta
g
e
h
o
m
e
ap
p
lian
ce
s
.
Fig
u
r
e
2
(
b
)
s
h
o
w
s
t
h
e
p
r
i
m
ar
y
tes
t
f
ield
o
f
S
HC
S
th
a
t
h
a
s
b
ee
n
d
ev
elo
p
ed
to
m
o
n
ito
r
t
h
e
te
m
p
er
atu
r
e,
u
s
er
lo
ca
tio
n
,
an
d
s
w
i
th
elec
tr
ical
ap
p
lian
ce
s
.
I
n
ad
d
itio
n
,
F
ig
u
r
e
3
(
a)
s
h
o
w
s
t
h
e
to
p
v
ie
w
o
f
test
f
ield
d
esi
g
n
cr
ea
ted
u
s
in
g
So
lid
w
o
r
k
s
,
w
h
i
le
Fig
u
r
e
3
(
b
)
s
h
o
w
s
t
h
e
ac
t
u
a
l p
r
o
to
ty
p
e.
As
d
is
cu
s
s
ed
in
[
2
]
,
w
e
h
a
v
e
d
esig
n
ed
a
w
eb
s
ite
Gr
ap
h
i
ca
l
User
I
n
ter
f
ac
e
(
GUI
)
to
in
ter
f
ac
e
b
et
w
ee
n
u
s
er
,
s
en
s
o
r
s
,
an
d
el
ec
tr
o
n
ic
ap
p
lian
ce
s
u
s
i
n
g
A
r
d
u
in
o
I
DE
.
User
ca
n
co
n
tr
o
l
t
h
e
h
o
m
e
ap
p
lian
ce
s
eith
er
to
tu
r
n
it
o
n
o
r
o
f
f
a
t
an
y
ti
m
e.
T
h
e
w
eb
s
ite
also
d
is
p
la
y
s
c
u
r
r
en
t
g
a
s
an
d
te
m
p
er
at
u
r
e
r
ea
d
in
g
.
No
tif
icatio
n
is
s
h
o
w
n
w
h
e
n
t
h
e
P
I
R
s
en
s
o
r
d
etec
ts
a
h
u
m
a
n
m
o
tio
n
i
n
t
h
e
r
o
o
m
a
n
d
u
ltra
s
o
n
ic
s
e
n
s
o
r
d
etec
ts
a
ca
r
at
m
ai
n
g
ate.
U
s
er
s
c
an
u
s
e
th
e
GUI
w
i
th
o
u
t
a
n
y
co
m
p
lex
it
y
o
n
u
n
d
er
s
tan
d
i
n
g
a
n
d
lear
n
i
n
g
t
h
e
co
m
m
a
n
d
lan
g
u
ag
e.
E
x
c
h
an
g
e
o
f
d
ata
b
et
w
ee
n
ap
p
licatio
n
s
o
n
t
h
e
I
n
ter
n
et
is
ac
h
ie
v
ed
b
y
u
s
in
g
w
eb
s
er
v
er
w
it
h
s
i
m
p
le
HT
ML
.
Evaluation Warning : The document was created with Spire.PDF for Python.
I
SS
N
:
2
0
8
8
-
8708
I
n
t J
E
lec
&
C
o
m
p
E
n
g
,
Vo
l.
8
,
No
.
1
,
Feb
r
u
ar
y
2
0
1
8
:
4
0
0
–
4
1
1
402
(
a)
B
lo
ck
Diag
r
a
m
o
f
t
h
e
P
r
o
p
o
s
ed
SHC
S
(
b
)
A
ctu
al
Har
d
w
ar
e
I
m
p
le
m
e
n
tatio
n
Fig
u
r
e
2
.
P
r
o
p
o
s
ed
Sm
ar
t H
o
m
e
C
o
n
tr
o
l S
y
s
te
m
[
2
]
(
a)
T
h
e
T
o
p
View
o
f
T
est Field
Desig
n
(
b
)
A
ctu
al
P
r
o
to
ty
p
e
Fig
u
r
e
3
.
P
r
o
t
o
ty
p
e
Desi
g
n
an
d
I
m
p
le
m
en
tatio
n
[
2
]
3.
E
XP
E
R
I
M
E
NT
S O
N
VAR
I
O
US SE
N
SO
RS A
ND
D
AT
A
CO
M
M
UNICAT
I
O
N
I
n
th
is
s
ec
tio
n
,
v
ar
io
u
s
ex
p
er
i
m
en
ts
w
er
e
co
n
d
u
cted
to
e
v
a
lu
ate
v
ar
io
u
s
s
e
n
s
o
r
s
u
s
ed
a
n
d
w
ir
eles
s
co
m
m
u
n
icatio
n
.
T
h
e
ex
p
er
i
m
en
ts
w
er
e
d
esig
n
ed
in
o
r
d
er
to
v
er
if
y
t
h
e
p
er
f
o
r
m
a
n
ce
o
f
th
e
s
el
ec
ted
s
en
s
o
r
s
an
d
d
ata
co
m
m
u
n
icatio
n
i
n
d
ail
y
li
f
e.
E
ac
h
ex
p
er
i
m
en
t
s
w
er
e
r
ep
ea
ted
th
r
ee
o
r
f
iv
e
ti
m
es
to
o
b
tain
a
n
ac
cu
r
ate
m
ea
s
u
r
e
m
en
t.
3
.
1
.
E
x
peri
m
e
nts o
n t
he
Ult
ra
s
o
nic,
P
I
R,
G
a
s
,
a
nd
T
e
m
p
er
a
t
ure
Sens
o
rs
Fo
r
th
is
ex
p
er
i
m
en
t,
t
h
e
u
l
tr
as
o
n
ic
s
en
s
o
r
w
ill
r
ea
d
d
is
tan
ce
o
f
an
o
b
j
ec
t
w
it
h
i
n
th
e
ec
h
o
r
an
g
e
an
d
d
is
p
la
y
t
h
e
d
is
ta
n
ce
in
ce
n
ti
m
eter
at
th
e
s
er
ial
m
o
n
ito
r
as
ill
u
s
tr
ated
i
n
Fi
g
u
r
e
4
.
T
h
e
u
ltra
s
o
n
ic
co
n
ta
in
ed
o
n
e
tr
ig
g
er
p
in
as
in
p
u
t
a
n
d
o
n
e
ec
h
o
p
in
as
o
u
tp
u
t.
Firs
t,
t
h
e
tr
ig
g
er
p
in
n
ee
d
to
b
e
i
n
iti
al
ized
as
HI
GH
an
d
d
elay
ed
f
o
r
1
0
m
icr
o
s
ec
o
n
d
.
T
h
e
ec
h
o
p
in
w
il
l
r
ea
d
th
e
p
u
ls
e
p
r
o
d
u
ce
d
b
y
th
e
tr
i
g
g
er
p
in
.
Sin
ce
t
h
e
an
alo
g
v
alu
e
i
s
i
n
P
W
M,
th
e
d
is
tan
ce
ca
n
b
e
ca
lcu
lated
as
f
o
llo
w
s
[
12
]
:
(
1
)
w
h
er
e
d
is
t
h
e
d
it
s
ta
n
ce
in
ce
n
ti
m
eter
,
W
is
t
h
e
p
u
ls
e
w
id
th
,
a
n
d
K
i
s
co
n
s
ta
n
t,
i.e
.
2
9
.
1
p
u
ls
e/c
m
.
W
e
r
ep
ea
ted
ea
ch
ex
p
er
i
m
e
n
t
f
o
r
th
r
ee
t
i
m
e,
th
e
er
r
o
r
p
er
ce
n
tag
e
is
ca
lc
u
lated
as
f
o
llo
w
s
:
∑
(
̅
)
(
2
)
w
h
er
e
d
n
is
th
e
m
ea
s
u
r
ed
d
is
ta
n
ce
f
o
r
tr
ial
n
an
d
̅
is
th
e
a
v
er
a
g
e
d
is
ta
n
ce
,
an
d
N
is
t
h
e
n
u
m
b
er
o
f
tr
ials
.
T
ab
le
1
s
h
o
w
s
th
e
u
l
tr
aso
n
i
c
d
is
tan
ce
m
ea
s
u
r
e
m
en
t
r
es
u
lt
b
y
v
ar
y
i
n
g
t
h
e
d
is
ta
n
ce
p
ar
a
m
e
ter
f
r
o
m
5
to
1
0
0
cm
.
Fro
m
th
e
tab
le,
it
is
s
h
o
w
n
t
h
at
t
h
e
n
ea
r
er
o
b
j
ec
t
to
th
e
u
ltra
s
o
n
ic
s
e
n
s
o
r
,
th
e
lo
w
er
th
e
d
is
ta
n
ce
Evaluation Warning : The document was created with Spire.PDF for Python.
I
n
t J
E
lec
&
C
o
m
p
E
n
g
I
SS
N:
2
0
8
8
-
8708
P
erfo
r
ma
n
ce
E
va
lu
a
tio
n
o
f S
ma
r
t H
o
me
S
ystem
u
s
in
g
I
n
tern
et
o
f Th
in
g
s
(
Ted
d
y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
.
0
6
.
7
20
21
20
23
2
1
.
3
6
.
7
30
31
32
30
3
1
.
0
3
.
3
40
40
40
40
4
0
.
0
0
.
0
50
52
52
51
5
1
.
7
3
.
3
60
61
64
62
6
2
.
3
3
.
9
70
72
73
68
7
1
.
0
1
.
4
80
85
1
0
0
80
8
8
.
3
1
0
.
4
90
1
2
0
1
0
0
1
0
0
1
0
6
.
7
1
8
.
5
1
0
0
1
5
0
1
2
0
1
2
2
1
3
0
.
7
3
0
.
7
P
ass
iv
e
i
n
f
r
ar
ed
(
P
I
R
)
s
en
s
o
r
is
m
ad
e
o
f
a
p
y
r
o
-
elec
tr
ic
s
e
n
s
o
r
w
h
ich
ca
n
d
etec
t
lev
e
ls
o
f
in
f
r
ar
ed
e
m
is
s
io
n
.
P
I
R
s
en
s
o
r
p
r
o
d
u
ce
HI
GH
o
u
tp
u
t
w
h
en
h
u
m
a
n
p
r
esen
ce
is
d
etec
ted
.
T
h
e
ex
p
er
i
m
e
n
t
is
co
n
d
u
cted
in
t
w
o
s
ce
n
ar
io
:
s
tat
ic
an
d
m
o
v
in
g
o
b
j
ec
t.
W
h
en
th
e
P
I
R
s
en
s
o
r
d
etec
ts
h
u
m
a
n
p
r
esen
ce
,
it
w
ill
t
u
r
n
o
n
th
e
la
m
p
an
d
d
is
p
la
y
R
o
o
m
:
Y
(
y
es)
in
th
e
L
C
D
s
cr
ee
n
,
as s
h
o
w
n
i
n
Fi
g
u
r
e
5
.
Fig
u
r
e
5
.
P
I
R
Sen
s
o
r
E
x
p
er
i
m
en
t
T
ab
le
2
s
h
o
w
s
t
h
e
ex
p
er
i
m
e
n
tal
r
esu
lts
o
f
P
I
R
s
en
s
o
r
f
o
r
ea
ch
m
o
v
i
n
g
an
d
s
tatic
o
b
j
e
cts
f
o
r
1
0
Evaluation Warning : The document was created with Spire.PDF for Python.
I
SS
N
:
2
0
8
8
-
8708
I
n
t J
E
lec
&
C
o
m
p
E
n
g
,
Vo
l.
8
,
No
.
1
,
Feb
r
u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
2
g
a
s
s
en
s
o
r
was
s
elec
ted
in
o
u
r
r
esear
ch
d
u
e
to
its
ab
il
it
y
to
d
etec
t
g
as
lea
k
a
g
e,
s
u
c
h
as
L
P
G,
i
-
b
u
ta
n
e,
m
eth
a
n
e,
alco
h
o
l,
h
y
d
r
o
g
e
n
,
s
m
o
k
e,
etc.
T
h
e
s
en
s
o
r
s
e
n
s
it
iv
it
y
ca
n
b
e
ad
j
u
s
ted
b
y
th
e
p
o
ten
tio
m
eter
attac
h
ed
to
th
e
m
o
d
u
le.
Fi
g
u
r
e
6
s
h
o
w
s
t
h
e
MQ
2
g
as
s
e
n
s
o
r
ex
p
er
im
e
n
t.
Fro
m
MQ
2
d
atash
e
et,
it
w
a
s
f
o
u
n
d
t
h
at
t
h
e
h
i
g
h
e
r
th
e
an
alo
g
v
o
lta
g
e
r
ea
d
in
g
(
V
g
in
v
o
lt),
t
h
e
h
i
g
h
er
th
e
g
a
s
co
n
ce
n
tr
atio
n
(
C
i
n
p
p
m
)
as f
o
llo
w
s
:
(
3
)
T
h
e
u
n
it
o
f
g
as
co
n
ce
n
tr
atio
n
is
m
ea
s
u
r
ed
in
p
p
m
,
w
h
ic
h
i
s
th
e
m
o
s
t
co
m
m
o
n
u
n
i
t
o
f
m
ea
s
u
r
e
m
en
t
f
o
r
to
x
ic
g
a
s
es.
A
―
1
0
,
0
0
0
p
ar
ts
p
er
m
i
llio
n
‖
g
a
s
co
n
ce
n
t
r
atio
n
le
v
el
eq
u
a
ls
a
1
%
b
y
v
o
lu
m
e
e
x
p
o
s
u
r
e.
T
ab
le
3
p
r
esen
ts
th
e
g
as
s
e
n
s
o
r
test
r
esu
lts
f
o
r
f
i
v
e
tr
ial
s
th
a
t
h
av
e
b
ee
n
co
n
d
u
c
ted
in
t
h
e
n
o
r
m
al
s
u
r
r
o
u
n
d
i
n
g
,
f
la
m
e
g
as
a
n
d
p
er
f
u
m
e
e
n
v
ir
o
n
m
e
n
t.
I
t
ca
n
b
e
co
n
c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
ea
s
u
r
ed
d
is
tan
ce
,
a
s
s
h
o
w
n
i
n
F
ig
u
r
e
7
.
Fo
r
th
e
te
m
p
er
at
u
r
e
s
en
s
o
r
,
th
e
v
alu
e
o
f
te
m
p
er
atu
r
e
w
a
s
g
e
t
f
r
o
m
t
h
e
lib
r
ar
y
i
m
p
o
r
ted
to
th
e
A
r
d
u
in
o
an
d
th
e
v
al
u
e
is
in
o
C
.
T
h
e
t
e
m
p
er
atu
r
e
s
e
n
s
o
r
is
test
ed
in
r
o
o
m
te
m
p
er
at
u
r
e,
b
o
d
y
s
e
n
s
o
r
b
y
p
lacin
g
f
i
n
g
er
at
th
e
te
m
p
er
at
u
r
e
s
en
s
o
r
an
d
f
la
m
e
te
m
p
er
at
u
r
e
b
y
p
laci
n
g
li
g
h
ter
n
ea
r
to
th
e
te
m
p
er
atu
r
e
s
en
s
o
r
as
d
is
cu
s
s
ed
in
T
ab
le
4
.
Fr
o
m
t
h
is
e
x
p
er
im
e
n
t,
it
ca
n
b
e
c
o
n
clu
d
ed
th
at
t
h
e
s
elec
ted
t
e
m
p
er
atu
r
e
s
e
n
s
o
r
is
s
u
i
tab
le
to
m
ea
s
u
r
e
th
e
r
o
o
m
te
m
p
e
r
atu
r
e
o
n
a
n
o
r
m
a
l
co
n
d
itio
n
o
r
in
th
e
ca
s
e
o
f
e
m
er
g
en
c
y
.
Evaluation Warning : The document was created with Spire.PDF for Python.
I
n
t J
E
lec
&
C
o
m
p
E
n
g
I
SS
N:
2
0
8
8
-
8708
P
erfo
r
ma
n
ce
E
va
lu
a
tio
n
o
f S
ma
r
t H
o
me
S
ystem
u
s
in
g
I
n
tern
et
o
f Th
in
g
s
(
Ted
d
y
S
u
r
ya
G
u
n
a
w
a
n
)
405
(
a)
DHT
-
2
2
T
em
p
er
atu
r
e
Se
n
s
o
r
(
b
)
Hu
m
id
it
y
a
n
d
T
em
p
er
atu
r
e
Ser
ial
Mo
n
ito
r
R
ea
d
in
g
Fig
u
r
e
7
.
DH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b
e
th
e
s
a
m
e
to
en
ab
le
th
e
s
er
ial
co
m
m
u
n
icatio
n
.
T
h
e
A
r
d
u
in
o
m
u
s
t
b
e
s
u
p
p
lied
b
y
ex
ter
n
al
p
o
w
er
s
u
p
p
l
y
(
n
o
t
f
r
o
m
lap
to
p
USB
)
to
av
o
id
th
e
C
OM
p
o
r
t
co
n
f
lict
w
it
h
t
h
e
A
P
C
2
2
0
.
Ho
w
e
v
er
,
t
h
is
p
r
o
b
le
m
ca
n
b
e
o
v
er
co
m
e
b
y
ap
p
l
y
in
g
s
o
f
t
w
ar
e
s
er
ial
lib
r
ar
y
th
at
allo
w
s
A
P
C
2
2
0
t
o
b
e
co
n
n
ec
ted
to
d
ig
i
tal
p
in
6
an
d
7
in
s
tea
d
o
f
p
i
n
0
an
d
1
f
o
r
T
X
R
X
s
er
ial
co
m
m
u
n
icatio
n
.
I
n
th
e
e
x
p
er
i
m
en
t,
u
s
er
in
p
u
t
f
r
o
m
s
er
ial
m
o
n
ito
r
is
tr
an
s
m
it
ted
th
r
o
u
g
h
w
ir
eles
s
A
P
C
2
2
0
m
o
d
u
le
to
A
r
d
u
i
n
o
.
C
h
ar
ac
te
r
‗
g
‘
i
s
tr
an
s
m
itted
f
r
o
m
t
h
e
m
o
n
i
to
r
an
d
if
t
h
e
‗
g
‘
c
h
ar
ac
ter
is
r
ec
eiv
ed
at
A
r
d
u
i
n
o
,
it
w
ill
t
u
r
n
s
ON
t
h
e
f
an
as
s
h
o
w
n
i
n
F
ig
u
r
e
8
.
Fro
m
t
h
e
ex
p
er
i
m
en
t,
th
e
d
ata
ca
n
b
e
tr
a
n
s
m
itted
u
p
to
1
0
0
0
m
r
an
g
e
lin
e
o
f
s
i
g
h
t.
T
h
e
A
P
C
2
2
0
also
m
a
n
ag
ed
t
o
p
en
etr
ates
w
al
l
w
it
h
v
er
y
l
o
w
o
b
s
er
v
ed
d
ela
y
.
T
h
is
is
s
h
o
w
n
i
n
T
ab
le
5
,
in
w
h
ic
h
th
e
p
er
ce
n
tag
e
er
r
o
r
is
0
%
d
u
r
in
g
tr
an
s
m
is
s
io
n
o
f
1
0
m
eter
s
b
et
w
ee
n
li
n
e
o
f
s
i
g
h
t a
n
d
ac
r
o
s
s
b
u
ild
i
n
g
.
Fig
u
r
e
8
.
E
x
p
er
i
m
en
t u
s
in
g
AP
C
2
2
0
W
ir
eless
Mo
d
u
le
T
ab
le
5
.
E
x
p
er
im
e
n
tal
R
e
s
u
l
ts
o
f
A
P
C
2
2
0
W
ir
eless
C
o
m
m
u
n
icatio
n
Mo
d
u
le
S
c
e
n
a
r
i
o
N
o
o
f
t
r
i
a
l
s
S
u
c
c
e
ss
t
r
i
a
l
s
(
r
e
c
e
i
v
e
d
‗
g
‘
c
h
a
r
a
c
t
e
r
)
F
a
i
l
e
d
t
r
i
a
l
s
(
N
o
si
g
n
a
l
s re
c
e
i
v
e
d
)
%
Er
r
o
r
(
F
a
i
l
e
d
/
T
o
t
a
l
T
r
i
a
l
)
L
i
n
e
o
f
si
g
h
t
10
10
0
0
.
0
0
A
c
r
o
ss b
u
i
l
d
i
n
g
10
10
0
0
.
0
0
Evaluation Warning : The document was created with Spire.PDF for Python.
I
SS
N
:
2
0
8
8
-
8708
I
n
t J
E
lec
&
C
o
m
p
E
n
g
,
Vo
l.
8
,
No
.
1
,
Feb
r
u
ar
y
2
0
1
8
:
4
0
0
–
4
1
1
406
I
n
th
e
n
e
x
t
ex
p
er
i
m
en
t,
W
5
1
0
0
E
th
er
n
et
s
h
ield
i
s
p
lu
g
g
ed
i
n
to
th
e
A
r
d
u
in
o
b
o
ar
d
to
k
ee
p
th
e
USB
f
ea
t
u
r
es
an
d
A
r
d
u
i
n
o
g
en
er
al
p
u
r
p
o
s
e
b
o
ar
d
,
an
d
ad
d
s
E
th
er
n
et
n
et
w
o
r
k
co
n
n
ec
tiv
it
y
as
s
h
o
w
n
in
Fi
g
u
r
e
9
.
A
s
tan
d
ar
d
in
t
h
e
f
ir
m
w
ar
e
is
r
eq
u
ir
ed
to
allo
w
A
r
d
u
i
n
o
co
m
m
u
n
icate
s
o
v
er
th
e
E
th
er
n
e
t
ca
b
le,
an
d
m
o
r
e
g
en
er
all
y
o
v
er
a
n
E
th
er
n
et
n
et
w
o
r
k
.
T
h
e
s
h
ield
t
h
en
i
s
co
n
n
ec
ted
to
t
h
e
r
o
u
ter
u
s
in
g
a
s
tan
d
ar
d
eth
er
n
et
ca
b
le
R
J
4
5
co
n
n
ec
to
r
s
.
T
h
e
s
h
iel
d
m
u
s
t
b
e
ass
i
g
n
ed
a
MA
C
ad
d
r
ess
an
d
a
f
ix
ed
I
P
ad
d
r
ess
u
s
in
g
th
e
Ethernet.begin()
f
u
n
ct
io
n
.
A
M
AC
ad
d
r
ess
is
a
g
l
o
b
ally
u
n
iq
u
e
id
en
tifie
r
h
ar
d
w
ar
e
ad
d
r
ess
o
f
th
e
s
h
ield
.
Fo
r
th
i
s
e
x
p
er
i
m
e
n
t,
th
e
M
A
C
ad
d
r
ess
i
s
ta
k
e
n
f
r
o
m
th
e
A
r
d
u
i
n
o
lib
r
ar
y
,
w
h
ic
h
is
b
y
te
[
]
{
}
.
As
an
ex
a
m
p
le,
th
e
ac
q
u
ir
ed
I
P
a
d
d
r
ess
o
f
th
e
p
r
o
p
o
s
ed
SHC
S
i
s
1
9
2
.
1
6
8
.
1
3
7
.
2
.
T
h
en
,
th
e
I
P
ad
d
r
ess
is
u
s
ed
to
i
m
p
le
m
e
n
t
a
s
i
m
p
le
w
eb
s
er
v
er
b
ased
o
n
HT
ML
p
ag
e.
T
h
e
r
eq
u
ests
s
e
n
t
b
y
a
clien
t,
s
u
c
h
as
a
w
eb
b
r
o
w
s
er
ca
n
b
e
p
ar
s
ed
to
p
r
o
v
id
e
o
u
tp
u
t
f
r
o
m
t
h
e
ar
d
u
in
o
.
I
n
th
i
s
ex
p
er
i
m
en
t,
L
E
D
is
tu
r
n
o
n
o
r
o
f
f
b
y
e
n
ter
i
n
g
d
i
f
f
er
en
t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ld
.
T
h
u
s
p
r
o
tectin
g
th
e
h
o
u
s
e
in
SH
C
S
w
eb
s
i
te
f
r
o
m
u
n
a
u
t
h
o
r
ized
u
s
er
s
is
v
er
y
i
m
p
o
r
tan
t.
I
n
o
u
r
p
r
o
p
o
s
ed
s
y
s
te
m
,
w
e
d
o
s
i
m
p
le
P
I
N
p
r
o
tectio
n
o
f
t
h
e
SH
C
S
w
eb
s
ite.
Af
ter
th
e
I
P
ad
d
r
ess
is
e
n
ter
ed
at
th
e
b
r
o
w
s
er
,
u
s
er
n
ee
d
to
Evaluation Warning : The document was created with Spire.PDF for Python.
I
n
t J
E
lec
&
C
o
m
p
E
n
g
I
SS
N:
2
0
8
8
-
8708
P
erfo
r
ma
n
ce
E
va
lu
a
tio
n
o
f S
ma
r
t H
o
me
S
ystem
u
s
in
g
I
n
tern
et
o
f Th
in
g
s
(
Ted
d
y
S
u
r
ya
G
u
n
a
w
a
n
)
407
en
ter
a
co
r
r
ec
t
p
ass
w
o
r
d
b
y
p
r
ess
in
g
t
h
e
n
u
m
er
ic
b
u
tto
n
as
s
h
o
w
n
in
Fig
u
r
e
1
1
.
E
ac
h
b
u
tto
n
h
a
s
th
e
ir
o
w
n
n
a
m
e
a
n
d
v
a
lu
e.
T
o
r
ea
d
th
e
p
r
ess
ed
b
u
tto
n
,
t
h
e
UR
L
n
ee
d
to
b
e
p
ar
s
ed
b
ec
au
s
e
th
e
cl
ien
t
r
ea
d
th
e
U
R
L
ch
ar
ac
ter
b
y
c
h
ar
ac
ter
.
Fig
u
r
e
1
1
s
h
o
w
ed
th
at
t
h
e
UR
L
is
1
9
2
.
1
6
8
.
1
3
7
.
2
/
?b
=5
.
T
h
is
m
ea
n
s
b
u
tto
n
5
is
cu
r
r
en
tl
y
p
r
ess
ed
.
T
h
e
b
u
tto
n
5
is
p
r
o
g
r
am
m
ed
w
i
th
n
a
m
e
b
an
d
v
alu
e
5
,
as
s
h
o
w
n
in
th
e
ap
p
en
d
ix
co
d
e.
―
I
n
co
r
r
ec
t
p
ass
w
o
r
d
‖
m
es
s
ag
e
is
d
is
p
la
y
ed
b
ec
au
s
e
th
e
p
r
o
g
r
am
m
ed
P
I
N
is
‗
1
2
3
4
‘
.
Af
ter
t
h
e
u
s
er
i
s
au
th
e
n
tica
ted
an
d
au
t
h
o
r
ized
,
th
e
SH
C
S
m
ain
w
eb
p
ag
e
i
s
d
is
p
la
y
ed
an
d
u
s
er
ca
n
th
e
n
d
o
co
m
m
o
n
h
o
u
s
eh
o
ld
ope
r
atio
n
s
.
(
a)
PIN
k
e
y
p
ad
d
is
p
la
y
(
b
)
I
n
co
r
r
ec
t
P
I
N
d
is
p
lay
Fig
u
r
e
1
1
.
Si
m
p
le
P
I
N
Secu
r
it
y
f
o
r
S
m
ar
t H
o
m
e
S
y
s
te
m
T
ab
le
6
s
h
o
w
s
t
h
e
s
u
cc
ess
r
at
e
f
o
r
th
e
P
I
N
k
e
y
p
ad
i
n
f
o
u
r
ch
ar
ac
ter
len
g
t
h
.
A
s
ca
n
b
e
s
ee
n
in
th
e
tab
le,
th
e
p
er
ce
n
ta
g
e
o
f
s
u
cc
e
s
s
f
o
r
P
I
N
w
it
h
d
if
f
er
en
t
b
u
tto
n
n
u
m
b
er
h
a
v
e
th
e
h
i
g
h
est
s
u
cc
ess
r
ate,
w
h
ich
i
s
1
0
0
%.
P
I
N
th
at
h
av
e
s
a
m
e
b
u
tto
n
n
u
m
b
er
h
a
s
lo
w
er
s
u
cc
e
s
s
r
ate.
Ho
w
ev
er
,
t
h
is
r
es
u
lt
w
i
ll
d
ep
en
d
o
n
o
th
er
v
ar
iab
les
as
w
ell
s
u
c
h
as
t
h
e
s
p
ee
d
o
f
p
r
ess
in
g
t
h
e
b
u
tto
n
,
th
e
ti
m
e
d
u
r
atio
n
th
e
b
u
t
to
n
b
ei
n
g
h
eld
d
o
w
n
w
h
e
n
b
ein
g
p
r
ess
ed
an
d
o
th
er
s
.
T
h
is
m
ea
n
s
o
th
er
u
s
er
w
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B
u
tto
n
Valu
e
No
D
e
v
i
c
e
N
a
me
B
u
t
t
o
n
v
a
l
u
e
f
o
r
‗
O
N
‘
B
u
t
t
o
n
v
a
l
u
e
f
o
r
‗
O
F
F
‘
1
F
r
o
n
t
l
i
g
h
t
1
2
2
H
a
l
l
l
i
g
h
t
3
4
3
K
i
t
c
h
e
n
l
i
g
h
t
5
6
4
G
a
t
e
z
y
5
R
o
o
m l
i
g
h
t
x
w
6
T
o
i
l
e
t
l
i
g
h
t
v
u
7
B
l
i
n
d
t
s
8
F
a
n
r
m
Evaluation Warning : The document was created with Spire.PDF for Python.
I
SS
N
:
2
0
8
8
-
8708
I
n
t J
E
lec
&
C
o
m
p
E
n
g
,
Vo
l.
8
,
No
.
1
,
Feb
r
u
ar
y
2
0
1
8
:
4
0
0
–
4
1
1
408
(
a)
Hall
L
ig
h
t O
n
(
b
)
Fan
On
(
c)
B
lin
d
C
lo
s
e
(
d
)
Gate
Op
en
Fig
u
r
e
1
2
.
E
x
a
m
p
les o
f
S
w
itc
h
in
g
ON
/OFF
(
Op
e
n
/C
lo
s
e)
o
f
Var
io
u
s
Ho
m
e
A
p
p
lian
ce
s
4
.
3
.
Sens
o
rs Re
a
di
ng
a
nd
M
o
nit
o
ring
T
h
e
SHC
S
n
o
ti
f
ica
tio
n
co
n
s
is
ts
o
f
L
C
D
a
n
d
w
eb
s
ite
to
d
is
p
lay
th
e
e
m
er
g
e
n
c
y
o
cc
u
r
,
s
u
ch
as
g
a
s
leak
ag
e,
f
ir
e,
o
r
in
tr
u
d
er
.
T
h
e
L
C
D
is
p
lace
d
at
th
e
h
o
u
s
e
w
all
to
ea
s
e
h
o
m
e
m
o
n
i
to
r
in
g
w
h
e
n
u
s
er
is
i
n
t
h
e
h
o
u
s
e.
As
s
h
o
w
n
in
Fig
u
r
e
1
3
,
all
i
m
p
o
r
tan
t
d
ata
o
f
c
u
r
r
en
t
s
e
n
s
o
r
,
g
a
s
s
e
n
s
o
r
,
te
m
p
er
a
tu
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tate,
it
tu
r
n
s
o
n
th
e
tr
an
s
is
to
r
,
w
h
ich
i
n
t
u
r
n
en
er
g
ize
s
th
e
r
ela
y
‘
s
co
il.
T
h
en
,
th
e
r
ela
y
‘
s
s
w
i
tch
co
n
tact
s
ar
e
clo
s
ed
.
T
h
is
co
n
n
ec
t
s
th
e
r
ela
y
‘
s
C
O
M
p
in
to
th
e
NO
(
No
r
m
all
y
Op
en
)
p
in
an
d
tu
r
n
ON
t
h
e
A
C
la
m
p
.
Evaluation Warning : The document was created with Spire.PDF for Python.
I
n
t J
E
lec
&
C
o
m
p
E
n
g
I
SS
N:
2
0
8
8
-
8708
P
erfo
r
ma
n
ce
E
va
lu
a
tio
n
o
f S
ma
r
t H
o
me
S
ystem
u
s
in
g
I
n
tern
et
o
f Th
in
g
s
(
Ted
d
y
S
u
r
ya
G
u
n
a
w
a
n
)
409
Fig
u
r
e
1
4
.
E
x
a
m
p
le
o
f
S
w
i
tch
in
g
ON/OF
F a
n
AC
L
a
m
p
(
a)
C
ir
cu
it C
o
n
n
ec
t
io
n
o
f
AC
L
a
m
p
(
b
)
R
elay
Sch
e
m
atic
D
iag
r
a
m
Fig
u
r
e
1
5
.
A
C
L
a
m
p
a
n
d
R
ela
y
C
ir
c
u
its
4
.
5
.
So
la
r
Cha
rg
er
Circ
uit
T
h
e
s
o
lar
p
an
el
h
ar
v
e
s
t
th
e
s
o
lar
en
er
g
y
an
d
t
h
e
co
llected
e
n
er
g
y
w
i
ll
b
e
s
to
r
ed
in
to
th
e
b
atter
ies
v
ia
a
s
o
lar
ch
ar
g
er
co
n
tr
o
ller
w
h
i
ch
is
a
DC
to
D
C
co
n
v
er
ter
.
T
h
e
D
C
to
A
C
i
n
v
er
ter
allo
w
s
t
h
e
s
to
r
ed
en
er
g
y
t
o
b
e
g
en
er
ate
to
th
e
av
ailab
le
ap
p
licatio
n
s
u
s
a
g
e.
T
h
e
s
o
lar
c
h
ar
g
er
cir
cu
it,
as
s
h
o
w
n
i
n
Fi
g
u
r
e
1
6
,
co
n
tr
o
ls
th
e
h
ar
v
e
s
tin
g
o
f
s
o
lar
en
er
g
y
a
n
d
s
to
r
in
g
t
h
e
co
llected
en
er
g
y
to
th
e
s
to
r
ag
e
b
atter
ies.
T
h
e
s
o
lar
ch
ar
g
er
co
n
tr
o
ller
co
n
s
is
t
s
o
f
th
r
ee
c
h
ar
g
i
n
g
s
ta
g
e
w
h
ic
h
ar
e
b
u
lk
,
ab
s
o
r
p
tio
n
an
d
f
lo
at.
T
h
e
b
atter
y
is
r
ec
h
ar
g
ed
w
h
e
n
it
is
i
n
t
h
e
b
u
l
k
a
n
d
f
l
o
at
s
tag
e.
B
esid
es
t
h
at,
th
e
L
C
D
is
u
s
ed
as
b
atter
y
ch
ar
g
i
n
g
i
n
d
icato
r
w
h
ic
h
in
d
icate
s
t
h
e
b
atter
y
v
o
lta
g
e
s
tate.
Mo
r
eo
v
er
,
it
also
h
a
v
e
a
b
u
ilt
-
in
p
r
o
tectio
n
cir
c
u
it
w
h
ic
h
p
r
o
tects
th
e
co
n
tr
o
ller
f
r
o
m
o
v
er
ch
ar
g
in
g
an
d
d
is
ch
ar
g
in
g
p
lu
s
r
ev
er
s
e
p
r
o
tec
tio
n
f
o
r
th
e
b
atter
y
.
(
a)
1
2
V
s
o
lar
p
an
el
(
b
)
T
h
r
ee
s
tag
es o
f
c
h
ar
g
i
n
g
Fig
u
r
e
1
6
.
So
lar
P
an
el
Used
a
n
d
Stag
e
s
o
f
C
h
ar
g
in
g
Evaluation Warning : The document was created with Spire.PDF for Python.