python-miio icon indicating copy to clipboard operation
python-miio copied to clipboard

Unsupported device found: chuangmi.remote.v2

Open AlexeyVillain opened this issue 5 years ago • 3 comments

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:

  • platform: xiaomi_miio host: 192.168.29.108 token: slot: 1 timeout: 30 hidden: false

AlexeyVillain avatar Jan 27 '20 16:01 AlexeyVillain

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

saraykina avatar Apr 04 '20 10:04 saraykina

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.

rytilahti avatar Apr 04 '20 12:04 rytilahti

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/

tomaae avatar Jan 22 '22 19:01 tomaae