[APP][Pro] Xiaomi Mi Home App

Please use GitHub.

Have anyone succeded adding the Smartmi Rainforest?

According to the overview of supported devices in GitHub the Smartmi Rainforest Humidfier is supported:

  • WiFi
  • zhimi.humidifier.jd1
  • Smartmi Humidifier Rainforest
  • Use Smartmi Humidifier MIoT driver

I have tried the following methods from the " Obtain Mi Home device token" tutorial:

  • Method 1 - Obtain device token from Mi home account: The humidifier is not compatible with the Mi Home app as it uses the Smartmi Link app.
  • Method 3 - Obtain Xiaomi Gateway device token: The humidifier is not compatible with the Mi Home app as it uses the Smartmi Link app.
  • Method 4 - Nodejs Command Line Tool from the miIO Device library: I am able to install and use the code from both Shell and VS Code but when using ā€œmiio discoverā€ it searches but never finds the the device regardless if I connect directly to the WiFi of the unit or set it up with the app and connect it to my home WiFi.
  • Method 5a - Packet Sender Tool: The package sender tool only returns a 32 byte ASCII where the last 32 characters is repetitively ā€œ/ffā€. It seems lik it cannot find the device. I have tried the recommended IP 192.168.8.1 and the IP 192.168.4.1 that i obtain using ipconfig/all in the CMD of my computer when connected to the WiFi of the unit.

Im having the same problem with, but with ā€œSmartmi Air Purifier 2ā€.

Also failed with Method 2 - Mi Home app version v5.4.54, as the version is too old to have the purifier listed. I’ve tried several regions to see if it helped, but it didnt

1 Like

Just a heads up to the active users of this app (and there are quite of few of you). I have asked Athom to pull this app from the app store. I have been looking to transfer this app to another developer but recent efforts to find a new maintainer have been unsuccessful. Also Athom has been unable to come up with a proper solution.

As I have decided to quit as Homey app developer this seems to be the only way to fully get rid of my involvement with Homey and Athom. If in the future another developer still wants to continu development (or an interested user want to side load the app) the code and documentation will remain available on Github here: GitHub - jghaanstra/com.xiaomi-miio: Homey app to control Mi Home devices that implement the miIO protocol and Xiaomi gateway child devices

I assume existing user will be able to continu to use the app in it’s current state but no new installs will be possible and there wont be any updates with new devices.

1 Like

Hi @Phuturist , I PMed you, not sure if it’s too late already.

Just to calm down everyone - I’m not really an (experienced) developer and I know that @Phuturist did already great job on this app, yet , at least to keep this app running on the store, could help for few people. So for sure I will be not implementing new devices and I don’t own myself and I know that GitHUB was already full of requests - but if there is anyone else happy to take over, feel free

…but basically this is combined result of doing everything for free and also not having proper support even from the users themselves.

3 Likes

That’s a sad thing. I just recently got it running and it seems like you did a great job considering the complexity of supporting all these devices. This is probably the worst time to ask, but I do really have to ask… How would we side load the app? I’ve tried sideloading an app from another developer to try and get a device added myself, but failed because I couldn’t get it installed on my Homey. If I recall correctly there was an issue with the app ID already being used for an existing app?

Since @Sharkys has offered to transfer the ownership into his Athom account there is no need for side loading. It will remain available in the app store.

1 Like

Hello, does anyone have experience with the integration of a vacuum cleaner from Xiaomi. Specifically, I mean the Mi robot vacuum mop p. If I add an app to Homey and try to add my vacuum cleaner using a token and an IP address, it gives me the error Could not connect devices, handshake timeout.

Version 3.4.2 — Fan level fix for Xiaomi Mi Air Purifier Pro, Added support for Xiaomi Robot Vacuum X20+ and Xiaomi Smart Dehumidifier - all credits goes to Phuturist

app keeps on crashing since the update. Sent the crash report; 46fe58ad-7922-4531-a00d-6fe361d72575

You sent it from previous version, update to latest one…

Lightning fast releases, indeed it’s resolved :)!

Thank you for your hard work

Hello, is there already a solution for the Model: zhimi.airpurifier.mb4?

installation not a problem, but not working, on/off , speed ventilator, etc etc

It works with Google home, but not yet with Homey pro 2023.

Try to submit log with the device name but as mentioned above I don’t promise anything

Hello,
i switched to the homey 2023 today, previously i had a 2019. now i get the following error message. i would be grateful for any ideas as to what i can do.
Thank you

Your Robot lost connection probably. Restart the app and shall be okay again, it is related to the obsolete library used (unfortunately newer is not available). If not, try to remove & add the device again.

thanks for your tip. i have removed and re-added the device. it responds to changes to vacuuming power and wiping, but not to switching on.
is there any other idea what i can do?
I would be very grateful.


I added the x20+.
Everything is working fine.
However, converting sweeping to mopping does not work.
Is there something i can do to solve this problem

But the message tells you the device is unreachable. Are you sure you have stable wifi connectivity? Try to send the diag. log… include your nick and problem,…but as I mentioned, those errors are probably linked to the obsolete library itself.

thanks for the quick reply. yes the wifi is stable. as i said some functions are transmitted.

I have tried to send the report: 4c508788-36a8-4f5a-91f7-cbb374dbe5b3

what can i do about an outdated library ?

thank you very much for your help