core
core copied to clipboard
Mi Purifier 3H availability blips
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]
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
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)
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.
Experiencing same issue, would appreciate a fix please.
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...
I'm experiencing the same issue
In addition to the blips, I have to reauthenticate about once a week, possibly nees to open separate thread if I figure out how.
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?
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
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 you're using the core mi integration? Not xiaomi miiot auto? And you have no blips in history?
@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.
just to confirm it's still happening for me.
Hello I'm also experiencing the same with a Mio Light. Every 2 minutes I get an error message.
I also have the same problem, frequent disconnections of the device and all connected entities