question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add zhimi.airpurifier.mc2 support

See original GitHub issue

I bought the Xiaomi Air Purifier 2H but unfortunately there’s no support to add it to Home Assistant yet. I see that the device zhimi.airpurifier.mc2 is defined in the code but when i define the model in the configuration.yaml i get

Invalid config for [fan.xiaomi_miio]: value is not allowed for dictionary value @ data['model']. Got 'zhimi.airpurifier.mc2'. (See ?, line ?).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
syssicommented, Nov 4, 2020

Are you able to install python-miio and make some miiocli calls to provide some responses of your device?

0reactions
ciganskoviccommented, Nov 5, 2020

@syssi Model Nr. is AC-M9-AA

Read more comments on GitHub >

github_iconTop Results From Across the Web

[miio] Add support for zhimi.airpurifier.mc2 #7931 - GitHub
As discussed in the forum and per request in the thread regarding purifiers.
Read more >
Xiaomi mi air purifier 2H - Home Assistant Community
Having support for Xiaomi Air Purifier's is awesome. ... As you probably know, its model string is zhimi.airpurifier.mc2 and it is not ...
Read more >
Mi Air Purifier 2H working as the HomeKit device [UPDATE ...
Here is another trick, how to add Mi Air Purifier 2H to your Homebridge. Required steps: ... 'zhimi.airpurifier.mc2': AirPurifier,.
Read more >
python-miio — python-miio documentation
The miiocli command allows controlling supported devices from the command ... A (xiaomi.aircondition.mc1, mc2, mc4, mc5) - Xiaomi Mi Air Purifier 2, 3H,...
Read more >
Xiaomi Mi Air Purifier (Xiaomi Mi IO) - openHAB Community
Is there any way to add zhimi.airpurifier.mc2 (2H) or edit the ones ... Or python-miio today added support for your device… try there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found