Page 1 of 1
Bind Xiaomi gateway
Posted: Friday 22 November 2019 22:18
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?
Re: Bind Xiaomi gateway
Posted: Saturday 23 November 2019 0:01
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.
Re: Bind Xiaomi gateway
Posted: Saturday 23 November 2019 0:15
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
Re: Bind Xiaomi gateway
Posted: Wednesday 11 December 2019 23:37
by floris74
Hi,
I have the same problem. im on the latest beta and i have to fill in a username....
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 (43.06 KiB) Viewed 3629 times
Re: Bind Xiaomi gateway
Posted: Thursday 12 December 2019 8:22
by smukec
It is only a password field in last stable version. And I left it empty.
Re: Bind Xiaomi gateway
Posted: Thursday 12 December 2019 8:26
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....
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.
Re: Bind Xiaomi gateway
Posted: Thursday 12 December 2019 17:03
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
Re: Bind Xiaomi gateway
Posted: Friday 13 December 2019 10:31
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.
Re: Bind Xiaomi gateway
Posted: Friday 13 December 2019 20:23
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.
Did you enable the accept new hardware switch on the [SETUP] [SETTINGS] [SYSTEM] page ?
Re: Bind Xiaomi gateway
Posted: Friday 13 December 2019 22:45
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!!
Re: Bind Xiaomi gateway
Posted: Friday 13 December 2019 22:47
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.
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.
Re: Bind Xiaomi gateway
Posted: Friday 31 January 2020 17:58
by ismo67