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

Found an unsupported model 'zhimi.humidifier.ca4' for class 'AirHumidifierMiot' on HA 2021.12.0 #1226

Closed
VikeDragon opened this issue Dec 12, 2021 · 1 comment
Labels

Comments

@VikeDragon
Copy link

Describe the bug
Logger: miio.device
Source: /usr/local/lib/python3.9/site-packages/miio/device.py:153
First occurred: 11:17:37 (1 occurrences)
Last logged: 11:17:37

Found an unsupported model 'zhimi.humidifier.ca4' for class 'AirHumidifierMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/

But device working and sensor flashed active/unactive

Version information (please complete the following information):

  • OS: Debian GNU/Linux 10 (buster)
  • HA: ver. 2021.12.0
  • python-miio: unknow - command [Use miiocli --version or pip show python-miio] not working

Device information:
If the issue is specific to a device [Use miiocli device --ip <ip address> --token <token> info]:

  • Manufacture : Xiaomi
  • Model: zhimi.humidifier.ca4
  • Hardware version: unknow
  • Firmware version: 2.2.1.0017

To Reproduce
Steps to reproduce the behavior:

  1. Reboot HA

Expected behavior
No errors

Console output
2021-12-12 11:17:37 WARNING (SyncWorker_1) [miio.device] Found an unsupported model 'zhimi.humidifier.ca4' for class 'AirHumidifierMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/
2021-12-12 11:17:40 INFO (MainThread) [homeassistant.components.humidifier] Setting up humidifier.xiaomi_miio
2021-12-12 11:20:11 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Увлажнитель data
2021-12-12 11:20:26 INFO (MainThread) [homeassistant.components.xiaomi_miio] Fetching Увлажнитель data recovered
2021-12-12 11:22:26 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Увлажнитель data
2021-12-12 11:22:41 INFO (MainThread) [homeassistant.components.xiaomi_miio] Fetching Увлажнитель data recovered
2021-12-12 11:24:41 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Увлажнитель data
2021-12-12 11:24:56 INFO (MainThread) [homeassistant.components.xiaomi_miio] Fetching Увлажнитель data recovered
2021-12-12 11:26:56 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Увлажнитель data
2021-12-12 11:27:11 INFO (MainThread) [homeassistant.components.xiaomi_miio] Fetching Увлажнитель data recovered
and so on loop ...
2021-12-12 11:31:26 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching Увлажнитель data
2021-12-12 11:31:41 INFO (MainThread) [homeassistant.components.xiaomi_miio] Fetching Увлажнитель data recovered

@VikeDragon VikeDragon added the bug label Dec 12, 2021
@rytilahti
Copy link
Owner

rytilahti commented Dec 12, 2021

The warning about unsupported model is already fixed by #1220.

edit: to add, timeouts can be caused by various things, but are unrelated to the warning so I'm closing this. See https://python-miio.readthedocs.io/en/latest/troubleshooting.html for potential ideas how to fix this. It can also be that the device firmware is just not so great and there's nothing we can do about it here.

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

No branches or pull requests

2 participants