ATC_MiThermometer
ATC_MiThermometer copied to clipboard
Custom firmware reports incorrect humidity
The MI LYWSD03MMC with the REL 38 firmware the display shows the wrong humidity after minutes after power-on. On average the value on the display is 5% up to 10% lower that the actual value.
This can be simulated: -remove the battery -replace the battery -correct humidity is on the display -wait 6 cycles between humidity and battery display rotation -after cycle 6 the wrong humidity is displayed -also the wrong value is passed to bluetooth and home assistant
tested with multiple sensors.
Hey,
the 5% is the "normal" offset from this Firmware,
the custom firmware does calculations on the sensor data which is not done by the custom firmware. it was the offset setting added to be able to make a custom offset if it is disturbing.
the custom firmware uses the sensor values directly from the sensor
If i understand correctly, the custom firmware always displays the wrong value and needs always to be adjusted manually? Is it possible to add code to the firmware to add an adjustment of 10% by default?
Correct.
You can set the offset via the flashing website
Is it possible to add code to the firmware to add an adjustment of 10% by default?
Sure you could add such a function quite simple in the code :)
Thanks for the great code an the help !!
Sure you could add such a function quite simple in the code :)
Is this issued on the list for the next firmware release?
I am not actively working on the firmware right now.
Also the offset is not a default needed value so i will leave it like it is, everyone can set its own offset via the flasher if needed
i have tuned the MI's with the offset. Works great :) Keep up the good work.....
I'm a bit confused by this one. If original firmware adds 5% to sensor's reading, what is the real humidity value? What sensor reports, or sensor + 5%? Which one is the closest to the real world value?