# Mi Homey

**URL:** <https://community.homey.app/t/mi-homey/19816>\
**Category:** Apps\
**Tags:** app\
**Created:** [October 27, 2019, 7:38pm UTC](https://community.homey.app/t/mi-homey/19816 "2019-10-27T19:38:40Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 19, 2020, 3:24pm UTC](https://community.homey.app/t/mi-homey/19816/43 "2020-01-19T15:24:02Z")

</div>

hi, I’ve the second gateway but I think I need help, I ve found the token, Mac address and the gateway ip but I don’t know why I can’t add, if in settings I use ip and token to generate password , not work, if I use the Mac address I don’t have the password to abbinate… in node.js I write miio discovering but the response is:  
device id 274XXXXXX  
model info unknown  
address 192.168.x.x  
token ???  
support unknown

thanks

---

<div class="post-metadata">

**Author:** ![Stanci\_TyIO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stanci_tyio/32/16758_2.png) [@Stanci\_TyIO](https://community.homey.app/u/Stanci_TyIO)\
**Post date:** [January 19, 2020, 4:26pm UTC](https://community.homey.app/t/mi-homey/19816/44 "2020-01-19T16:26:36Z")

</div>

I can confirm, have latest gateway, when i use valid token and ip I always get info about timeouted something

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 19, 2020, 5:38pm UTC](https://community.homey.app/t/mi-homey/19816/45 "2020-01-19T17:38:31Z")

</div>

I think ( and i hope) we do wrong something

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 20, 2020, 8:32am UTC](https://community.homey.app/t/mi-homey/19816/46 "2020-01-20T08:32:22Z")

</div>

Goodmorning, today i have do a tentative to connect the gateway but this time i have try to connect It like an ir device… Not work but app see him ( right?)

 ![15795090162901402354984](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ce6bf2c061d3cde57d7903eeaff7bf70f829d646.jpeg)  
The ip and the token i think are correct but when i try to connect gateway an error occour, logically, i can’t use the gateway like ir device

Up:  
I’ve talk with the italian developer of Xiaomi smarthome app, he Say that the EU gateway don’ t have a password jet , the gateway Is DGNWG05LM

Up2: the gateway Is connected but the light not work , i’ve wrong something or miss a passage!?

 ![1579517322118122536508](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8c4b7a74d64f8e817b600c7cb6501b955dca913d.jpeg)

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 21, 2020, 11:48pm UTC](https://community.homey.app/t/mi-homey/19816/47 "2020-01-21T23:48:32Z")

</div>

Hi, i think i’m in your similar situation, can you help me ? Where i can add the gate with .getgatewaybymodel , where are gateway drivers ? Thank you  
Edit:

 ![P00122-094223](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2bedd8d11234a5a7c5ea2e845633635f9418eb8a.jpeg)  
I think Maxmudjon has alredy correct this bug but i can’t add the gateway

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [January 23, 2020, 1:14pm UTC](https://community.homey.app/t/mi-homey/19816/48 "2020-01-23T13:14:20Z")

</div>

Hi, the colors for gateway dont work properly. When I set color in the pallette the gateway is alway bright white. Is it repairable? Are you gonna support this app still? thank you very much for your interest helping us.

---

<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:** [January 23, 2020, 1:45pm UTC](https://community.homey.app/t/mi-homey/19816/49 "2020-01-23T13:45:45Z")

</div>

Hi, fantastic app ! Btw, when I added my gateway (not sure which generation I have but I purchased it 10 months ago) - in the setting I see GW IP 255.255.255.255 - state Power ON (while it’s off) and not reporting Lumens. While those values are reported correctly in the new app you just take over (and again THANK YOU !) The rest looks fine, eg. Smoke Sensors , Flood sensors (just realized my batteries could be running out?!)

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [January 23, 2020, 3:13pm UTC](https://community.homey.app/t/mi-homey/19816/50 "2020-01-23T15:13:26Z")

</div>

Do you have the same issue with the colors on the gateway?

---

<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:** [January 23, 2020, 3:27pm UTC](https://community.homey.app/t/mi-homey/19816/51 "2020-01-23T15:27:50Z")

</div>

Yep, it’s behaving strange - I set color, sometimes it’s reflected, sometimes not…  
Btw, would be fantastic also to have option to cancel alarms - eg. for the flooding sensors/smoke alarms. I was just testing it and the Gateway is then “blinking” red quite long. Naturally you would need it mostly at night in case of false alarms.

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 23, 2020, 5:36pm UTC](https://community.homey.app/t/mi-homey/19816/52 "2020-01-23T17:36:18Z")

</div>

What kind of gateway you have? How di you have abilitate colour?

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 23, 2020, 5:53pm UTC](https://community.homey.app/t/mi-homey/19816/53 "2020-01-23T17:53:07Z")

</div>

![Screenshot_2020-01-23-18-48-02(1)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d94aaaee19dcb8f4303d7f1a4f26788fe221a6ed.jpeg) i don’t know why i have this errore token and ip are both correct

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 23, 2020, 5:57pm UTC](https://community.homey.app/t/mi-homey/19816/54 "2020-01-23T17:57:04Z")

</div>

The image i’ve posted look similare your error?

---

<div class="post-metadata">

**Author:** ![Stanci\_TyIO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stanci_tyio/32/16758_2.png) [@Stanci\_TyIO](https://community.homey.app/u/Stanci_TyIO)\
**Post date:** [January 23, 2020, 7:37pm UTC](https://community.homey.app/t/mi-homey/19816/55 "2020-01-23T19:37:41Z")

</div>

Yes, its same

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 23, 2020, 9:04pm UTC](https://community.homey.app/t/mi-homey/19816/56 "2020-01-23T21:04:23Z")

</div>

as I imagined, someone can help us ?

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [January 27, 2020, 12:00am UTC](https://community.homey.app/t/mi-homey/19816/57 "2020-01-27T00:00:26Z")

</div>

Up

---

<div class="post-metadata">

**Author:** ![Mender](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mender/32/19648_2.png) [@Mender](https://community.homey.app/u/Mender)\
**Post date:** [February 4, 2020, 8:09pm UTC](https://community.homey.app/t/mi-homey/19816/58 "2020-02-04T20:09:09Z")

</div>

Some progress here? I have the same problem.

Is the 32 character token the right one?

If not - How can I get right token or password?

---

<div class="post-metadata">

**Author:** ![Flapaz90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flapaz90/32/17322_2.png) [@Flapaz90](https://community.homey.app/u/Flapaz90)\
**Post date:** [February 6, 2020, 7:23am UTC](https://community.homey.app/t/mi-homey/19816/59 "2020-02-06T07:23:19Z")

</div>

Sorry man no one can help us i think

---

<div class="post-metadata">

**Author:** ![Ivan\_Ryzhik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ivan_ryzhik/32/16038_2.png) [@Ivan\_Ryzhik](https://community.homey.app/u/Ivan_Ryzhik)\
**Post date:** [February 6, 2020, 9:46am UTC](https://community.homey.app/t/mi-homey/19816/60 "2020-02-06T09:46:17Z")

</div>

> [@Sharkys](#):
>
> values are reported

I used 32 character token. But first time i got error. Second time gateway added successfully.  
And in general you can run app in debug mode and post console logs here.

---

<div class="post-metadata">

**Author:** ![Mender](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mender/32/19648_2.png) [@Mender](https://community.homey.app/u/Mender)\
**Post date:** [February 6, 2020, 11:34am UTC](https://community.homey.app/t/mi-homey/19816/61 "2020-02-06T11:34:43Z")

</div>

with 32 char token I get

Invalid config for [xiaomi\_aqara]: length of value must be at most 16 for dictionary value @ data[‘xiaomi\_aqara’][‘gateways’][0][‘key’].

---

<div class="post-metadata">

**Author:** ![Ivan\_Ryzhik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ivan_ryzhik/32/16038_2.png) [@Ivan\_Ryzhik](https://community.homey.app/u/Ivan_Ryzhik)\
**Post date:** [February 6, 2020, 12:27pm UTC](https://community.homey.app/t/mi-homey/19816/62 "2020-02-06T12:27:44Z")

</div>

When you got this error? After “Generate and add”?

[Previous page](https://community.homey.app/t/mi-homey/19816.md?page=2)

[Next page](https://community.homey.app/t/mi-homey/19816.md?page=4)
