# \[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:** 4

<div class="post-metadata">

**Author:** ![NotBernard65](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/notbernard65/32/71938_2.png) [@NotBernard65](https://community.homey.app/u/NotBernard65)\
**Post date:** [February 23, 2024, 11:17pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/61 "2024-02-23T23:17:48Z")

</div>

Is there any way to “age out” the readings or perhaps have a timestamp on the last one.

As it stands if you have an issue with a sensor the last reading is still “current” and of course might not reflect reality and this exhibit undesirable results in a flow.

Or is there anyway the application could flag an error if no reading is received after a configurable timeout period?

---

<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:** [February 24, 2024, 7:16am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/62 "2024-02-24T07:16:56Z")

</div>

That should all be implemented on a lower level (Homey’s core).

---

<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:** [February 29, 2024, 8:41pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/64 "2024-02-29T20:41:21Z")

</div>

> [@NotBernard65](#):
>
> As it stands if you have an issue with a sensor the last reading is still “current” and of course might not reflect reality and this exhibit undesirable results in a flow

You can use workaround, eg. [A script to check sensor last update - #39 by Sharkys](https://community.homey.app/t/a-script-to-check-sensor-last-update/63142/39)

---

<div class="post-metadata">

**Author:** ![AKToth](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aktoth/32/79555_2.png) [@AKToth](https://community.homey.app/u/AKToth)\
**Post date:** [March 14, 2024, 12:51pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/65 "2024-03-14T12:51:43Z")

</div>

I get the same issue. That it connects as an unknown Zigbee device after flashing FW.  
Did you manage resolve the issue? Any solutions available?  
I also have Xiaomi LYWSD0MMC-z with FW version: 3001-0120.

“13:16:42: Load firmware file ‘[https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC\_v0120.bin](https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC_v0120.bin)’…  
13:16:42: File: [https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC\_v0120.bin](https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC_v0120.bin)  
13:16:43: File size: 127956 bytes  
13:16:43: Count: 7998  
13:17:29: Load firmware file ‘[https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC\_v0120.bin](https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC_v0120.bin)’…  
13:17:29: File: [https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC\_v0120.bin](https://raw.githubusercontent.com/pvvx/ZigbeeTLc/master/bin/Z03MMC_v0120.bin)  
13:17:29: File size: 127956 bytes  
13:17:29: Count: 7998  
13:17:37: Start DFU  
13:19:04: Update done after 85.722 seconds”

Thanks!

---

<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:** [March 14, 2024, 1:14pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/66 "2024-03-14T13:14:24Z")

</div>

> [@AKToth](#):
>
> Any solutions available?

The only solution at the moment is to download my version of the app ([from here](https://github.com/robertklep/MiTempHum-Homey/)) and installing it using Homey’s command line tool.

---

<div class="post-metadata">

**Author:** ![Fisk](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@Fisk](https://community.homey.app/u/Fisk)\
**Post date:** [March 19, 2024, 7:21pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/67 "2024-03-19T19:21:59Z")

</div>

Hi Robert! Just to clarify, do you use this software by Devbis in the Homey app?

> **[GitHub - devbis/z03mmc: Xiaomi LYWSD03MMC Zigbee Firmware](https://github.com/devbis/z03mmc)**
>
> Xiaomi LYWSD03MMC Zigbee Firmware. Contribute to devbis/z03mmc development by creating an account on GitHub.

---

<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:** [March 20, 2024, 5:12am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/68 "2024-03-20T05:12:53Z")

</div>

> [@Fisk](#):
>
> Just to clarify, do you use this software by Devbis in the Homey app?

Yup!

---

<div class="post-metadata">

**Author:** ![Fisk](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@Fisk](https://community.homey.app/u/Fisk)\
**Post date:** [March 20, 2024, 8:57am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/69 "2024-03-20T08:57:11Z")

</div>

Awesome! I will flash 10 of these for my cabin. Since I don’t have a computer at my cabin, is it fine to flash them all at home or are there any disadvantages by doing so? To identify them from each other I could just remove the batteries and add them one by one in Homey.

---

<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:** [March 20, 2024, 9:03am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/70 "2024-03-20T09:03:45Z")

</div>

It’s fine to flash them at home (and if you don’t have a computer at your cabin, there’s no other possibility 😅)

---

<div class="post-metadata">

**Author:** ![johbiraus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johbiraus/32/78856_2.png) [@johbiraus](https://community.homey.app/u/johbiraus)\
**Post date:** [March 20, 2024, 3:14pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/71 "2024-03-20T15:14:11Z")

</div>

Hi!

It’s so nice that this app exists. I have a humble feature request:

It would be nice to be able to choose how many decimals to be shown from the device, just like you can with the Tuya Zigbee app. It’s not the end of the world that this isn’t available, but it would tidy things up a bit having consistency throughout my devices.

Thanks!

---

<div class="post-metadata">

**Author:** ![Michiel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michiel/32/16416_2.png) [@Michiel](https://community.homey.app/u/Michiel)\
**Post date:** [April 2, 2024, 9:48pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/72 "2024-04-02T21:48:00Z")

</div>

Hi Michal, did you manage to solve this? Unfortunately I’ve got the same issue 🤨

---

<div class="post-metadata">

**Author:** ![Majkl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/majkl/32/47852_2.png) [@Majkl](https://community.homey.app/u/Majkl)\
**Post date:** [April 3, 2024, 6:10am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/73 "2024-04-03T06:10:45Z")

</div>

Hi Michiel, not really. Mine were completely stuck at some point, so I had to flash them over via USB-UART and I moved into ESPHome (with few ESP boards to have a full house coverage) with the bluetooth version of these, instead of trying and converting them to Zigbee again.

---

<div class="post-metadata">

**Author:** ![Michiel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michiel/32/16416_2.png) [@Michiel](https://community.homey.app/u/Michiel)\
**Post date:** [April 3, 2024, 12:25pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/74 "2024-04-03T12:25:04Z")

</div>

Michal, that’s too bad. But many thanks for your response!

If anyone has any ideas, I’d love to hear them!

---

<div class="post-metadata">

**Author:** ![jiml](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jiml/32/8455_2.png) [@jiml](https://community.homey.app/u/jiml)\
**Post date:** [April 16, 2024, 9:29am UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/75 "2024-04-16T09:29:03Z")

</div>

What would be nice would be the ability to set an offset. My Mijia seems to be about 0.4-0.5 to high compared with my other thermostats.

---

<div class="post-metadata">

**Author:** ![Zeka\_Peka](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zeka_peka/32/106132_2.png) [@Zeka\_Peka](https://community.homey.app/u/Zeka_Peka)\
**Post date:** [April 22, 2024, 3:14pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/76 "2024-04-22T15:14:34Z")

</div>

@robertklep  
Hi, I’m trying to install your app from [GitHub - Zsoltt-dom/MiTempHum-Homey: Homey App for Xiaomi Mi Temperature and Humidity Monitor modded with custom 'ATC' firmware using ATC441 advertising format.](https://github.com/Zsoltt-dom/MiTempHum-Homey)  
I got Homey today so total newbie, and this is first app I’m trying to install through CLI.  
I have downloaded your app, and started CMD with admin priviliges and tried to install with command “homey app install” from unpacked folder of app.  
I’m getting error, can you please tell me what I’m doing wrong

```auto
✓ Pre-processing app...
Added Driver `xiaomi-thermometer-ble`
Added Driver `xiaomi-thermometer-zigbee`
× Command failed: npm ls --parseable --all --only=prod
npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.
npm ERR! code ELSPROBLEMS
npm ERR! missing: homey-zigbeedriver@^2.1.2, required by hu.corenet.mitemp@1.0.0
npm ERR! missing: zigbee-clusters@^2.3.0, required by hu.corenet.mitemp@1.0.0

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\XXXXXX\AppData\Local\npm-cache\_logs\2024-04-22T15_08_40_980Z-debug-0.log

× Error: This error may be fixed by running `npm install` in your app.
    at C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\homey\lib\App.js:874:15
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async App._copyAppProductionDependencies (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\homey\lib\App.js:871:26)
    at async Promise.all (index 1)
    at async App.preprocess (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\homey\lib\App.js:826:5)
    at async App.install (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\homey\lib\App.js:767:7)
    at async Object.exports.handler (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\homey\bin\cmds\app\install.js:25:5)

```

Thanks

---

<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:** [April 22, 2024, 3:25pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/77 "2024-04-22T15:25:32Z")

</div>

The answer is literally in the text you posted 😉

> [@](#):
>
> …  
> This error may be fixed by running `npm install` in your app.  
> …

---

<div class="post-metadata">

**Author:** ![Zeka\_Peka](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zeka_peka/32/106132_2.png) [@Zeka\_Peka](https://community.homey.app/u/Zeka_Peka)\
**Post date:** [April 22, 2024, 7:13pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/78 "2024-04-22T19:13:30Z")

</div>

Thanks 🙂  
I was doing it in separate CMD window, now seems OK, it’s installed

P.s. I managed to connect sensor and it works, so thanks again 🙂

---

<div class="post-metadata">

**Author:** ![ugrbnk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ugrbnk/32/145764_2.png) [@ugrbnk](https://community.homey.app/u/ugrbnk)\
**Post date:** [May 30, 2024, 4:03pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/79 "2024-05-30T16:03:58Z")

</div>

@ZsR @robertklep Hello, when I installed “devbis” firmware as zigbee software, I observed that the xiaomi sensor works better. But when I install this firmware, it appears as an unknown device in homey pro 2023. Can you introduce this to homey.

> **[devbis - Overview](https://github.com/devbis)**
>
> Python/JS dev. devbis has 64 repositories available. Follow their code on GitHub.

> **[Convert Xiaomi LYWSD03MMC BLE Sensor to Zigbee](https://smarthomescene.com/guides/convert-xiaomi-lywsd03mmc-from-bluetooth-to-zigbee/)**
>
> How to convert the Xiaomi LYWSD03MMC Bluetooth Sensor to Zigbee by flashing a custom firmware Over-the-Air.

---

<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:** [May 30, 2024, 5:03pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/80 "2024-05-30T17:03:45Z")

</div>

> [@ugrbnk](#):
>
> Can you introduce this to homey.

[Read this post](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/66). TL;DR: install the version from my Github repository manually.

---

<div class="post-metadata">

**Author:** ![ugrbnk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ugrbnk/32/145764_2.png) [@ugrbnk](https://community.homey.app/u/ugrbnk)\
**Post date:** [May 30, 2024, 8:43pm UTC](https://community.homey.app/t/app-pro-xiaomi-miija-temperature-and-humidity/78560/81 "2024-05-30T20:43:53Z")

</div>

I am very sorry, can you tell me how to do it? I did the steps in the link below but it didn’t work, I’m doing something wrong.

> [@\[HOW TO\] CLI install method](https://community.homey.app/t/how-to-cli-install-method/198):
>
> Homey Pro only!!! It does not work this way with Homey (cloud), it only supports CLI run which is there only for development purposes. Installing Node.js Check Node.js version on Homey: Homey App: Settings - General - About - Node.js version Download Node.js (use Homey’s version or higher) from [https://nodejs.org/](https://nodejs.org/) and install it on your computer. Download the app you want to install from GitHub Go to the repository on [GitHub](https://github.com/) (the correct link for the app you want to install is at the bottom…

@robertklep

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

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