Temperature and humidity compensation
Measured temperature compensation
This command is used to set/get the measured temperature compensation in °C.
The actual keepalive payload is omitted for clarity.
This command/functionality is supported only for devices with Firmware version ≥2.2
Byte index
Hex value - Meaning
0
31 - command code
1
00: Positive compensation 01: Negative compensation
2
XX - Tcomp[°C] * 10 Default: 0x00
Example command: 0x31000F – When we separate the value of the temperature from the command code we get 0x000F, which means positive compensation of 1.5°C. Thus, if the real measured temperature is 25, the device will report 26.5.
Byte index
Hex value - Meaning
0
32 - command code
1
00: Positive compensation 01: Negative compensation
2
XX - Tcomp[°C] * 10
Example command: 0x32
Example command: 0x320103 – When we separate the value of the temperature from the command code we get 0x000F, which means negative compensation of 0.5°C. Thus, if the real measured temperature is 25, the device will report 24.7.
Measured humidity compensation
This command is used to set/get the measured humidity compensation in %.
This command/functionality is supported only for devices with Firmware version ≥2.2
The actual keepalive payload is omitted for clarity.
Byte index
Hex value - Meaning
0
33 - command code
1
00: Positive compensation 01: Negative compensation
2
XX - Hcomp[%] * 10 Default: 0x00
Example command: 0x310005 – When we separate the value of the humidity from the command code we get 0x0005, which means positive compensation of 5%. Thus, if the real measured humidity is 55, the device will report 60.
Byte index
Hex value - Meaning
0
34 - command code
1
00: Positive compensation 01: Negative compensation
2
XX - Hcomp[%] * 10
Example command: 0x32
Example command: 0x320103 – When we separate the value of the humidity from the command code we get 0x0003, which means negative compensation of 3%. Thus, if the real measured humidity is 50, the device will report 47.
Last updated
Was this helpful?