core icon indicating copy to clipboard operation
core copied to clipboard

Mi Purifier 3H availability blips

Open rwjack opened this issue 1 year ago • 4 comments

The problem

This is a long standing issue that was apparently fixed by bumping python miio, but it's still occurring for me.

HA has an interface that is on the IOT subnet, so the devices are able to talk locally, unsure why this is happening.

https://github.com/home-assistant/core/issues/37651 https://github.com/home-assistant/core/issues/36972 https://community.home-assistant.io/t/miio-xiaomi-air-purifier-availability-blinking/205707/25 https://github.com/home-assistant/core/pull/82601 https://github.com/rytilahti/python-miio/issues/422

The following line is repeated many times in HA core logs:

2023-09-22 12:57:54.472 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Error fetching Mi Purifier 3H data: Unable to discover the device [REDACTED PURIFIER IP]

image


image

What version of Home Assistant Core has the issue?

core-2023.9.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

xiaomi_miio

Link to integration documentation on our website

https://www.home-assistant.io/integrations/xiaomi_miio/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

rwjack avatar Sep 22 '23 11:09 rwjack

Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (xiaomi_miio) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of xiaomi_miio can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign xiaomi_miio Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)

home-assistant[bot] avatar Sep 22 '23 11:09 home-assistant[bot]

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Still an issue unfortunately.

rwjack avatar Dec 21 '23 12:12 rwjack

Experiencing same issue, would appreciate a fix please.

larryb31 avatar Dec 26 '23 07:12 larryb31

I think I found a fix, but nobody is going to like it...

Once I enabled internet access for the purifier, both the WiFi reconnects and the error logs in HA stopped, how about that...

rwjack avatar Dec 28 '23 11:12 rwjack

I'm experiencing the same issue

lukaslabryszewski avatar Jan 24 '24 17:01 lukaslabryszewski

In addition to the blips, I have to reauthenticate about once a week, possibly nees to open separate thread if I figure out how.

larryb31 avatar Feb 16 '24 07:02 larryb31

same here but with a different device :xiaomi bedroom light (only 1 of 2 that I have in my bedroom). Very strange.

I did not updated fw in years and devices are behind firewall rules that cut internet connection

2024-02-22 19:29:26.105 ERROR (MainThread) [homeassistant.components.xiaomi_miio.light] Got exception while fetching the state: Unable to discover the device 192.168.2.15

this message is going over and over. Maybe increassing polling time?

jokerigno avatar Feb 22 '24 18:02 jokerigno

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

still active

rwjack avatar May 22 '24 19:05 rwjack

This issue seems to have been resolved in recent updates. I'm no longer experiencing this issue myself. Two 3H purifiers have stayed connected for several months now. Thank you devs. 👍

lukaslabryszewski avatar May 23 '24 07:05 lukaslabryszewski

@lukaslabryszewski you're using the core mi integration? Not xiaomi miiot auto? And you have no blips in history?

rwjack avatar May 24 '24 08:05 rwjack

@lukaslabryszewski you're using the core mi integration? Not xiaomi miiot auto? And you have no blips in history?

I'm using the Xiaomi Miio integration.

No more disconnects where I have to re-authenticate. It also could be due to me resetting the purifier so that I can use non-official filters without the RFID tag. I'm not sure if it's related, I just thought about it now although I've done it last November so I don't think it's related.

Filter reset on Xiaomi Air Purifier 3H | YouTube

MI Air Purifier Pro 3H - Filter Reset | Reddit

lukaslabryszewski avatar May 24 '24 08:05 lukaslabryszewski

just to confirm it's still happening for me.

image

image

rwjack avatar Jun 09 '24 17:06 rwjack

Hello I'm also experiencing the same with a Mio Light. Every 2 minutes I get an error message. image image

cobirnm avatar Jun 14 '24 12:06 cobirnm

I also have the same problem, frequent disconnections of the device and all connected entities

immagine

Albertowue avatar Aug 07 '24 15:08 Albertowue