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.
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.
The allowed range is -25.5... 25.5°C (0.1°C resolution).
Measured humidity compensation
This command is used to set/get the measured humidity compensation in %.
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.
The allowed range is -99... 99% (1% resolution).
Last updated
Was this helpful?