rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances
https://python-miio.readthedocs.io
GNU General Public License v3.0
3.55k stars 543 forks source link

Unsupported device found: chuangmi.remote.v2 #619

Open AlexeyVillain opened 4 years ago

AlexeyVillain commented 4 years ago

After update to 6.0.3 stopped working Xiaomi Mi Remote log:

Уровень: ERROR Mon Jan 27 2020 19:43:19 GMT+0300 (Москва, стандартное время) Unsupported device found! Please create an issue at https://github.com/rytilahti/python-miio/issues and provide the following data: chuangmi.remote.v2

remote:

saraykina commented 4 years ago

Logger: homeassistant.components.xiaomi_miio.switch Source: components/xiaomi_miio/switch.py:181 Integration: xiaomi_miio (documentation, issues) First occurred: 13:12:32 (1 occurrences) Last logged: 13:12:32

Unsupported device found! Please create an issue at https://github.com/rytilahti/python-miio/issues and provide the following data: chuangmi.remote.v2

rytilahti commented 4 years ago

You could try modifying this file https://github.com/home-assistant/core/blob/dev/homeassistant/components/xiaomi_miio/switch.py#L145 locally to include the v2 in the list. That should work if there are no changes in any features it now supports.

tomaae commented 2 years ago

Still getting this error, but device works fine.

Logger: miio.device
Source: /usr/local/lib/python3.9/site-packages/miio/device.py:155
First occurred: 20:27:58 (1 occurrences)
Last logged: 20:27:58

Found an unsupported model 'chuangmi.remote.v2' for class 'ChuangmiIr'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/