opened 05:29AM - 12 Jun 23 UTC
xiaomi
On previous firmware versions of the gateway, only the **MiHome token** was requ…ired to open the telnet. On firmware 1.5.5 this method was blocked.
## Software method with key
Open telnet with gateway key. Only useful if you received the `key` on old gateway firmwares. There is no known way to get the key without a working telnet.
**Attention!** Gateway key is not a token.
Integration [Xiaomi Gateway 3](https://github.com/AlexxIT/XiaomiGateway3) starting from version 3.3.0 supports adding a gateway on firmware 1.5.5 using a token and a key.
The integration also automatically saves the key to the following places:
- `/config/.storage/core.config_entries`
- `/config/.storage/xiaomi_gateway3/keys.json`
It is recommended to securely save your gateway key, even if you have a gateway of a different model. You might need it in the future updates.
## Software method with button
Open telnet with gateway button clicks. Only useful if your gateway was previously connected to the integration [Xiaomi Gateway 3](https://github.com/AlexxIT/XiaomiGateway3). Because otherwise there will be a password on the telnet. There is no known way to get this password.
5 clicks, pause, 2 clicks, pause, 2 clicks, pause, 2 clicks, pause, 2 clicks, pause, 2 clicks, pause, 2 clicks, pause.
https://www.youtube.com/shorts/qJ21wWNE1Gg
**Warning!** Incorrect clicks can reset the gateway. 10 clicks - reset gateway.
## Hardware method with UART
https://github.com/AlexxIT/XiaomiGateway3/wiki