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.14k stars 29.82k forks source link

Xiaomi Mi Air Purifier 3C (zhimi.airpurifier.mb4) is not available in Xiaomi Miio Device integration #47105

Closed abrilevskiy closed 3 years ago

abrilevskiy commented 3 years ago

The problem

Xiaomi Mi Air Purifier 3C is not available in Xiaomi Miio Device integration: The device model is not known, not able to setup the device using config flow.

What is version of Home Assistant Core has the issue?

core-2021.4.0.dev20210226

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Xiaomi Miio

Link to integration documentation on our website

No response

Example YAML snippet

# Put your YAML below this line

Anything in the logs that might be useful for us?

# Put your logs below this line
probot-home-assistant[bot] commented 3 years ago

Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as its been labeled with an integration (xiaomi_miio) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

zibous commented 3 years ago

Same Problem here:

fan:
  - platform: xiaomi_miio
    name: Luftfilter Küche
    host: 10.1.1.130
    token: *********
    model: zhimi.airpurifier.mb4

MODEL: zhimi.airpurifier.mb4

Invalid config for [fan.xiaomi_miio]: value must be one of 
['zhimi.airfresh.va2', 'zhimi.airpurifier.m1', 'zhimi.airpurifier.m2',
  'zhimi.airpurifier.ma1', 'zhimi.airpurifier.ma2', 'zhimi.airpurifier.ma4', 'zhimi.airpurifier.mb3', 
 'zhimi.airpurifier.mc1', 'zhimi.airpurifier.mc2', 'zhimi.airpurifier.sa1', 'zhimi.airpurifier.sa2', 
 'zhimi.airpurifier.v1', 'zhimi.airpurifier.v2', 'zhimi.airpurifier.v3', 'zhimi.airpurifier.v5',
 'zhimi.airpurifier.v6', 'zhimi.airpurifier.v7', 'zhimi.airpurifier.va1', 'zhimi.humidifier.ca1', 
 'zhimi.humidifier.ca4', 'zhimi.humidifier.cb1', 'zhimi.humidifier.v1'] for dictionary value @ data['model']. 
 Got 'zhimi.airpurifier.mb4'. (See ?, line ?).

System Health

version core-2021.5.0b2
installation_type Home Assistant Core
dev false
hassio false
docker false
virtualenv true
python_version 3.8.6
os_name Linux
os_version 5.8.0-50-generic
arch x86_64
timezone Europe/Vaduz
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4999 Installed Version | 1.12.3 Stage | running Available Repositories | 857 Installed Repositories | 51
Lovelace dashboards | 9 -- | -- resources | 23 views | 16 mode | storage

miiocli, version 0.5.6 Test with miiocli airpurifiermb4 --ip ******* --token ************** status is working !

Power: on
AQI: 92 μg/m³
Mode: OperationMode.Auto
LED brightness level: 8
Buzzer: True
Child lock: False
Filter life remaining: 97 %
Filter hours used: 106
Motor speed: 1256 rpm
Favorite RPM: 2000 rpm

Also https://github.com/al-one/hass-xiaomi-miot is working for me.

Creativesz commented 3 years ago

Having the same issue. Screenshot 2021-05-03 195701

Mi Air Purifier 3C Token: *** Model: zhimi.airpurifier.mb4 Region: de

System Health

version core-2021.4.6
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.83-v8
arch aarch64
timezone UTC
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 5000 Installed Version | 1.12.3 Stage | running Available Repositories | 776 Installed Repositories | 8
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | May 22, 2021, 2:00 AM relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 5.13 -- | -- update_channel | stable supervisor_version | supervisor-2021.04.3 docker_version | 19.03.15 disk_total | 28.6 GB disk_used | 6.8 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Mosquitto broker (5.1.1), Zigbee2mqtt (1.18.3-1), zigbee2mqttassistant (0.3.157), File editor (5.3.0), Check Home Assistant configuration (3.7.1), Duck DNS (1.12.5), Terminal & SSH (9.1.1), Spotify Connect (0.8.2), Home Panel (2.2.0), Glances (0.12.0), WireGuard (0.5.1)
Lovelace dashboards | 1 -- | -- resources | 6 views | 3 mode | storage
Spotify api_endpoint_reachable | ok -- | --
Xiaomi MIoT logged_in | true -- | -- can_reach_micloud_server | ok accounts_count | 1 account_devices_count | 0 added_devices | 3
github-actions[bot] commented 3 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.

4szt4l commented 3 years ago

Same issue with everything on latest version.

urukalo commented 3 years ago

same on:

Version core-2021.8.5

r4ian commented 3 years ago

@bieniu hey, thanks for fixing this! I see it has been merged in #55484 but it is still not available for me using 2021.9.4. What could be the problem? (it says device model is not known) - i haven't installed it as custom component.

MartinHjelmare commented 3 years ago

It's not released yet. You need to wait for the next minor release in October.