-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Xiaomi Multimode Gateway on firmware 1.5.5 #13
Comments
Hello @AlexxIT , Last day, my gateway get automatically updated to this firmware. I met this compatibility problem, and rollbacked my gateway with telnet. Everything is ok now. How can we prevent this problem ? In the ReadMe you speak "firmware lock", how can we use that to definitely disable the automatic update ? Thank you |
Hi @AlexxIT, |
Keep your key safe. Limited support because of key problem. |
Thank you! I have done 1 and 2 and I will try to update it :) |
Thank you @AlexxIT it finally worked for me. My gateway is now on 1.5.5 after much back and forth. |
I have 2 gateways in my home with diffirent IP , but only one has be restored in key file . |
Same as for @qukefu (only one gateway info stored in |
You can see it in the integration setting or |
My hub is on earlier FW version (1.5.4_0090) Thanks in advance. |
Software (button) method works with 1.5.4. But it makes no sense, because telnet will be closed on every gateway reboot. |
Please just answer my question: |
I used the software method with button, devices are able to add in but all entities became "This entity is no longer being provided by the xiaomi_gateway3 integration. If the entity is no longer in use, delete it in settings" Diagnostic Gateway showing "Unavailable", has anyone seen the similar outcome? |
Hello. My hub already came with the FW 1.5.5_0006 version and I was not able to get the key via the button steps. Even after open the telnet and see the green light, when I connect to the hub via this integration I get: Name: Gateway Am I doing something wrong or the fact the hub has the 1.5.5_0006 version I'm not able to continue? |
Button method only useful if your gateway was previously connected to the integration. Your only way is UART |
I tried to follow instruction to flash custom firmware via UART. The script expects a Shall I flash 1.4.x first, or there is other approach to flash 1.5.x? Update: I had flashed the latest 1.4.x that provided the uart file. Then upgraded to latest 1.5.5 using telnet. Everything works fine. |
Hi. None of the software methods of opening telnet or getting the key works for me.
My gateway is ZNDMWG03LM (lumi.gateway.mgl03) with 1.4.6 FW, and the MiHome app says it's the latest one, I can't update to 1.5.xxx (which is apparently supported by the Gateway 3 integration. Do you have any advise on fixing this? |
@valiksheva try to use old HassWP versions with integration v2 |
Hi. I also checked /config/.storage/core.config_entries and can't find anything named "key" there, maybe you can point me to where it is (deleted username and password for security) There is also no keys.json in /config/.storage/xiaomi_gateway3, only devices.json and email.json, but none of them seems to have proper key |
You don't need key for this very old firmware. |
Yes, but no. On the current version of HAOS and Gateway3 integration I was not able to connect the gateway - I was constatnly getting "Wrong open telnet command" and the was no way to insert ANY open telnet command. Anyway, using HassWP_2021.6.5 and built-in Gateway3 integration I finally got the window I needed with "Open telnet command". However, the default one does not work, used this one Thanks for your help! |
it's useful with this method(https://www.youtube.com/shorts/qJ21wWNE1Gg), now my xiaomi multimode gateway 2 firmware(1.07_0019) works well. |
May I ask if it is possible to use key and token on firmware 1.5.6_0001 in multi-mode 1? |
It is possible |
ok,thanks.. |
Is that 8 digit number from manual a key? |
|
hello, i'm new. I could not connect my xiaomi gateway 3 device to homeassistant. My friend suggested this video https://www.youtube.com/watch?v=Um0cHG8zh7g, but when I add telnet, I get the "Wrong open telnet command" warning. Is there a video you can recommend for installation? How can I find the correct telnet? |
Trying to integrate Xiaomi Gateway 3 ( Model: lumi.gateway.mgl03) with 1.5.6_0001 firmware but no success. Cloud worked, but then I had no way passing the telnet error. Telnet error keeps showing up: Wrong open telnet command. When trying to retrieve data: Telnet: wrong_telnet. Any suggestions? I prefer not to do any hardware operations, only software. |
Xiaomi isn't really interested in what you prefer... You only have a chance for soft-way if the gateway was released from the factory with firmware 1.4.6 and below. Or the gateway has been successfully added to Hass earlier. |
Is there a way to check if my gateway came with the 1.4.6 firmware? If so, I have to make a firmware downgrade, add the gateway, retrive the key, then update to the latest firmware? |
You can open telnet with button clicks and check if you have simple password or not. If you have unknown password - hardware is only way. |
Hi, |
Clicks will open telnet without password for your case. |
It already opened. I can telnet into it without problem. But I want to backup the key for future use, I have no hass setup for getting the key. |
Integration should get key on first connection to gateway. And store it in the integration settings |
How can I change the version to 1.4.6 |
Hi My Gateway firmware is 1.5.4_0090 and it is working very well with my 23 zigbee devices. I can get to gateway via telnet. If I upgrade firmware via telnet to new 1.5.5 or 1.5.6 will my configuration be preserved after upgrade and it will work just after restart or I will have to add all of my devices again to gateway3 and HA? I am wondering if it is worth for me to upgrade to new firmware . |
I'm using original fw 1.5.4_0090 on my main gateway. If you have gateway's key - update shouldn't be a problem. |
That button method is mad! but works like a charm. @AlexxIT Thank you for all the work you put into this - most of my house is Xiaomi and I would be lost without your work. |
On previous firmware versions of the gateway, only the MiHome token was required 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 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. 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
The text was updated successfully, but these errors were encountered: