# \[APP\]\[Pro\] Xiaomi Miija (Temperature and Humidity)

**URL:** <https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560>\
**Category:** Apps\
**Tags:** app\
**Created:** [March 29, 2023, 11:13am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560 "2023-03-29T11:13:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [March 29, 2023, 11:13am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/1 "2023-03-29T11:13:05Z")

</div>

> **[Xiaomi Miija | Homey](https://homey.app/en-cz/app/hu.corenet.mitemp/Xiaomi-Miija/)**
>
> Always up-to-date on your indoor temperature and humidity

 ![devices](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/6/16048ac07e597fbbc0c6c09073ede9b589941be0.png)

Currently, it supports the [Xiaomi Mijia (LYWSD03MMC)](https://pvvx.github.io/ATC_MiThermometer) (BLE + Zigbee), with the ATC441 protocol enabled, flashed with a custom firmware. The custom firmware can be flashed from here [GitHub - pvvx/ATC\_MiThermometer: Custom firmware for the Xiaomi Thermometers and Telink Flasher · GitHub](https://github.com/pvvx/ATC_MiThermometer) .

[Xiaomi MJ\_HT LYWSDCGQ/01ZM](https://www.mi.com/uk/mi-temperature-and-humidity-monitor/), Xiaomi Mijia LYWSD03MMC and [Xiaomi Temperature and Humidity Monitor Clock LYWSD02MMC](https://www.mi.com/global/product/xiaomi-temperature-and-humidity-monitor-clock/specs) - shall be working out of the box (Bluetooth only).

_Please note that Bluetooth on Homey 2023 is far from ideal state, mostly due to the limited range. So if device works in close distance but do not work from 3-4m, it’s not this app fault - please keep contacting Athom._

_Key credits still to [ZsR](https://community.homey.app/u/ZsR), original developer of this app._  
Also thank you to [robertklep](https://community.homey.app/u/robertklep) for code contribution and some consultancies 😉

**note**  
Latest **LYWSD03MMC** are shipped with firmware 2.1.1\_0159, which requires [MI Token Extractor](https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor) and [special modified firmware](https://github.com/pvvx/ATC_MiThermometer/issues/602#issue-2786915630), so that you can flash later on ATC BLE or Zigbee firmware.

### Support the development

## ❤ Community apps and appreciation

These Homey Community apps are developed and maintained in my spare time.

**Did you know?** In my experience maintaining community Homey apps, only a very small proportion of users choose to support their development financially—even when a new device integration or specific feature has been implemented at their request.

Contributions are never required, but they are a meaningful way to recognise the time invested in development, testing, compatibility updates and ongoing user support. If one of my apps has been useful to you, you can optionally show your appreciation here:

### [❤ Send an optional thank-you via PayPal](https://www.paypal.me/bkubesa)

A contribution does not unlock additional features or affect the support you receive. It is simply a way to say _thank you_.

### My Homey apps

| | | | | | |
| --- | --- | --- | --- | --- | --- |
| [![Smart Presence | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/5/5572294d53fb2189c45a72a9383363a452d463c1.png)](https://homey.app/a/nl.terryhendrix.smartpresence)  
[**Smart Presence**](https://homey.app/a/nl.terryhendrix.smartpresence)  
Wi-Fi presence detection | [![Xiaomi Mi Home | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/e/de1dc51865d236d901288d617df6f988396b25f6.jpeg)](https://homey.app/a/com.xiaomi-miio)  
[**Xiaomi Mi Home**](https://homey.app/a/com.xiaomi-miio)  
Xiaomi Mi Home devices | [![Broadlink | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/6/76034ca18b53c920f581b84b16735f02ada00fd8.jpeg)](https://homey.app/a/com.broadlink)  
[**Broadlink**](https://homey.app/a/com.broadlink)  
IR, RF and smart devices | | | |
| [![TP-Link KASA LAN | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c75e3118bdfa1181c879a8e594b3124b86e19636.png)](https://homey.app/a/nu.baretta.tplink)  
[**TP-Link KASA LAN**](https://homey.app/a/nu.baretta.tplink)  
Local Kasa control | [![Yeelights LAN | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1bf376963ce7d9557001643f126a3c83a968c460.jpeg)](https://homey.app/a/com.yeelight)  
[**Yeelights LAN**](https://homey.app/a/com.yeelight)  
Local Yeelight control | [![Xiaomi Miija | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/970146bee00c1112556ff9ad9e7a127bd1f144ce.png)](https://homey.app/a/hu.corenet.mitemp)  
[**Xiaomi Miija**](https://homey.app/a/hu.corenet.mitemp)  
Temperature and humidity sensors | | | |
| [![Octoprint | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/68c7dac99b9b3142e69c5b4d8703eaa963b15238.png)](https://homey.app/a/no.jonkristian.octoprint)  
[**Octoprint**](https://homey.app/a/no.jonkristian.octoprint)  
Monitor your 3D printer | [![Virtual Radar | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e7cc61abfbfa7922163b466b9179e85496c7c34.jpeg)](https://homey.app/a/com.gruijter.virtualradar)  
[**Virtual Radar**](https://homey.app/a/com.gruijter.virtualradar)  
ADS-B aircraft tracking | [![enigma2 | 72x72](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/88d9a3cf5c03b83d34a6a6e3fd2c772c2223b190.png)](https://homey.app/a/eu.carp3-noctem.enigma2)  
[**enigma2**](https://homey.app/a/eu.carp3-noctem.enigma2)  
Control Enigma2 receivers | | | |

[**View all my Homey apps →**](https://homey.app/en-us/apps/author/5cc0b0a87a00d60e7682a494/page/0/)

---

<div class="post-metadata">

**Author:** ![DGalama](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dgalama/32/10402_2.png) [@DGalama](https://community.homey.app/u/DGalama)\
**Post date:** [April 8, 2023, 3:26pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/2 "2023-04-08T15:26:00Z")

</div>

Thanks for adding this. I do have an issue with reading the correct values in Homey.  
After flashing the firmware, all looks well in the Telink Flasher app:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/19a895148eca2ef96bdc07c4517e463944b0a270.jpeg)

These values are also shown on the display.

However, the values in Homey are totally off:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/50ab2031d1cdd497d8eaeafbfe95df1fb2865da3.jpeg)

Does anyone have an idea on how to fix this?

---

<div class="post-metadata">

**Author:** ![ZsR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zsr/32/53367_2.png) [@ZsR](https://community.homey.app/u/ZsR)\
**Post date:** [April 8, 2023, 5:39pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/3 "2023-04-08T17:39:12Z")

</div>

Hello DGalama,

Can you check if the advertising format is atc441?

---

<div class="post-metadata">

**Author:** ![DGalama](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dgalama/32/10402_2.png) [@DGalama](https://community.homey.app/u/DGalama)\
**Post date:** [April 8, 2023, 6:05pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/4 "2023-04-08T18:05:23Z")

</div>

Awesome, that did the trick!  
Thanks!

---

<div class="post-metadata">

**Author:** ![ZsR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zsr/32/53367_2.png) [@ZsR](https://community.homey.app/u/ZsR)\
**Post date:** [April 8, 2023, 6:28pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/5 "2023-04-08T18:28:04Z")

</div>

I’m happy that it worked! 🙂  
Enjoy your smart home! 🙂

---

<div class="post-metadata">

**Author:** ![rpvandoorn](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@rpvandoorn](https://community.homey.app/u/rpvandoorn)\
**Post date:** [June 24, 2023, 10:58pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/6 "2023-06-24T22:58:47Z")

</div>

Could you please help me wih adding a LYWSD03MMC to my Homey Pro 2019 using your app? I have succesfilly flashed the sensor:  
Status: Hardware Version: LYWSD03MMC B1.4, Software Version: 4.3  
Vbat: 2745 mV , Temp: 28.20°C, Humi: 55.85%, ID: 190, Reed switch counter: 0, flg: 0x04:r0/t0

I set it to advertising type ATC1441, but Homey / the app can’t find the sensor while sarching for it. “No new devices found”. Do I need to pair it first with Homey? Or am I missing something else?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![ZsR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zsr/32/53367_2.png) [@ZsR](https://community.homey.app/u/ZsR)\
**Post date:** [June 29, 2023, 11:09am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/7 "2023-06-29T11:09:20Z")

</div>

I need to test it on my 2019 Homey Pro, but it should work. Sometimes you need to wait a few minutes until it is discovered.  
I’ll test it and I will get back to you.

---

<div class="post-metadata">

**Author:** ![rpvandoorn](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@rpvandoorn](https://community.homey.app/u/rpvandoorn)\
**Post date:** [July 2, 2023, 7:29pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/8 "2023-07-02T19:29:42Z")

</div>

Thanks! Already any idea? I can wait but it keeps returning no devices found. Do I have to do something with the sensor? There is no button on it. Thanks again.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 3, 2023, 5:12am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/9 "2023-07-03T05:12:31Z")

</div>

How much distance is there between Homey and the sensor? Since it uses BLE, range is limited.

---

<div class="post-metadata">

**Author:** ![ZsR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zsr/32/53367_2.png) [@ZsR](https://community.homey.app/u/ZsR)\
**Post date:** [July 3, 2023, 7:59am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/10 "2023-07-03T07:59:44Z")

</div>

Hi!  
Thanks for highlighting this issue! It looks like that the uuid is reported differently on the Homey Pro 2019 and on the new Homey Pro.  
I have just corrected this and and the new version 1.1.3 is already out! Please update to the latest version, and then it shold be working now.

---

<div class="post-metadata">

**Author:** ![ZsR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zsr/32/53367_2.png) [@ZsR](https://community.homey.app/u/ZsR)\
**Post date:** [July 3, 2023, 8:14am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/11 "2023-07-03T08:14:30Z")

</div>

Hi Robert,

Yeah, the BLE range is quite limited, but in the custom firmware there is a possibility to raise the transmitting dB, that could help.  
I live in a 3 storey building, the homey is in the middle. It receives sensor data from all storeys. I think the range can be defined around 20m in buildings…

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [July 3, 2023, 9:24am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/12 "2023-07-03T09:24:07Z")

</div>

> [@ZsR](#):
>
> around 20m in buildings

Probably not on HP23, right ☹

---

<div class="post-metadata">

**Author:** ![ZsR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zsr/32/53367_2.png) [@ZsR](https://community.homey.app/u/ZsR)\
**Post date:** [July 3, 2023, 9:38am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/13 "2023-07-03T09:38:41Z")

</div>

I’m on HP23 currently. In our house, it is working quite well. (10-15m distances, through walls) Of course, I need to place the HP23 in the middle. But a satellite Homey Bridge that could repeat the BLE would also be helpful.

---

<div class="post-metadata">

**Author:** ![rpvandoorn](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@rpvandoorn](https://community.homey.app/u/rpvandoorn)\
**Post date:** [July 3, 2023, 9:59am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/14 "2023-07-03T09:59:10Z")

</div>

Yes, after the update I can add the monitor without any problems. Thank you! 😃

Hoe often do the readings update? Can I adjust these values?

---

<div class="post-metadata">

**Author:** ![Cerivan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cerivan/32/80078_2.png) [@Cerivan](https://community.homey.app/u/Cerivan)\
**Post date:** [August 23, 2023, 1:59pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/15 "2023-08-23T13:59:42Z")

</div>

Hi there!

I have a Xiaomi Miija and flashed it using the provided link (see screenshot) and it seems to work correctly on the web app, but when adding it to Homey Pro it says no device found…

Any idea and suggestion to make it work?

 ![1000004300](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/7/27c2fd05dd85b8a41f64e1f5fbe5afae125eb434.png)

The thermometer is 2 meters away from the Homey, so range shouldn’t be an issue.

App version is v1.1.3

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [August 23, 2023, 2:06pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/16 "2023-08-23T14:06:14Z")

</div>

> [@Cerivan](#):
>
> Any idea and suggestion to make it work?

Have you enabled ATC441 protocol ?

---

<div class="post-metadata">

**Author:** ![ZsR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zsr/32/53367_2.png) [@ZsR](https://community.homey.app/u/ZsR)\
**Post date:** [August 23, 2023, 2:14pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/17 "2023-08-23T14:14:51Z")

</div>

As @Sharkys asked, I think the protocol is not set correctly. Please check it. 🙂

---

<div class="post-metadata">

**Author:** ![Cerivan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cerivan/32/80078_2.png) [@Cerivan](https://community.homey.app/u/Cerivan)\
**Post date:** [August 23, 2023, 2:26pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/18 "2023-08-23T14:26:17Z")

</div>

Actually, I did! 😁

---

<div class="post-metadata">

**Author:** ![Cerivan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cerivan/32/80078_2.png) [@Cerivan](https://community.homey.app/u/Cerivan)\
**Post date:** [August 23, 2023, 2:27pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/19 "2023-08-23T14:27:15Z")

</div>

ATC1441, right?

 ![1000004302](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c7a3212bf91800522a7994fbc3ea7c7631ce00b9.png)

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [August 23, 2023, 2:29pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/20 "2023-08-23T14:29:56Z")

</div>

And just to be sure, you also closed this browser page, to ensure it’s disconnected.  
In case you have tried multiple times and it still do not work, I would suggest to restart your Homey…

[Next page](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560.md?page=2)
