# Problem on connecting mi hub gateway to homey

**URL:** <https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791>\
**Category:** Questions & Help\
**Created:** [April 5, 2021, 3:49pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791 "2021-04-05T15:49:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 5, 2021, 3:49pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/1 "2021-04-05T15:49:17Z")

</div>

so i obtain the folowing data:

mac adress  
and password

ip adress  
and token

but every time i try to connect the hub to homey  
i get error as pictures below

any ideas ?

 ![1 oren](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/476a5b3b202072b4a950b551a6080bbe345e96ee.jpeg)

 ![2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/6974f06a143fb6c1830dacf15b710a56ad92acf2.jpeg)

---

<div class="post-metadata">

**Author:** ![Alessandro\_Rossi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alessandro_rossi/32/37432_2.png) [@Alessandro\_Rossi](https://community.homey.app/u/Alessandro_Rossi)\
**Post date:** [April 6, 2021, 6:41am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/2 "2021-04-06T06:41:13Z")

</div>

Same for me, also with “Mi Homey” app that should work properly…but I cannot connect my Gateway (v3 EU).

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 6, 2021, 8:22pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/3 "2021-04-06T20:22:55Z")

</div>

i have the first gen  
but still no go

u have same problem like mine ?

---

<div class="post-metadata">

**Author:** ![Alessandro\_Rossi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alessandro_rossi/32/37432_2.png) [@Alessandro\_Rossi](https://community.homey.app/u/Alessandro_Rossi)\
**Post date:** [April 7, 2021, 6:22am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/4 "2021-04-07T06:22:50Z")

</div>

I have last gen Homey and Gateway v3 EU version, but I have your same problem…

---

<div class="post-metadata">

**Author:** ![apps](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/apps/32/30000_2.png) [@apps](https://community.homey.app/u/apps)\
**Post date:** [April 7, 2021, 6:37am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/5 "2021-04-07T06:37:25Z")

</div>

Modell DGNWG02LM ?

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 7, 2021, 7:03pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/6 "2021-04-07T19:03:39Z")

</div>

Damn, just bought a DGNWG02LM especially for adding to the Mi Homey app for use in our basement… ☹

---

<div class="post-metadata">

**Author:** ![apps](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/apps/32/30000_2.png) [@apps](https://community.homey.app/u/apps)\
**Post date:** [April 7, 2021, 8:17pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/7 "2021-04-07T20:17:40Z")

</div>

DGNWG02LM  
I joined,  
I tried the integrated led. Today is not working. More, practically I haven’t tried

🙂

 ![20210407_230921](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f32fd5571e2204a61189c63b70877b53f6f2bcb9.jpeg)

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 7, 2021, 10:09pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/8 "2021-04-07T22:09:38Z")

</div>

This evening I added my DGNWG02LM (non-EU version with adapterplug) to Homey.  
Perhaps try this tool to get info about the device you’re adding:

> <https://github.com/Maxmudjon/com.xiaomi-miio/blob/master/docs/obtain_token.md>

Did the trick for me.

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 8, 2021, 9:40pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/9 "2021-04-08T21:40:48Z")

</div>

i dont know how but now it working!  
thank you !

btw  
can how can i control the light ? or any thing else in the gatway ?

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 8, 2021, 9:53pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/10 "2021-04-08T21:53:54Z")

</div>

You have to add the hub/gateway itself as well in Homey.  
So go yo devices, choose add, choose the Xiaomi app and add the gateway.  
Then you can control light and color.

There’s a tab “join”, but haven’t figured out yet what thay does…

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 8, 2021, 10:08pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/11 "2021-04-08T22:08:53Z")

</div>

mm i try to add device but i can’t see xiaomi gateway…  
any idead whey?

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 8, 2021, 10:22pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/12 "2021-04-08T22:22:29Z")

</div>

Perhaps it depends on which hub/gateway you have.  
I use a DGNWG02LM.  
And I used the Mi Homey app from the Community Store, instead of the one in the official Homey App Store.  
I used this app:  
[https://store.homey.community/app/com.maxmudjon.mihomey](https://store.homey.community/app/com.maxmudjon.mihomey)

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 8, 2021, 10:41pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/13 "2021-04-08T22:41:18Z")

</div>

I also using same app  
But cant see gateway to add.  
I added pic, u r using same app?

 ![Screenshot_20210409-013953_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/3/e3a6825c4655068d8f48b67bc0ca1ce86960889c.jpeg)

---

<div class="post-metadata">

**Author:** ![apps](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/apps/32/30000_2.png) [@apps](https://community.homey.app/u/apps)\
**Post date:** [April 9, 2021, 5:41am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/14 "2021-04-09T05:41:57Z")

</div>

![Screenshot_20210409-084050_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/0/00fe02cf6e6306cea216ff7e5d8f02b21c98f5a7.jpeg)

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 9, 2021, 6:21am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/15 "2021-04-09T06:21:13Z")

</div>

You are not using the same app.  
Follow the link below and see if you can add your gateway in that app. That worked for me, but you might have an other hub/gateway. What’s your modelnumber?

[https://store.homey.community/app/com.maxmudjon.mihomey](https://store.homey.community/app/com.maxmudjon.mihomey)

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 9, 2021, 6:25am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/16 "2021-04-09T06:25:13Z")

</div>

![Screenshot_20210409-092302_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/a/da702e69b22501590bc1a7316262ef9449f4893e.jpeg) it shows me like it is install but i cant find it like u have

I am using dgnwg02lm

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 9, 2021, 6:26am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/17 "2021-04-09T06:26:00Z")

</div>

![Screenshot_20210409-092548_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/feafcdf356d15ee7b19d47c389167b87125916c3.jpeg)

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 9, 2021, 6:34am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/18 "2021-04-09T06:34:22Z")

</div>

I need to become developer or something? Cuz i cant install any app from this link

---

<div class="post-metadata">

**Author:** ![Oren\_Malki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oren_malki/32/13766_2.png) [@Oren\_Malki](https://community.homey.app/u/Oren_Malki)\
**Post date:** [April 9, 2021, 9:02pm UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/19 "2021-04-09T21:02:53Z")

</div>

now i understood  
i wes needed to sign in  
all working fine  
thankyou

---

<div class="post-metadata">

**Author:** ![andreleo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andreleo/32/48219_2.png) [@andreleo](https://community.homey.app/u/andreleo)\
**Post date:** [March 26, 2024, 7:31am UTC](https://community.homey.app/t/problem-on-connecting-mi-hub-gateway-to-homey/45791/20 "2024-03-26T07:31:38Z")

</div>

Hi, I have a question from 2024: does Homey support “Xiaomi Smart Home Hub 2” ?  
Here is the link to the product: [https://mistore.se/products/xiaomi-smart-home-hub-2?variant=46619970109775](https://mistore.se/products/xiaomi-smart-home-hub-2?variant=46619970109775)

If yes, should I choose “Xiaomi Gateway v2(WiFi)” to add?

 ![IMG_BF95DFDEC336-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0e0ec6b6f3ce80b3ca9e6fea4c318a98a1adc275.jpeg)

Thanks in advance 🙂
