Bind Xiaomi gateway Topic is solved

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
Hassio
Posts: 2
Joined: Friday 22 November 2019 22:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Bind Xiaomi gateway

Post by Hassio »

Hello,
I was using my xiaomi gateway on my old domoticz system, and because of a problem on the raspberry, I had to reinstall it again in a new device.
When I tried to bind again the xiaomi gateway (without any update on the gateway) to the new system, it asks me for an user and password, in the password field I wrote the password of LAN mode of the gateway, but I´m not sure what to write on user field. At first time I leave user blank and tryied to get the devices but any device was retrieved, and in the log I see this:
2019-11-22 21:16:41.983 Status: XiaomiGateway (ID=7): stopped
2019-11-22 21:16:41.994 Status: XiaomiGateway (ID=7): Delaying worker startup...
2019-11-22 21:16:46.994 Status: XiaomiGateway (ID=7): Selected as main Gateway
2019-11-22 21:16:46.995 Status: XiaomiGateway (ID=7): Worker started...
2019-11-22 21:16:46.995 Status: Incoming connection from: 10.0.0.67
2019-11-22 21:16:46.995 Status: XiaomiGateway (ID=7): XiaomiGateway IP address starts with: 10.0.
And it stops searching. Anyone can help me?
bartmolk
Posts: 7
Joined: Monday 14 May 2018 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bind Xiaomi gateway

Post by bartmolk »

Did you try blank on both options? If you really forgot the cridentials i'm quite sure you have to factory reset the gateway.
Hassio
Posts: 2
Joined: Friday 22 November 2019 22:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bind Xiaomi gateway

Post by Hassio »

but I think that the password is the one on LAN mode, not the one of mine account. Also in the previous domoticz system where I got it working, there was only password field, and in this new system it asks me about user and password
floris74
Posts: 75
Joined: Sunday 30 November 2014 8:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hoorn, Netherlands
Contact:

Re: Bind Xiaomi gateway

Post by floris74 »

Hi,

I have the same problem. im on the latest beta and i have to fill in a username.... :roll:

I just bought the gateway and some sensors, hoping to have some fun with my domoticz... not...

does anyone know how to solve this?
Schermafdruk van 2019-12-11 23-30-47.png
Schermafdruk van 2019-12-11 23-30-47.png (43.06 KiB) Viewed 3633 times
smukec
Posts: 3
Joined: Monday 11 November 2019 12:31
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Bind Xiaomi gateway

Post by smukec »

It is only a password field in last stable version. And I left it empty.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Bind Xiaomi gateway

Post by waaren »

floris74 wrote: Wednesday 11 December 2019 23:37 I have the same problem. im on the latest beta and i have to fill in a username.... :roll:
does anyone know how to solve this?
What message do you see on the screen or in the log if you leave the field blank?
I tried this on my system V4.11563 and when I leave the user field blank and provide the right password the Xiaomi gateway hardware is added into domoticz.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
floris74
Posts: 75
Joined: Sunday 30 November 2014 8:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hoorn, Netherlands
Contact:

Re: Bind Xiaomi gateway

Post by floris74 »

Hi, thanks already.

I'm on 4.11563

this is my log without username and without password. (the IP is the IP of domoticz. the IP of xiaomi gateway is 192.168.1.51

2019-12-12 16:58:14.183 Status: XiaomiGateway (ID=42): Delaying worker startup...
2019-12-12 16:58:19.184 Status: XiaomiGateway (ID=42): Selected as main Gateway
2019-12-12 16:58:19.184 Status: XiaomiGateway (ID=42): Worker started...
2019-12-12 16:58:19.184 Status: XiaomiGateway (ID=42): Using 192.168.1.55 for local IP address.

and this is the log without username and with the gateway password;

2019-12-12 17:01:47.533 Status: XiaomiGateway (ID=42): Delaying worker startup...
2019-12-12 17:01:52.534 Status: XiaomiGateway (ID=42): Selected as main Gateway
2019-12-12 17:01:52.534 Status: XiaomiGateway (ID=42): Worker started...
2019-12-12 17:01:52.534 Status: XiaomiGateway (ID=42): Using 192.168.1.55 for local IP address.

no hardware yet
floris74
Posts: 75
Joined: Sunday 30 November 2014 8:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hoorn, Netherlands
Contact:

Re: Bind Xiaomi gateway

Post by floris74 »

Hmzzz,.

i did a stable install on another Pi for testing V4.10717. the good news is; there in no user - option, the bad news is, same problem. it seems that i cant connect to the gateway. i dont see the gateway in my devices list.
:oops:
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Bind Xiaomi gateway

Post by waaren »

floris74 wrote: Friday 13 December 2019 10:31 Hmzzz,.

i did a stable install on another Pi for testing V4.10717. the good news is; there in no user - option, the bad news is, same problem. it seems that i cant connect to the gateway. i dont see the gateway in my devices list.
:oops:
Did you enable the accept new hardware switch on the [SETUP] [SETTINGS] [SYSTEM] page ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
floris74
Posts: 75
Joined: Sunday 30 November 2014 8:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hoorn, Netherlands
Contact:

Re: Bind Xiaomi gateway

Post by floris74 »

ohhhh baby!!!

https://www.domoticz.com/forum/viewtopic.php?t=27415

because my test domoticz even didnt get connected, i looked further, so i get it done by some hardware mod :)

Everything is working now!!
floris74
Posts: 75
Joined: Sunday 30 November 2014 8:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hoorn, Netherlands
Contact:

Re: Bind Xiaomi gateway

Post by floris74 »

waaren wrote: Friday 13 December 2019 20:23
floris74 wrote: Friday 13 December 2019 10:31 Hmzzz,.

i did a stable install on another Pi for testing V4.10717. the good news is; there in no user - option, the bad news is, same problem. it seems that i cant connect to the gateway. i dont see the gateway in my devices list.
:oops:
Did you enable the accept new hardware switch on the [SETUP] [SETTINGS] [SYSTEM] page ?
Thank you for helping me. It's solved. i had a new gateway witch cant open the 9898 port without the hardware mod.
ismo67
Posts: 13
Joined: Friday 21 April 2017 23:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland, Kerava
Contact:

Re: Bind Xiaomi gateway

Post by ismo67 »

Rasperry Pi4, Shelly, Yeelights, Xiaomi, Tuya, Tahoma, ESPEASY, Google Home
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests