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
74.17k stars 31.14k forks source link

Unable to find mapping for zhimi.airp.mb3a, falling back to zhimi.airpurifier.ma4 #69458

Closed caohuongls closed 1 year ago

caohuongls commented 2 years ago

The problem

The issue show in logger as below when using component for Mi Air Purifier 3H. The device and control device is still working but the log display many times. I'm using server Singapore for this device

Logger: miio.miot_device Source: /usr/local/lib/python3.9/site-packages/miio/miot_device.py:172 First occurred: 12:03:45 AM (196 occurrences) Last logged: 12:51:00 AM

Unable to find mapping for zhimi.airp.mb3a, falling back to zhimi.airpurifier.ma4

What version of Home Assistant Core has the issue?

2022.4.0

What was the last working version of Home Assistant Core?

2022.4.0

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?

2022-04-07 00:03:45 WARNING (SyncWorker_2) [miio.device] Found an unsupported model 'zhimi.airp.mb3a' for class 'AirPurifierMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/

Additional information

No response

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

Hey there @rytilahti, @syssi, @starkillerog, @bieniu, 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! (message by CodeOwnersMention)


xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)

reinhardsiegel79 commented 2 years ago

same here, same device, same errormessage :(

github-actions[bot] commented 2 years ago

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.

rytilahti commented 2 years ago

Created https://github.com/rytilahti/python-miio/pull/1468 to mark that model as supported, thanks for reporting!

mainLink0435 commented 2 years ago

Maybe I'm doing something wrong - I updated to 0.5.12 but I'm still getting the error. HA docker 2022.8.5

caohuongls commented 2 years ago

@rytilahti when it update to home assistant OS. I check and update the lastest version HA OS, it's stll not working

rytilahti commented 2 years ago

Uhh, looks like it was named zhimi.airpurifier.mb3a in the commit, sorry for that... I created a new one to add the model you reported @caohuongls.

mainLink0435 commented 2 years ago

Apologies I'm not exactly sure how this works.. do we get a new version of python-miio now? 0.5.13?

joes63t commented 2 years ago

Uhh, looks like it was named zhimi.airpurifier.mb3a in the commit, sorry for that... I created a new one to add the model you reported @caohuongls.

Hi, can you help me with my model zhimi.airp.mb3a ? i have issue WARNING (SyncWorker_8) [miio.miot_device] Unable to find mapping for zhimi.airp.mb3a, falling back to zhimi.airpurifier.ma4

mainLink0435 commented 2 years ago

Uhh, looks like it was named zhimi.airpurifier.mb3a in the commit, sorry for that... I created a new one to add the model you reported @caohuongls.

@rytilahti Any chance we can get this committed into the code?

rytilahti commented 2 years ago

It will require a new python-miio release, I hope we can make that happen for homeassistant 2022.11.

issue-triage-workflows[bot] commented 1 year ago

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.

caohuongls commented 1 year ago

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.

It's still issues on version HAOS 2023.1.0

Logger: miio.miot_device Source: /usr/local/lib/python3.10/site-packages/miio/miot_device.py:172 First occurred: 6:00:35 PM (467 occurrences) Last logged: 8:09:32 PM

Unable to find mapping for zhimi.airp.mb3a, falling back to zhimi.airpurifier.ma4

issue-triage-workflows[bot] commented 1 year ago

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.