Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
djmalin opened this issue Jun 22, 2020 · 5 comments · Fixed by #37422

Comments

@djmalin
Copy link

djmalin commented Jun 22, 2020

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:

  • platform: xiaomi_miio
    host: 192.168.1.141
    name: oczyszczacz
    token: !secret fan token
    model: zhimi.airpurifier.ma4

Traceback/Error logs

2020-06-22 09:05:07 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: {'code': -5001, 'message': 'command error'}

Additional information

@probot-home-assistant
Copy link

xiaomi_miio documentation
xiaomi_miio source
(message by IssueLinks)

@denysdovhan
Copy link
Contributor

denysdovhan commented Jun 22, 2020

Might be related to #36972 ?

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

@vampywiz17
Copy link

vampywiz17 commented Jul 1, 2020

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

@mrfoxbit
Copy link

mrfoxbit commented Jul 2, 2020

I have the same issue with release 0.112.

@rytilahti
Copy link
Member

Upstream issue: rytilahti/python-miio#730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants