YO H2O
User guide
v1.2
page 26/26
Payload description
If you want to connect to your own server you have to decode the payload specific to each device. To
do this you need a payload decoder which can be downloaded from
. Extended
documentation of the protocol can be found at
. An exemplary payload produced
by YO H2O is presented below with division into each measurement marked together with decoded
values whose interpretation is described in the Payload description document.
Example of YO H2O payload with description:
02:00:00:00:04:00:00:00:41:00:05:ff:fe:00:1e:00:74:08:00:01:0b:b8:0d:00:01:01:0e:10:00:00:21
Payload header
First measurement (flood sensor state)
0x02
0x00
0x00
0x00
0x04
0x00
0x00
0x00
ver = 2
cnt = 0
pct [s] = 0
type = 1
prec = 0
md [s] = 0
addr_len = 0
meas_len = 1
val = 0
(0[-])
Second measurement (accelerometer angle)
0x41
0x00
0x05
0xFF
0xFE
0x00
0x1E
0x00
0x74
type = 16
prec = 1
md [s] = 0
addr_len = 0
meas_len = 6
val= -2
(-0,2[°])
val = 30
(3,0 [°])
val = 116
(11,6[°C])
Third measurement (battery voltage)
0x08
0x00
0x01
0x0B
0xB8
type = 2
prec = 0
md [s] = 0
addr_len = 0
meas_len = 2
val = 3000
(3000 [mV])
Fourth measurement (temperature)
0x0D
0x00
0x01
0x01
0x0E
type = 3
prec = 1
md [s] = 0
addr_len = 0
meas_len = 2
val = 270
(27[°C])
Fifth measurement (relative humidity)
0x10
0x00
0x00
0x21
type = 4
prec = 0
md [s] = 0
addr_len = 0
meas_len = 1
val = 33
(33[%])