[APP][Pro] Xiaomi Mi Home App

You have posted this in the wrong topic. This is the support topic for Xiaomi Mi Home devices and Yeelights. Mi Light is a different brand.

Oops, youā€™re right. Apologies, I got confused by the ā€˜Miā€™ in Milights.

Hello. Since a couple of days Homey can not connect to my Mi robot 2. Iā€™m getting an error: ā€œNetwork communication is unavailable, device might be destroyedā€

Iā€™m still able to control the robot using the mi home app. So the device is working fine. It has also still the same ip adress.

Any idea what this could be?

It seems Homey lost the connection with the Robot. Although it should automatically restore the connection it seems this is not happening. Could you restart the app and see if that restores the connection.

a app restart will bring it back, im restart the app right before my cleaning time starts

A restart of the app did bring it back to live. Is this a known bug? Do I need to restart it every day?

Iā€™m not experiencing this myself. I can only explain it due to flaky WiFi connection of the robot. Even then it should reconnect in time. I can create a debug version for you to install which you should run from command line. This would give me extra info.

Hello all,

since a couple of days, my homey wonā€™t recognize my Yeelights (RGB 600lm ) anymore. They are still in my devices in my homey, but he canā€™t reach themā€¦ anyone the same problem or even better, the solution for this problem?

image

Have you tried restarting the app already?

If so, it looks like either a network problem (did the IP addresses of the lights change?) or a problem with the developer mode. Have you checked this in the Yeelight smartphone app?

@Phuturist Thanks for your swift reply, but the IP is still the same. I even tried to reset the bulb and try to add it again to homey. First the proces seems to be good, and the light is added to my devices. But a few seconds later, the connection is brokenā€¦ itā€™s strange because there is nothing changed since it stopped working ( WiFi, lights, homey )

What can i do to check the lights? Iā€™m in the office right now and the yeelight app has lost the devices completlyā€¦ very strange now I see this. Has to be a connection between these two issues?

Perhaps a firmware update did not go as planned and the bulbs where reset. I had this once myself. If this is the case that probably means the developer mode has been switched off as well. Not sure if this would still allow to discover the devices however. Iā€™m not sure what else you can do.

I did a reset of the bulbs in my bedroom, but even after this the bulbs disconnects from homey.
Adding the bulbs works like a charm, but after the setup the connection breaksā€¦ I donā€™t get it why this occurs.
LAN-control is on, Itā€™s the same as developer mode right?

I donā€™t know either. Do you know how to do a CLI install so I can get some debug logging?

Is there any way to do a brightness check on the Yeelight?

e.g. I want to say
whenā€¦ button pressed
ā€¦andā€¦ light brightness is <20%
ā€¦thenā€¦ set light brightness 100%
ā€¦elseā€¦ set light brightness 15%

Sure, just use the global tags (dim capability).

Ah, of courseā€¦ one of those brain fart moments :wink:

Just experienced same issue as MiteZZ. 2/3 yeelights is ā€œofflineā€ in homey. Have not changed / updated anything manually atleast in several days, now when I got back home theyā€™re offline. The ledstrip in my bedroom work as expected. Theyā€™re visible in both Xiaomi Home and Yeelight app, and work as usual.

When I PTP on the bulbs, left them off for 1-2 minutes, they came back alive in homey. In my case, they had changed access point to the basement (Google WIFI), but is now back on the right AP. So this might be caused when / if it jumps to another AP? Dunno, just wanted to tell.

v2.9.0 - 2018-10-06

  • NEW: add homealarm state capability for Xiaomi Gateway (state does not get synced when changing it through the Mi Home app yet)
  • FIX: keep custom capability night_mode for specific Yeelights in sync when changed through Yeelight / Mi Home app

Hi,

For getting the token of de S50 (Roborock), Iā€™ve deinstalled the Mi Home app from my Android and installed the 5.0.19 version of the app (like stated here: https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md ). Then I resetted the wifi from the roborock, logged in de android app (chose Europe region), and added the roborock again. But after all this, I still get an empty Token back in the mioo2.db.

Do I need to reset something before I can find the Token? Factory reset the device? Clearing files from my phone? Creating new Xiaomi-account? Or something else??

Thanks!

That all seems right to me, not sure why the token is not available. Perhaps Xiaomi has introduced another measure to make it hard to directly control any miio devices ā€¦ :thinking:

Cant really help you Iā€™m afraid.