WEBVTT

1
00:00:00.200 --> 00:00:03.839
There is great confusion about the term
smart device for the home, because a

2
00:00:03.960 --> 00:00:08.240
device alone is difficult for it to
be smart, because when we talk about

3
00:00:08.279 --> 00:00:13.240
smart devices for the home, we
refer to domotic devices capable of communicating with

4
00:00:13.279 --> 00:00:18.399
other devices through a domotic controller as
a Joomasist. This is what really gives

5
00:00:18.480 --> 00:00:22.480
a set of devices something like intelligence, although in reality intelligence we have to

6
00:00:22.519 --> 00:00:27.719
put it ourselves. And for a
system to be catalogued as such, it

7
00:00:28.079 --> 00:00:32.719
is essential to have two types of
devices, those that are able to capture

8
00:00:32.799 --> 00:00:36.960
information from the environment through sensors and
those that are able to perform actions on

9
00:00:37.000 --> 00:00:41.520
electrical things or appliances through actuators and
get to have an intelligent system is that

10
00:00:41.560 --> 00:00:46.119
some communicate with others so that they
automate tasks of our house, like if

11
00:00:46.200 --> 00:00:50.439
they hate water under the sink,
that they send a notification to the flood

12
00:00:50.479 --> 00:00:55.000
cell, if it is very windy
or it is raining, that they pick

13
00:00:55.039 --> 00:00:58.280
up the awnings or the blinds or
if it is eleven o' clock on

14
00:00:58.320 --> 00:01:02.280
Saturday night that puts a romantic light
and enig en annexa to this type of

15
00:01:02.280 --> 00:01:07.079
intelligence. We mean smart devices for
the home. Let the sensors detect something

16
00:01:07.200 --> 00:01:11.239
and inform the automatic server to send
orders to the actuators and do something automatically.

17
00:01:14.200 --> 00:01:17.200
It' s the basis of any
home automation system. The automations.

18
00:01:17.680 --> 00:01:23.000
Hence the importance of domestic devices is
intelligent devices. In another chapter I will

19
00:01:23.000 --> 00:01:29.040
talk about automations more in depth,
because today I want to focus precisely on

20
00:01:29.439 --> 00:01:34.280
this, on the types of domestic
devices, whether sensors or actuators, because

21
00:01:34.439 --> 00:01:40.239
although there are hundreds of smart devices
for the home and these can be classified

22
00:01:40.280 --> 00:01:44.599
into sensors and actuators, all can
be grouped into two large groups, those

23
00:01:44.599 --> 00:01:47.680
that depend on the Internet, the
manufacturers and the servers and those that,

24
00:01:47.799 --> 00:01:51.200
in other words, not those that
subject you and to which you can submit.

25
00:01:52.640 --> 00:01:56.959
Although to get here first we'
re going to have to differentiate the

26
00:01:57.040 --> 00:02:06.719
smart devices that function as sensors and
those that function as actuators. Welcome to

27
00:02:06.719 --> 00:02:09.919
technology for everyone, the podcast where
I talk about ardui and not home automation

28
00:02:09.919 --> 00:02:14.400
programming, and everything related to Mikel' s movement my name, Luis del

29
00:02:14.479 --> 00:02:17.120
Valle, and you can find me
on the Internet in easy programming. I

30
00:02:17.840 --> 00:02:22.840
' m going to start by talking
about the domotic devices that function as sensors,

31
00:02:23.120 --> 00:02:27.039
and it' s that a sensor
is nothing more than an apparatus capable

32
00:02:27.159 --> 00:02:30.000
of measuring different physical or chemical magnitudes
and transforming them into another easy- to

33
00:02:30.000 --> 00:02:35.039
- understand magnitude. We can think
of technical, acoustic or magnetic sensors,

34
00:02:35.159 --> 00:02:38.840
for example, their function is to
capture a physical magnitude to convert it into

35
00:02:39.080 --> 00:02:45.120
an electrical signal and then into a
digital or analog signal for easy understanding and

36
00:02:45.120 --> 00:02:49.479
treatment. Then there are the automatic
actuating devices. An actuator makes the reverse

37
00:02:49.560 --> 00:02:53.800
path because, starting from a digital
or analog signal, it converts it into

38
00:02:53.879 --> 00:02:58.879
a physical magnitude, such as luminous
intensity, force or magnetic field. The

39
00:02:59.479 --> 00:03:04.479
actuator we are going to use in
domotics are certainly the relays that when it

40
00:03:04.520 --> 00:03:08.680
receives a signal, it energizes a
coil to separate or join a contact and

41
00:03:08.719 --> 00:03:12.960
thus allow to flow the alternating current. And this will allow us to turn

42
00:03:13.039 --> 00:03:16.120
on or off electrical appliances, such
as the home bulb, but it can

43
00:03:16.199 --> 00:03:21.120
also be treated as actuators, a
smart speaker, a motor or a screen.

44
00:03:21.360 --> 00:03:24.039
Having this in mind, we need
to understand what the function of a

45
00:03:24.280 --> 00:03:29.439
home automation device is, because if
we install a home automation device, whether

46
00:03:29.479 --> 00:03:32.639
it' s a sensor or an
actuator, and we don' t connect

47
00:03:32.639 --> 00:03:36.680
it to the tomotic server, like
Homa Eastan, it won' t be

48
00:03:36.680 --> 00:03:37.560
able to interact with the rest of
the devices. I mean, if you

49
00:03:37.639 --> 00:03:40.520
don' t send the temperature sensor
data from the fridge to the server,

50
00:03:42.039 --> 00:03:45.800
it' s hard for me to
warn you in case the temperature is too

51
00:03:45.800 --> 00:03:49.599
high. To get all this,
we' re going to need to connect

52
00:03:49.639 --> 00:03:53.280
the devices to the same data network
as the topotic server. And here comes

53
00:03:53.400 --> 00:03:57.080
the first breakthrough of free home controllers, because, by being installed in your

54
00:03:57.120 --> 00:04:00.240
own home, if the need to
connect to the Internet, it is possible

55
00:04:00.319 --> 00:04:05.280
to communicate all devices through your own
local network. This does not happen with

56
00:04:05.280 --> 00:04:09.960
all tomatic devices, because, as
we will see later. There are devices

57
00:04:10.080 --> 00:04:14.000
that require an Internet connection to work, but either send the data over the

58
00:04:14.080 --> 00:04:16.920
Internet or through your home' s
local network. All devices must be sensors

59
00:04:16.959 --> 00:04:25.800
or actuators, communicate with the server
and communication technologies must be interconnected. There

60
00:04:25.839 --> 00:04:30.720
are many whitfie ethernet TZIG, bet, WATHREAT, Radio mater, frequency,

61
00:04:30.399 --> 00:04:33.879
Plutoth infrared. The list can be
very large and, depending on the type

62
00:04:33.959 --> 00:04:39.639
of device, will use one technology
or another, although the important thing is

63
00:04:39.639 --> 00:04:43.279
that many of them can be integrated
with Homasistant. So let' s recap

64
00:04:43.360 --> 00:04:46.920
what we have so far. Domotic
devices can be sensors or actuators. Sensors

65
00:04:46.920 --> 00:04:51.800
collect information from the environment to send
it to the home automation controller and actuators

66
00:04:51.839 --> 00:05:00.000
receive information from the home automation controller
for actions on electrical things or appliances.

67
00:05:00.040 --> 00:05:02.519
A few examples that when the fridge
sensor reports that the temperature is very high,

68
00:05:02.920 --> 00:05:06.519
I send a message to the phone
saying abnormally you have left the door

69
00:05:06.560 --> 00:05:11.839
open again. That when the test
presence sensor someone comes in loaded with shopping

70
00:05:12.040 --> 00:05:17.399
bags home, the hallway light turns
on automatically. Or what is the flood

71
00:05:17.439 --> 00:05:24.120
sensor of testac water cut water by
activating an electrovalvula. And all this is

72
00:05:24.199 --> 00:05:29.120
possible thanks to automations, which basically
what they do is listen to the sensors

73
00:05:29.160 --> 00:05:33.319
and according to rules determined by us, of course, sends signals to the

74
00:05:33.360 --> 00:05:39.439
actuators. And although we can have
domotic devices like sensors and actuators and they

75
00:05:39.519 --> 00:05:45.639
can use different communication technologies, all
absolutely all can be divided into two large

76
00:05:45.720 --> 00:05:48.639
groups, devices that depend on the
Internet and servers, manufacturers and devices that

77
00:05:48.680 --> 00:05:56.600
do not depend. Go start talking
about the dependent domotic devices to see that

78
00:05:57.040 --> 00:05:59.920
' s how we all started.
I mean, it' s normal instead

79
00:06:00.079 --> 00:06:03.279
of tsar with home automation buying a
device that depends on the manufacturers, for

80
00:06:03.279 --> 00:06:06.759
example, you have a lamp in
the living room and you' re the

81
00:06:06.800 --> 00:06:12.279
very thing about having to bend down
the back and understand it every night and

82
00:06:12.279 --> 00:06:14.519
then have to turn it off.
When you go to sleep in this situation,

83
00:06:14.839 --> 00:06:17.240
it is normal to enter Amazon and
buy a plug of those that call

84
00:06:17.399 --> 00:06:21.000
intelligent and, once the device arrives
home, you install it, download it

85
00:06:21.079 --> 00:06:26.879
and configure the app on your mobile
and turn on and off the light from

86
00:06:26.879 --> 00:06:30.240
the app. And that' s
fine, because you avoid having to bend

87
00:06:30.319 --> 00:06:32.759
your back. Besides, you'
ll be able to turn off the light

88
00:06:32.759 --> 00:06:35.519
from the comfort of the bed.
But this is neither automatic nor intelligent,

89
00:06:36.120 --> 00:06:41.759
because home automation, as its name
rightly says, is designed to make things

90
00:06:41.800 --> 00:06:46.160
work alone that is all automatic.
And maybe, with a little luck,

91
00:06:46.480 --> 00:06:50.040
the app you' ve installed will
allow you to do some automation or you

92
00:06:50.040 --> 00:06:56.279
can even integrate it into some smart
speaker like Alexa or Google hom and create

93
00:06:56.319 --> 00:06:59.800
some kind of automation that allows you
to turn it on at six o'

94
00:06:59.800 --> 00:07:00.959
clock and turn it off at the. But what if one day you stay

95
00:07:01.040 --> 00:07:06.160
on the Internet or fail the servers
or retire the ceo of the company that

96
00:07:06.720 --> 00:07:12.439
it is your turn to bend the
back aside from having to connect to a

97
00:07:12.480 --> 00:07:15.160
server that is ten zero kilometers away
to light a light that is less than

98
00:07:15.199 --> 00:07:17.639
a meter away, what do you
want me to tell you. I see

99
00:07:17.680 --> 00:07:21.839
it as absurd not to mention the
mess of applications that you can get to

100
00:07:21.839 --> 00:07:27.240
have, because each manufacturer uses its
own application that is incompatible with the rest

101
00:07:27.279 --> 00:07:30.800
of applications. And for you to
understand the concept of manufacturer dependence, let

102
00:07:30.879 --> 00:07:33.279
' s see an example of the
process that follows the information. When we

103
00:07:33.319 --> 00:07:38.360
want to turn on the light with
these types of devices, the first thing

104
00:07:38.399 --> 00:07:41.639
we would do is take out the
mobile and give the light button, and

105
00:07:41.680 --> 00:07:44.240
this what it does is send the
command to the server over the Internet.

106
00:07:44.839 --> 00:07:49.120
Then, thousands of miles away,
the server receives that command from the ignition

107
00:07:49.120 --> 00:07:54.240
after locating the device. Hey it' s here on this ipeo or I

108
00:07:54.360 --> 00:07:59.199
have to communicate with this particular device
send back the command to your home towards

109
00:07:59.439 --> 00:08:03.480
the same device or by branding the
Internet. Finally, the device receives the

110
00:08:03.519 --> 00:08:07.439
order and turns on. Let'
s go that to turn on a light,

111
00:08:07.560 --> 00:08:11.279
the command has to cross half a
planet and this is the typical operation

112
00:08:11.360 --> 00:08:16.439
of any device that could be helly
Phillips or softhies, to give a few

113
00:08:16.519 --> 00:08:20.439
examples, because if you use them
just by buying them without modifying them,

114
00:08:20.639 --> 00:08:22.680
they depend on the Internet and the
server is operational. So, if there

115
00:08:22.720 --> 00:08:26.240
' s a zombie apocalypse and the
Internet goes to hell or if the servers

116
00:08:26.240 --> 00:08:31.480
burn or the company closes because the
ceo retires, your devices stop working and

117
00:08:31.480 --> 00:08:35.960
your home automation system if you only
use these types of devices stops working.

118
00:08:35.960 --> 00:08:41.120
So what do we do with these
devices. I mean, you may already

119
00:08:41.159 --> 00:08:45.039
have some device of this kind installed
at home and you want to urge homassist,

120
00:08:45.200 --> 00:08:46.240
but you don' t know very
well what to do with them.

121
00:08:46.399 --> 00:08:50.279
You throw them to the clean spot
in which container they go, because quiet,

122
00:08:50.879 --> 00:08:54.960
most likely you don' t have
to throw them anywhere. You'

123
00:08:54.080 --> 00:08:56.559
re interested in learning more about this. Well, I' ll explain this

124
00:08:56.639 --> 00:09:01.360
in another chapter of the podcast,
because now we' re going to talk

125
00:09:01.399 --> 00:09:05.600
about the other types of devices,
the independent ones. If a dependent home

126
00:09:05.679 --> 00:09:09.120
automation device requires the Internet and the
manufacturers' servers, the independents only need

127
00:09:09.200 --> 00:09:15.000
two things that depend exclusively on IT, a local data network, such as

128
00:09:15.080 --> 00:09:18.159
the WiFi network, but it can
also be decid B and ZETA, WABE

129
00:09:18.240 --> 00:09:22.320
or any other type of network and
a TOP controller like homa sesta have installed

130
00:09:22.519 --> 00:09:26.879
on your own server. Therefore,
independent devices do not need the Internet,

131
00:09:26.000 --> 00:09:30.840
they do not depend on the servers
of the manufacturers, because they communicate with

132
00:09:30.960 --> 00:09:35.000
your own server and your data.
They' re always safe in your home

133
00:09:35.080 --> 00:09:39.480
automation system,' cause what do
you want me to tell you that a

134
00:09:39.480 --> 00:09:41.240
company knows when I' m shitting, when I open the fridge when I

135
00:09:41.360 --> 00:09:43.960
get home, it' s not
fucking funny to me. And this is

136
00:09:43.000 --> 00:09:48.320
achieved in a very simple way,
if you manage to modify the dependent devices

137
00:09:48.360 --> 00:09:50.879
in any way so that, instead
of sending the data to the server,

138
00:09:52.320 --> 00:09:54.799
you send them directly to your home
automation server. This makes the process of

139
00:09:54.840 --> 00:09:58.200
communicating with the server very different,
because, instead of sending the data to

140
00:09:58.240 --> 00:10:01.519
external server over the Internet, which
may be in a Vietnam jungle, the

141
00:10:01.600 --> 00:10:05.159
whole process takes place inside your home, without relying on the Internet, without

142
00:10:05.200 --> 00:10:09.919
depending on the servers, the manufacturers
or if the ceo retires, getting a

143
00:10:09.960 --> 00:10:18.120
totally private system, because the data
never leaves your home. But how we

144
00:10:18.200 --> 00:10:22.679
can turn a dependent device into an
independent one. I' ll talk in

145
00:10:22.679 --> 00:10:26.159
another chapter. For the moment we
leave it here, but first let'

146
00:10:26.240 --> 00:10:28.960
s take a look at everything we' ve seen in this chapter. We

147
00:10:28.039 --> 00:10:33.720
started the chapter by seeing that there
are two types of devices, sensors and

148
00:10:33.720 --> 00:10:37.559
actuators. Sensors are responsible for collecting
information from the environment to be sent to

149
00:10:37.600 --> 00:10:41.840
the home automation server. Actuators are
responsible for acting on things or devices when

150
00:10:41.919 --> 00:10:46.759
they receive information from the home server. For both sensors and actuators to communicate

151
00:10:46.759 --> 00:10:52.559
with the home automation server, technologies
such as WiFi, ETHERNETHIC or tzig B,

152
00:10:52.679 --> 00:10:56.399
among others, are used. Each
device can use one or more of

153
00:10:56.440 --> 00:11:00.919
these technologies. The objective is that
through the home automation server, sensors and

154
00:11:00.919 --> 00:11:05.879
actuators are in constant communication. This
will allow us to perform automations as if

155
00:11:05.919 --> 00:11:09.240
the test water flood sensor closes the
valve if it raises the temperature of the

156
00:11:09.279 --> 00:11:13.559
refrigerator that sends an open door message, or if the test door sensor that

157
00:11:13.559 --> 00:11:18.279
has been opened makes a siren sound. And all this is achieved through automations.

158
00:11:18.559 --> 00:11:22.600
The essence of any dopmotic system,
whether a device, sensor or actuator

159
00:11:22.679 --> 00:11:26.960
that uses one communication technology or another, can all be divided into two large

160
00:11:28.039 --> 00:11:31.720
groups, those that depend on manufacturers
and those that do not. Manufacturer-

161
00:11:33.480 --> 00:11:37.039
dependent devices need to have an Internet
connection and the manufacturer' s server is

162
00:11:37.080 --> 00:11:43.679
operational. If any of this fails, it stops working and independent devices do

163
00:11:43.720 --> 00:11:48.080
not need internet connection or manufacturers'
servers because they communicate through your local network,

164
00:11:48.480 --> 00:11:54.919
your home, your own automatic server. Everything remains at home and so

165
00:11:54.960 --> 00:11:58.120
far today' s chapter. In
the next one I' ll go into

166
00:11:58.159 --> 00:12:01.639
the devices that depend on the manufacturers
and why you shouldn' t throw them

167
00:12:01.639 --> 00:12:05.320
away. We leave this for next
week. As I always say, we

168
00:12:05.320 --> 00:12:18.960
listen very soon. Don' t
miss the date and remember to be happy

