This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed Official
[APP] Xiaomi Mi Home (supports Yeelights and Mi Home WiFi devices)
This discussion has been closed.
Comments
I checked the documentation and my MI Purifier 2 meets all the "requirements" to run the different device modes (I guess this is what you meant?) modes idle, auto and silent work fine, but his device performs better when in medium mode which isn't available now.. It's the last three modes (low, med, high) that don't work. De purifier just doesn't respond when setting it to one of these three modes.
I don't own the device myself so I can't test it.
*Apologies* I see it's in the list. Will test tonight
Just installed the Mi Home app, I'm unable to add the ceiling light under 'yeelight', which makes sense I suppose.. However, is there a different way to add it (as the list indicates it could potentially be possible)?
Maybe the answer can be found in addressing the Identifier? Mine for instance should be the following identifier with Id:
right? Maybe homey somehow only talks to the first version when addressing the speed function?
He added a todo for himself claiming that the available modes differ per model. Appearantly he has not gotten around to it too look into it further and probably does not own the device himself as well. Seeying this issue in his repo there are other people that have similar issues with the v2 version: https://github.com/aholstenson/miio/issues/61
So it seems ithe v2 is only partially supported right now. There is not much I can do about it without actually owning the device.
When this works I can also use it in normal flows, which currently is not reliable.
https://github.com/aholstenson/miio/blob/master/docs/missing-devices.md
Latest version - 2017-11-30 -- v2.3.2
miio https://github.com/rytilahti/python-miio/blob/master/README.rst
Any advice, or do I have to remove and re-add them to Homey to fix this?
Always nice when you find a setting called "Block LAN to WLAN Multicast and Broadcast Data" in your new wireless setup :-) Decided to uncheck that box to see what happens and... the yeelights are back and seem to remain back as well!
------------------------------------------
Updated my wireless setup and as a result also had to re-connect my 2 yeelights. No problems so far, managed to reset them (on/off 5 times) and after that reconnect them to the wireless using the yeelight app and turned on LAN control.
I had already removed the existing yeelights from devices and restarted the Homey Xiaomi Mi Home app.
After this I added the Yeelight as a new device, it was detected (with the new IP address) without any issues and added and appeared as device. Immediately after however it goes offline to not come online again.
I can see on my router that the lights are connected to the wifi network just fine, they are connected on the IP addresses on which Homey also found them. I can also still control the lights with the yeelight app just fine.
I have tried the following:
- wait a while to see if the yeelight will come back online in Homey --> no success
- re-do all steps described above (resetting the yeelight, adding it via yeelight app, etc.) --> same end result, the lights get added to Homey only to immediately go offline
The exact same thing is happening with both my yeelights
Any idea what I could be doing wrong or what I could try to do?
The beta release can be downloaded here: https://github.com/jghaanstra/com.xiaomi-miio/archive/2.4.0-beta.zip
Please let me know if anyone is able to test support for these devices.
I have published a new release to the app store with the other supported devices.
Latest version - 2017-12-20 -- v2.4.0
Update: It seems to be quiete a problem to get that security token (i'm using an iPhone). If you know an easy way to do this...
The delay is out of my hands I'm afraid. As this is not an official API from Xiaomi but a reversed engineered one no garantees on functionality and performance can be given. But seeying more and more device (like the vacuum cleaner) stop working properly it makes me wonder if I should continu with this app. I probably know what the issue is with the tint, so I'll implement a possible fix for the next release for now.