# Mi Home App /developer mode

**URL:** <https://discourse.nodered.org/t/mi-home-app-developer-mode/3740>\
**Category:** General\
**Created:** [6 October 2018 15:31 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740 "2018-10-06T15:31:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpxd](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mpxd/32/2028_2.png) [@mpxd](https://discourse.nodered.org/u/mpxd)\
**Post date:** [6 October 2018 15:31 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/1 "2018-10-06T15:31:43Z")

</div>

Hi,

This is only indirectly related to Node-RED. But is anyone here using Xiaomi Mijia Smart Home devices? I just bought the Mi Control Hub and cannot set it up to the developer mode necessary to connect it to Node-RED.

All the available Flows don't work anymore:

- node-red-contrib-xiaomi-devices
- xiaomi sensors to mqtt
- node-red-contrib-xiaomi-smart-home etc.

There are guides available on Github and in the OpenHAB documentation. But the App changed - or the newest batch of the Xiaomi Hardware might not have a developer mode anymore.

Already posted this question in the OpenHAB forum - will forward the answer here, if I get a reply there.

---

<div class="post-metadata">

**Author:** ![zombiespawn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zombiespawn/32/3518_2.png) [@zombiespawn](https://discourse.nodered.org/u/zombiespawn)\
**Post date:** [1 November 2018 18:17 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/2 "2018-11-01T18:17:49Z")

</div>

Have you found this out yet ?  
I have the same problem

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [1 November 2018 18:30 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/3 "2018-11-01T18:30:10Z")

</div>

If nodes no longer work, you would be advised to open an issue on the nodes github page ( follow the github link from the nodes page on [flows.nodered.org](http://flows.nodered.org)) which will notify the node's author

Having checked the github page for **node-red-contrib-xiaomi-devices** there is no issue opened

---

<div class="post-metadata">

**Author:** ![zombiespawn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zombiespawn/32/3518_2.png) [@zombiespawn](https://discourse.nodered.org/u/zombiespawn)\
**Post date:** [1 November 2018 19:25 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/4 "2018-11-01T19:25:13Z")

</div>

Hi, I am more concerned in the enabling of the developer mode 🙂  
NodeRed is working ok for other stuff.  
Its enabling the dev mode on my new Xiaomi Gateway I need help with, the app has changed and the option to enable dev mode is not there anymore

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [1 November 2018 20:03 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/5 "2018-11-01T20:03:35Z")

</div>

Which firmware version has your Gateway?

`1.4.1_159.0143` is fine for me.

---

<div class="post-metadata">

**Author:** ![zombiespawn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zombiespawn/32/3518_2.png) [@zombiespawn](https://discourse.nodered.org/u/zombiespawn)\
**Post date:** [1 November 2018 20:39 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/6 "2018-11-01T20:39:34Z")

</div>

I have 3.3.10\_114 on my control hub.

It’s not the firmware either, I want to enable developer mode so I can get the key to put into the Node red config.

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [1 November 2018 20:58 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/7 "2018-11-01T20:58:36Z")

</div>

I understand what you need.

I'm using the Gateway 2 and did set the development mode on my iPhone with the Mi Home app v4.8.9 and was able to get the password `7D6...`

What you mean by control hub?

---

<div class="post-metadata">

**Author:** ![zombiespawn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zombiespawn/32/3518_2.png) [@zombiespawn](https://discourse.nodered.org/u/zombiespawn)\
**Post date:** [1 November 2018 21:56 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/8 "2018-11-01T21:56:34Z")

</div>

The control hub and gateway are the same thing from what I understand?  
Unless I have the wrong device completely.

I’ll send some screenshots soon of my device.

---

<div class="post-metadata">

**Author:** ![mpxd](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mpxd/32/2028_2.png) [@mpxd](https://discourse.nodered.org/u/mpxd)\
**Post date:** [2 November 2018 09:15 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/9 "2018-11-02T09:15:37Z")

</div>

@ukmoose It is not a bug with the _node-red-contrib-xiaomi-devices_ but with the Xiaomi HUB (either the Firmware or the Smartphone App accompanying it). In the newest version, you are no longer able to activate the **Dev Mode** - which means that the HUB does not show up as local device and cannot be used in Node-RED.

I posted this issue in several places - but did not get an answer yet. I did not raise an Github issue - as I don't know if the code is affected by it. If you already activated the DEV Mode, everything might just continue to work.

@zombiespawn I found a possible solution for this issue - unfortunately, this needs some additional Hardware to work, which I don't have yet. You can replace the Xiaomi Hub with a **CC2531 USB sniffer** that enables you to communicate directly via Zigbee with your Xiaomi sensors.

Links to the Hardware (and the Firmware that makes it work) can be found [here on Github](https://github.com/Koenkk/zigbee2mqtt). And there are two (German) guides on how to use it in the [FHEM Forum](https://forum.fhem.de/index.php?topic=84790) and here as a [Youtube Tutorial](https://haus-automatisierung.com/projekt/2018/04/28/projekt-xiaomi-ohne-cloud.html).

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [2 November 2018 09:52 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/10 "2018-11-02T09:52:32Z")

</div>

@mpxd FYI, I've just tried on my Mi Home app, I can access the hidden pages.

---

<div class="post-metadata">

**Author:** ![mpxd](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mpxd/32/2028_2.png) [@mpxd](https://discourse.nodered.org/u/mpxd)\
**Post date:** [2 November 2018 09:57 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/11 "2018-11-02T09:57:05Z")

</div>

@cflurin what is your App set to? Mainland China? I bought my Xiaomi Hardware in HongKong and have to set the App to HK to be able to connect (otherwise the HUB is not found on my network at all). I suspect that this is the issue. But I couldn't get my hand on a Xiaomi HUB with the Chinese Firmware installed.

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [2 November 2018 10:02 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/12 "2018-11-02T10:02:05Z")

</div>

Region: Mainland China  
Language: English

Select your Gateway and go to `About`  
Tap on the About page (on the blank part) repeatedly.

---

<div class="post-metadata">

**Author:** ![mpxd](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mpxd/32/2028_2.png) [@mpxd](https://discourse.nodered.org/u/mpxd)\
**Post date:** [2 November 2018 10:08 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/13 "2018-11-02T10:08:31Z")

</div>

My Region is Hong Kong (setting it to China does not work - the Hub does not show up and so I cannot get to the Gateway About page). In this HK Mode the whole About page is missing. I tried other random spots to tap repeatedly but no luck.

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [2 November 2018 10:15 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/14 "2018-11-02T10:15:10Z")

</div>

I have set the region to `Mainland China` at the first installation as far as I remember.  
But this is the issue, the Dev mode only works in the Region Mainland China.

One option would be to reset the gateway and start again?

---

<div class="post-metadata">

**Author:** ![mpxd](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mpxd/32/2028_2.png) [@mpxd](https://discourse.nodered.org/u/mpxd)\
**Post date:** [2 November 2018 10:17 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/15 "2018-11-02T10:17:25Z")

</div>

Yes, you can decide during your first setup - i already went back to that and choose China. But the app no longer detects the gateway when set to the wrong locale. Seems to be a variable set inside the firmware of the gateway itself.

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [2 November 2018 10:57 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/16 "2018-11-02T10:57:50Z")

</div>

> [@mpxd](#):
>
> Seems to be a variable set inside the firmware of the gateway itself.

As I said I would try to reset the gateway and setup again.

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [2 November 2018 12:42 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/17 "2018-11-02T12:42:34Z")

</div>

Hello

I am using this

> **[Koenkk/zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt)**
>
> Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨 - Koenkk/zigbee2mqtt

not only we can manage all the xiamoi zigbee sensors but also integrated them with other zigbee items, e.g. Ikea tradfri

give it a try

---

<div class="post-metadata">

**Author:** ![mpxd](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mpxd/32/2028_2.png) [@mpxd](https://discourse.nodered.org/u/mpxd)\
**Post date:** [2 November 2018 12:48 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/18 "2018-11-02T12:48:49Z")

</div>

That is the one I linked above. Just need to get the Hardware for it 🤔

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [5 November 2018 12:22 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/19 "2018-11-05T12:22:37Z")

</div>

Since one will be the coordinator, make sure to order some extra USB **CC2531** so you may used the as router .

---

<div class="post-metadata">

**Author:** ![Jometjose](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@Jometjose](https://discourse.nodered.org/u/Jometjose)\
**Post date:** [16 March 2019 16:28 UTC](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740/20 "2019-03-16T16:28:30Z")

</div>

Hi for this go to the mi home control app \_ about \_tab 4 times on plugin version \_ it will enable developer mode.

[Next page](https://discourse.nodered.org/t/mi-home-app-developer-mode/3740.md?page=2)
