home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.34k stars 29.88k forks source link

Xiaomi Air Purifier 3 Got exception while fetching the state: {'code': -5001, 'message': 'command error'} #36993

Closed djmalin closed 4 years ago

djmalin commented 4 years ago

The problem

Hello, I have a purifier zhimi.airpurifier.ma4 and a kettle viomi.health_pot.v1 (https://github.com/fineemb/Xiaomi-Smart-Multipurpose-Kettle) in custom componets, previously both entities worked without a problem, now since version 0.111. The Purifier Entity does not work, when I remove the kettle Purifier Purpose

Environment

Home Assistant Core release with the issue: 0.111.4 (latest) Last working Home Assistant Core release (if known): 0.110 Operating environment (Home Assistant/Supervised/Docker/venv): HassOS 4.10 Integration causing this issue: fan.xiaomi_miio Link to integration documentation on our website: https://www.home-assistant.io/integrations/fan.xiaomi_miio/

Problem-relevant configuration.yaml

fan:


## Traceback/Error logs
<!--
  If you come across any trace or error logs, please provide them.
-->
2020-06-22 09:05:07 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: {'code': -5001, 'message': 'command error'}
```txt

Additional information

probot-home-assistant[bot] commented 4 years ago

xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)

denysdovhan commented 4 years ago

Might be related to #36972 ?

Seems like Xiaomi Air Purifier 3/3H is generally unstable.

vampywiz17 commented 4 years ago

Same probem, same error message. but only happen affer i update to 0.112.

mrfoxbit commented 4 years ago

I have the same issue with release 0.112.

rytilahti commented 4 years ago

Upstream issue: https://github.com/rytilahti/python-miio/issues/730