From here we can look up the water level corresponding to the measured distance of the sensor by the formula:
Y =
aX + b.
Where: X is the measured distance (mm) and Y is the level (‰)
Distance (mm)
Level (‰)
280
1000
500
919
1000
735
1500
552
2000
368
2500
184
3000
0
Use the offline configuration tool to configure sigfox sensor. Write in the sensor the parameters a and b.
The following is the format of payload data will be sent to Sigfox server. Length is 4 bytes.
Sensor type (1 byte)
Status (1 byte)
1 st - Parameter (2 bytes)
2nd - Parameter (2 bytes)
Meaning of Data in the Payload
Data
Size (byte)
Bit
Format
Meaning
Sensor type
1
all
Uint8
Sensor type = 0x0E
means
ULB_ULC sensor
Status: battery level
1
Bit 7 and 6
Uint8
Battery capacity in
04 levels
11: battery
level 4 (99%)
10: battery
level 3 (60%)
01: battery
level 2 (30%)
00: battery
level 1 (10%)
Status: error
Bit 5 and 4
Node status
01: error
00: no error
for more details.
5.7 Payload Data