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.
Closed Official

[APP] Xiaomi Mi Home (supports Yeelights and Mi Home WiFi devices)

178101213

Comments

  • deedje said:
    Is it still problem with homey for getting the Smoke Detectors from Xiaomi to work?
    Support for that device has not been added to the miio library yet. You can help with getting it added here: https://github.com/aholstenson/miio
  • Phuturist said:
    Ezdada said:
    uhm, sorry for the noob question  re: Xiaomi Gateway V2:
    I want to add the device,
    - where can I find the Token
    -  and what should be the polling frequency
    Read the info in the app store description on how to get the token. Using the default polling frequency of 60 seconds is fine.
    Sorry for asking, but I cant get it to work. I tried option two from the following link but i did not get any response from portable app. Any suggestions? https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md
  • Ezdada said:
    Phuturist said:
    Ezdada said:
    uhm, sorry for the noob question  re: Xiaomi Gateway V2:
    I want to add the device,
    - where can I find the Token
    -  and what should be the polling frequency
    Read the info in the app store description on how to get the token. Using the default polling frequency of 60 seconds is fine.
    Sorry for asking, but I cant get it to work. I tried option two from the following link but i did not get any response from portable app. Any suggestions? https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md
    Best is to go with one of the options under 3, depending on your device. That should work for sure.
  • Hi, I've installed the Gateway but I'm not able to create a flow. It isn't presented as a device. Within Zone's and decvices it is presented and I'm able to activate the light and the brightnes. As for color  default it's presented as a gray scale. After interaction with mi home I'm able to change the color from within Homey.
    Question: can I make a flow in order the use the gateway as a staircase light with brightness en colour depending on the time of te day. Should the gateway be presented as a device that can be controlled?
  • Johnotte said:
    Hi, I've installed the Gateway but I'm not able to create a flow. It isn't presented as a device. Within Zone's and decvices it is presented and I'm able to activate the light and the brightnes. As for color  default it's presented as a gray scale. After interaction with mi home I'm able to change the color from within Homey.
    Question: can I make a flow in order the use the gateway as a staircase light with brightness en colour depending on the time of te day. Should the gateway be presented as a device that can be controlled?
    Hmm yes, I initially implemented it as "light" device which adds these flow cards automatically but since I eventually also implemented the luminance I went with the "other" device class. I now probably need the manually add all the flow cards. I'll have to see if I can change the device class back to light but still maintain the luminance capability or I really have to add all cards by hand. May take some time before I get to this as I'm currently working on a paid job unrelated to Homey which of course has priority.
  • CarosCaros Member
    @Torrfura
    Can you tell whether the Robot Vacuum s50/s51 is working correctly now? Is the problem solved, or is this not workable with the Homey?
  • vaderagvaderag Member
    edited March 2018
    @Phuturist

    I'm having an issue with a new Yeelight - just added it to the app no problems, it's turned on, but when I go into Homey to add a device i get the cog, then no new devices found...

    What am I missing?

    Edit - nevermind, I forgot to enable LAN control... you should maybe add that to the Yeelight adding instructions to prevent idiots like me forgetting by the 6th one they've added ;)
  • Phuturist said:
    Ezdada said:
    Phuturist said:
    Ezdada said:
    uhm, sorry for the noob question  re: Xiaomi Gateway V2:
    I want to add the device,
    - where can I find the Token
    -  and what should be the polling frequency
    Read the info in the app store description on how to get the token. Using the default polling frequency of 60 seconds is fine.
    Sorry for asking, but I cant get it to work. I tried option two from the following link but i did not get any response from portable app. Any suggestions? https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md
    Best is to go with one of the options under 3, depending on your device. That should work for sure.
    I managed using option 3 on github (non jail-broken IOS). HOWEVER there tend to be more then one _mihome.sqlite file. In my case there were three files ending with this name. The tokens (encrypted) were hidden in a file called 1799628916_mihome.sqlite


  • viixviix Member
    Hi! I seem to be having issues with a pair of light strips that works sometimes but goes offline after a few days and I had to re-add it. 

    It is located in a toilet that turns on when My Neo coolcam PIR activates a flow. Thing is the device is still controllable from the yeelight app (doesn’t show weak signal as I’ve moved my AP near the closet) and the flow is activated correctly. (I added a push notification To test the flow is activated everytime)

    Anyone having the same problems?
  • I have a problem starting the Vacuum Cleaner it just does not respond, it is connected to the wifi and I have a dhcp allocated ip which is pingable. Also I see the vacuum in my "fing" router connected devices. What can be the problem
  • @Caros No, it is still very "buggy". It reports wrong states so I it not really usable :( I cannot tell it to return to dock for example, it just shuts off. It triggers multiple times sometimes, and mostly I get "Could not complete call to service".
  • viix said:
    Hi! I seem to be having issues with a pair of light strips that works sometimes but goes offline after a few days and I had to re-add it. 

    It is located in a toilet that turns on when My Neo coolcam PIR activates a flow. Thing is the device is still controllable from the yeelight app (doesn’t show weak signal as I’ve moved my AP near the closet) and the flow is activated correctly. (I added a push notification To test the flow is activated everytime)

    Anyone having the same problems?
    I'm aware there are connection issues with the Yeelights from time to time but I dont know how to fix it. There is no need to re-add your device though. Either pull the plug from the led strip or restart my app and your device should be online again. You could even automate the restart of the app with the candy app to make sure the connection between Homey and the light strip is refreshed every once in a while.

    chrisboer said:
    I have a problem starting the Vacuum Cleaner it just does not respond, it is connected to the wifi and I have a dhcp allocated ip which is pingable. Also I see the vacuum in my "fing" router connected devices. What can be the problem
    The only known issue with the vacuum cleaner V1  is that the first command after some time of being idle can time out. There might be a fix for this but it needs to be implemented in the miio library. You can track progress here: https://github.com/jghaanstra/com.xiaomi-miio/issues/27 . If your vacuum cleaner is not at all controlable you might need to check your token. What is the error returned by the action cards?

    Torrfura said:
    @Caros No, it is still very "buggy". It reports wrong states so I it not really usable :( I cannot tell it to return to dock for example, it just shuts off. It triggers multiple times sometimes, and mostly I get "Could not complete call to service".
    This app currently does not support the vacuum cleaner V2. It's depending on implementation for this device in the miio library. You can help adding support by supplying info or maybe even making a pull request here: https://github.com/aholstenson/miio/issues/130
  • Are the new Yeelight supported?
  • vaderag said:
    Are the new Yeelight supported?
    I'm not aware of any new Yeelights, do you have a link?
  • Phuturist said:
    vaderag said:
    Are the new Yeelight supported?
    I'm not aware of any new Yeelights, do you have a link?
    https://m.gearbest.com/led-light-bulbs/pp_1664061.html?currency=GBP&vip=4264260&gclid=Cj0KCQjwnqzWBRC_ARIsABSMVTOoDExCtf0pGEIpMu7U1pdGhvXPai1YfR7QdN_su-3KZtVDgXeY2XwaAoerEALw_wcB

    Version 2, greater lux apparently
  • vaderag said:
    Phuturist said:
    vaderag said:
    Are the new Yeelight supported?
    I'm not aware of any new Yeelights, do you have a link?
    https://m.gearbest.com/led-light-bulbs/pp_1664061.html?currency=GBP&vip=4264260&gclid=Cj0KCQjwnqzWBRC_ARIsABSMVTOoDExCtf0pGEIpMu7U1pdGhvXPai1YfR7QdN_su-3KZtVDgXeY2XwaAoerEALw_wcB

    Version 2, greater lux apparently
    Checked the Yeelight forum, the API is the same so it will be supported. But I probably need to add this type to the driver for proper support. I asked for basic info on the Yeelight forum and will add it once I have these details.
  • Phuturist said:
    vaderag said:
    Phuturist said:
    vaderag said:
    Are the new Yeelight supported?
    I'm not aware of any new Yeelights, do you have a link?
    https://m.gearbest.com/led-light-bulbs/pp_1664061.html?currency=GBP&vip=4264260&gclid=Cj0KCQjwnqzWBRC_ARIsABSMVTOoDExCtf0pGEIpMu7U1pdGhvXPai1YfR7QdN_su-3KZtVDgXeY2XwaAoerEALw_wcB

    Version 2, greater lux apparently
    Checked the Yeelight forum, the API is the same so it will be supported. But I probably need to add this type to the driver for proper support. I asked for basic info on the Yeelight forum and will add it once I have these details.
    Awesome. Don't have one yet, but if I see a deal I might pick one up :)
  • Latest version - 2018-04-06 -- v2.6.3

    • UPDATE: changed device class from Xiaomi Gateway to light (repair if you want to use the light flow cards)
    • NEW: added trigger card for changes in luminance for Xiaomi Gateway
    • FIX: fixed an error with setting the light temperature for the Philips Bulbs
  • vaderag said:
    Phuturist said:
    vaderag said:
    Phuturist said:
    vaderag said:
    Are the new Yeelight supported?
    I'm not aware of any new Yeelights, do you have a link?
    https://m.gearbest.com/led-light-bulbs/pp_1664061.html?currency=GBP&vip=4264260&gclid=Cj0KCQjwnqzWBRC_ARIsABSMVTOoDExCtf0pGEIpMu7U1pdGhvXPai1YfR7QdN_su-3KZtVDgXeY2XwaAoerEALw_wcB

    Version 2, greater lux apparently
    Checked the Yeelight forum, the API is the same so it will be supported. But I probably need to add this type to the driver for proper support. I asked for basic info on the Yeelight forum and will add it once I have these details.
    Awesome. Don't have one yet, but if I see a deal I might pick one up :)
    I have checked and it's supported without the need of any changes to the app. I did read about some issues with the lamp though (like the color red not being bright red). Will probably be fixed with a firmware update but for now you are probably better of with the V1 bulbs.
  • rtnartna Member
    Does the app support the Xiaomi LED Desk Lamp? This lamp can be operated through the Xiami Home app.

    http://www.mi.com/en/smartlamp/
  • rtna said:
    Does the app support the Xiaomi LED Desk Lamp? This lamp can be operated through the Xiami Home app.

    http://www.mi.com/en/smartlamp/
    It seems to be quite similar to the already supported Eyecare Lamp 2. But can't really tell for sure if support is also the same. If you have technical skills you could add support yourself if it's not fully supported yet. See https://github.com/aholstenson/miio/blob/master/docs/missing-devices.md 
  • rtnartna Member
    I ordered this desk lamp and it will be delivered later this week. I will test it with Homey and report back in this topic.
  • mauritsivsmauritsivs Member
    edited May 2018
    just installed the gateway, it seems that it doesnt report luminance levels... the lumi tag-card stays empty and only displays a " - ". and luminance doesnt show up on insights as an option. 
    maybe because it has been changed to light class?

    never mind, unplugged the gateway once and now it works again
  • Will the Xiaomi Roborock S50 vaccum cleaner work with this app?
  • rtnartna Member
    Tried to connect the Xiaomi Desk Lamp today. After a lot of trouble getting the token from the Android app I tried to connect the lamp as Philips Eye Care lamp. This did not work. There was an error something like function not supported. After that I tried to connect it as Philips Light. This worked fine, until after I tried to change some settings in the device. After that it lost connection to the lamp. I deleted the device and tried to connect it again as Philips light but with no succes. There is now a handshake failed error. So far no luck. I will try again tomorrow.
  • Will the Xiaomi Roborock S50 vaccum cleaner work with this app?
    Currently no, it might be supported in the future but I depend on support being added to the miio library. I cant do this myself due to not having the device and lacking the programming skills.
  • djeskodjesko Member
    edited May 2018
    can i use the scenes that i see in yeelight app in homey  police etc 
  • djesko said:
    can i use the scenes that i see in yeelight app in homey  police etc 
    Nope, these scenes are not available thorough the Yeelight api.
This discussion has been closed.