Humidity sensor- xiaomi mijia?

I got this one from amazon for 280 rs
It takes way longer to update the temperature readings, there are products on Amazon which mention 10 seconds update time, my lg ac is reporting 28C atm but this product is reporting 31.5C, the humidity values changes almost instantly but that's not the case with temp reading

i saw a video of the HTC2 model in which it seems like the temperature is updating in real time

There's also the temperature only one :
 
Soo I was looking to get a humidity sensor..

The 200 rs ones on amazon seems to be pretty much trash. For 1000 rs there is a displayless Tapo one (but it needs a hub to work), a "Thermopro" one with display. Found a 2 pack Xiaomi mijia from banggood. Has anyone else here used this particular model from xiaomi?
Yep, they're great. They even have bluetooth and broadcast LE packets. Flashable OTA with a custom firmware that lets you disable encryption and mi specific things (https://atc1441.github.io/TelinkFlasher.html). Once flashed they can be added to ESPHome (esp32 with bluetooth) (can be added without flashing but you need to find the encryption key) to ingest data into home assistant (they report temp, humidity, battery level, battery voltage). I have 5 of these across 2 households and they've been working great, battery lasts more than a year. The data from home assistant ends up in grafana for alerting (dry cabinet for camera and lenses, battery low alerts).
 

Attachments

  • 20250530_111139.jpg
    20250530_111139.jpg
    244.9 KB · Views: 36
  • Screenshot_20250530_111654_Firefox.png
    Screenshot_20250530_111654_Firefox.png
    182.5 KB · Views: 31
  • AISelect_20250530_111833_Firefox.png
    AISelect_20250530_111833_Firefox.png
    118 KB · Views: 34
Yep, they're great. They even have bluetooth and broadcast LE packets. Flashable OTA with a custom firmware that lets you disable encryption and mi specific things (https://atc1441.github.io/TelinkFlasher.html). Once flashed they can be added to ESPHome (esp32 with bluetooth) (can be added without flashing but you need to find the encryption key) to ingest data into home assistant (they report temp, humidity, battery level, battery voltage). I have 5 of these across 2 households and they've been working great, battery lasts more than a year. The data from home assistant ends up in grafana for alerting (dry cabinet for camera and lenses, battery low alerts).
where did you get these mi ones from?
and how frequent are the updates for it,for example how long does it takes to show the actual temperature if u keep the the device inside refrigerator


Anyone used this site?
 
Last edited:
where did you get these mi ones from?
Banggood and ebay.com

and how frequent are the updates for it,for example how long does it takes to show the actual temperature if u keep the the device inside refrigerator
Once every few seconds on the display, bluetooth broadcasts are infrequent, maybe once every minute if the signal is good. The sensors are not sealed, so I doubt they'll survive inside a fridge. And the fridge being a big metal cage bluetooth signal probably won't pass either.
 
thanks for responding everyone

@ze_cook according to this guy video, OTA flashing isn't possible now (see pinned comment). Did you buy yours before this update? and what was the price you bought it for?
Currently the cheapest (albeit unavailable) option is aliexpress (around 250 per unit), and next cheapest is the banggood one 1 linked; 1000 for 2 units.
Oh and when you connected it to the mi home app did you need to change region to China? (a reviewer in banggood page says so)
 
according to this guy video, OTA flashing isn't possible now (see pinned comment).
A reply to that comment links to a video by the dev (
) that shows there's a new exploit that still works OTA.
Did you buy yours before this update? and what was the price you bought it for?
Currently the cheapest (albeit unavailable) option is aliexpress (around 250 per unit), and next cheapest is the banggood one 1 linked; 1000 for 2 units.
Don't remember my banggood order, but was around 1k for 2 on ebay. AFAIK Aliexpress won't ship to india, so banggood is you next best bet.
Oh and when you connected it to the mi home app did you need to change region to China? (a reviewer in banggood page says so)
Never connected them to the mi app. The earlier firmware didn't require this step to be flashed with a custom firmware.
 
Anyone used this site?
^This was available back then but I don't think it's as reliable as the one I got going by the reviews at the time.

I picked one up from Amazon years ago by Acurite for 3k. Arrived just before the pandemic.

  • Measures indoor temperature and humidity from -4 to 158°F (-20 to 70°C) and 1-99% RH
  • Professional accuracy: +/- 0.5°F, +/- 2% RH with manual calibration option
^that's why it costs as much. Responds quite quickly too. Simple and no need to be networked.

Xiaomi's standalone sensors at the time weren't as accurate. To get that you needed pro grade gear which was too expensive

I got this one from amazon for 280 rs
It takes way longer to update the temperature readings,
^this is exactly the kind of cheap junk I wanted to avoid.

Same product was being offered by at least 100 sellers :bored:

there are products on Amazon which mention 10 seconds update time,
That would be the one I have. At the time there were no other more accurate options. Just knockoffs of the Acurite and the junk you have.

I don't feel the need to get an upgrade at all. The battery lasts years in Acurites gear of which I also have a fridge thermometer. Very good electronics design.
 
Last edited:
  • Like
Reactions: hitomi
^this is exactly the kind of cheap junk I
I have the same one too, and I can guarantee that it works.
It's not 99.9% accurate like the ones that cost over 1k, and it doesn't have Wi-Fi...abut it just works.
It can match the temperature of my AC within ±0.5°C.

Every time I feel a little too hot in the room, it's either a higher temp or higher humidity. That’s all I need to know to act accordingly.
 
I have the same one too, and I can guarantee that it works.
What is your reference for humidity?
It's not 99.9% accurate like the ones that cost over 1k, and it doesn't have Wi-Fi...abut it just works.
It can match the temperature of my AC within ±0.5°C.
Temperature is easy and cheap to do.

I paid for humidity measurement and I want to know I have something reliable. This measurement also responds without delay you see on cheaper devices

Every time I feel a little too hot in the room, it's either a higher temp or higher humidity. That’s all I need to know to act accordingly.
See above
 
What is your reference
When I first bought it I kept it under a blanket while taking steam and sure enough it went up to 95 or something. Once outside the blanket it dropped back to 70s.

No other device, but it gets noticably hotter when humidity exceeds 80% on this device. It could be off by 5% and I wouldn't know, but I enable cross ventilation when it hits 80%, and as it feels colder, this device also shows humidity dropping. Even when I turn on the AC, it drops as it gets colder.

This measurement also responds without delay you see on cheaper devices
It's not instant on this device but it's as fast as I'd want it
 
Just to have an idea, a humidity sensor with typical accuracy of ±1.5 % RH and ±0.1 °C costs this much.

1748890026105.png


The sensor is SHT35-DIS, very popular industry standard, it is factory-calibrated, fast response, low drift, highly stable. Very popular in environmental monitoring, HVAC, consumer electronics.

It is also popular in DIY community for it's accuracy, due to which it has readily available breakout boards with sensor mounted on top. Looks like this.

1748890440849.png

Available to buy here - https://robu.in/product/unwelded-gy-sht35-d-digital-temperature-and-humidity-sensor/

To use this thing in you would connect this to any development board like arduino, there is already library and code written for you on many places on the internet, you will be able to read the humidity and temp value off of it and relay it further or display on some screen.

Time consuming? Yes, but fun.
 
Last edited:
  • Like
Reactions: blr_p
Just to have an idea, a humidity sensor with typical accuracy of ±1.5 % RH and ±0.1 °C costs this much.

View attachment 238607

The sensor is SHT35-DIS, very popular industry standard, it is factory-calibrated, fast response, low drift, highly stable. Very popular in environmental monitoring, HVAC, consumer electronics.

It is also popular in DIY community for it's accuracy, due to which it has readily available breakout boards with sensor mounted on top. Looks like this.

View attachment 238614
Available to buy here - https://robu.in/product/unwelded-gy-sht35-d-digital-temperature-and-humidity-sensor/
The sensor alone is..
I got this one from amazon for 280 rs
3x the cost of this ^finished product

Robu's prices are reasonable too
 
Here is the graph of SHT35-DIS, of it's accuracy.

1748891710589.png


You'll notice that the error rate is relative to the actual temperature/humidity, it is not always going to be ±1.5 % RH and ±0.1 °C, the advertised specs are only valid in a certain range or it could be only valid at a certain temp/humidity, you can think of it as the best possible accuracy the sensor can produce.

This is were datasheets of sensors come in and you look at the full picture. In above case the relative humidity accuracy stayed stable till 0-80% RH, in 80-100% RH range it drifts to ±2 %.

Now that specific humidity accuracy graph is valid at 25 °C that's why it says "Typ RH tolerence at 25 °C", so with temperature our humidity accuracy also changes, how much you ask, we have to dig deeper into the datasheet.

giphy.gif


Similarly on the temperature side, the advertised accuracy of ±0.1 °C is only valid in 20-60°C.



From this the key take away is we should be looking at the worst case accuracy of the sensors, high quality sensors/products from reputable companies will provide this data too.

Cheap sensors will simply throw a spec at you without telling anything about it, is it the worst case or the best case? If it is the typical then what is the worst case?

As we go deep into this rabbit whole, the more you loose trust in cheap sensors.
 
Last edited:
Anyone used this site?
See what ^it says

  • Humidity Accuracy:±2% from 30% to 80%; ±3% below 30% and above 80%
See what my Acurite says

Acurite humidity accuracy specs.jpg

Both use different sensors going by the tolerances.


Here is the graph of SHT35-DIS, of it's accuracy.

View attachment 238617

You'll notice that the error rate is relative to the actual temperature/humidity, it is not always going to be ±1.5 % RH and ±0.1 °C, the advertised specs are only valid in a certain range or it could be only valid at a certain temp/humidity, you can think of it as the best possible accuracy the sensor can produce.

This is were datasheets of sensors come in and you look at the full picture. In above case the relative humidity accuracy stayed stable till 0-80% RH, in 80-100% RH range it drifts to ±2 %.
Interesting that this sensor doesn't have a lower humidity correction
 
  • Like
Reactions: Heisen
When I first bought it I kept it under a blanket while taking steam and sure enough it went up to 95 or something. Once outside the blanket it dropped back to 70s.
There is a better way.
No other device, but it gets noticably hotter when humidity exceeds 80% on this device. It could be off by 5% and I wouldn't know, but I enable cross ventilation when it hits 80%, and as it feels colder, this device also shows humidity dropping. Even when I turn on the AC, it drops as it gets colder.
Since you are interested in the higher end of the humidity scale there is an easy way to test accuracy. But the corrections you will have to apply mentally as your gadget doesn’t allow to be calibrated.

Check this experiment out and replicate it

Another description of the same experiment.

Give it a go and post your results after a few days. It took some trial and error to wet the salt correctly so that it would work. If a few drops of water don't work, try with some more. It has to be a saturated salt solution to work. Saturated means no more salt will dissolve in the water at room temperature.

With the table salt it took about two days IIRC.


Salt solution and corresponding humidity.jpg

That table you can correlate humidity with a particular salt solution with corresponding temperature which you have.

My results with table salt were spot on. With Magnesium Chloride slightly off. Didn't try with Lithium Chloride because it arrived soaking wet from the supplier already. This lithium salt just sucks up moisture from the air like anything.
 

Attachments

  • NaCl 75.jpg
    NaCl 75.jpg
    260.8 KB · Views: 18
  • MgCl 34.jpg
    MgCl 34.jpg
    394.4 KB · Views: 17
Last edited:
@blr_p Nice find. Will try it out once I get the mi sensors delivered. In that pic you posted, is that a plastic takeaway container (like those swiggy ones?) are they airtight enough?
@Heisen Might try hooking that SHT35 to a raspberrypi or something later if I get time, btw have you used it?

@imad7x Yea, if you require to know only an approximate estimate of humidity I suppose the 200rs ones are probably enough.

@ze_cook Thanks for that video, good to know OTA flashing still works. Will try it out when I get mine delivered. BTW, Found another site- "Sunsky" from this thread . They have the same sensor for around 350rs per unit , but on adding shipping(yanwen as others suggested), comes out to be only around 150rs cheaper than banggood. Currently trying to find some random oddities on there to make the shipping worthwhile. Found a S-pen replacement for 370, while I was at it, and some nibs for <100 . Saw some listings on amazon for 2-3k for the pen and 300-500 for the nibs. Its wild how much sellers on amazon mark things up!