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 Smart Air Purifier 4 Compact doesn't work #86104

Closed
kevin-kraus opened this issue Jan 17, 2023 · 4 comments
Closed

Xiaomi Smart Air Purifier 4 Compact doesn't work #86104

kevin-kraus opened this issue Jan 17, 2023 · 4 comments

Comments

@kevin-kraus
Copy link
Contributor

The problem

Hi all,

I've purchased a Xiaomi Smart Air Purifier 4 Compact. Unfortunately the Integration does not yet support it.

It always throws the following exception when trying to use it with the Type for Smart Air Purifier 4 (zhimi.airp.mb5):
CleanShot 2023-01-17 at 20 03 55@2x

It looks like the support for this device will be included in python-miio version 0.6.0. It has been mentioned in this issue (rytilahti/python-miio#1550) and merged in this PR (rytilahti/python-miio#1581).

So as soon as version 0.6.0 is used by HomeAssistant it should work. You then only need to add the device type zhimi.airp.cpa4.

Just wanted to post this here so it does not get forgotten and if somebody else has the same issue he can find help here.

Kind regards

Kevin

What version of Home Assistant Core has the issue?

2023.1.4

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?

2023-01-17 19:37:06.081 WARNING (SyncWorker_9) [miio.device] Found an unsupported model 'zhimi.airp.cpa4' for class 'AirPurifierMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/
2023-01-17 19:37:06.106 WARNING (SyncWorker_9) [miio.miot_device] Unable to find mapping for zhimi.airp.cpa4, falling back to zhimi.airpurifier.ma4

Additional information

No response

@home-assistant
Copy link

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 Change the title of 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)

@issue-triage-workflows
Copy link

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.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2023
@IKNikolov
Copy link

I have the same issue and I just updated to HA 2023.5.3 and tried again and the issue is the same:

image

@brylee123
Copy link

I am also having the same issue. I've been trying to use the Xiaomi Miot Auto integration from HACS as a temporary alternative for my Compact 4, but it would be great if the native integration supports it.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants