-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add Mi Air Purifier 3C (zhimi.airpurifier.mb4) support #117
Comments
@MarcE85 I received this air purifier couple of days ago and now I'm working on that |
It turned out to be a little bit more difficult than I thought. First, the following issue needs to be resolved in |
Im interested un this integration too |
rytilahti/python-miio#899 has been created in |
I'm also interested in this integration, any ideas in which timeframe this can be added? |
@TomStarren as I mentioned above, first PR in |
rytilahti/python-miio#899 has been merged |
So now?? |
Once the newest version of @syssi What's the relation between this repo and the same code in the HA repo? I saw there is some problem regarding adding new integrations with Xiaomi devices to HA using the old way. Could you more details? Is there any work in progress to improve that? |
@arturdobo Take a look at this paragraph: https://github.com/syssi/xiaomi_airpurifier/#what-is-the-difference-between-this-custom-component-and-the-one-in-home-assistant-core One point is missing: We are abusing attributes to provide the values of some properties (temperature, humiditiy, etc.) at the moment. This isn't allowed anymore. A device (the Air Purifier) must register multiple entities (fan, sensor, binary_sensor, switch, etc.) now. The |
Feel free to provide a pull request for this custom component as first step to support your device. I'm trying to refactor the component to be merged as official HA component again some day. |
Any update? |
nope |
We need wait update "zhimi.airpurifier.mb4" |
Things a little bit changed and now it'd be better to wait until this is merged. Then I believe the newest version of |
As soon as it becomes possible to work zhimi.airpurifier.mb4, I also hope to find a possible plugin for domoticz |
Does domoticz use |
Like this on https://github.com/xiaoyao9184/DomoticzXiaomiPlugins and this plugin use python-miio. But i think, they need be updated too! |
At the first glance, it looks like only the only thing you need is to |
Yes arturdobo! Maybe that's it. I'll wait for the update. May it be soon, i hope. |
@arturdobo support for 3C is already implemented in python-miio. Any chance to expect this functionality here soon? |
@postscriptumpl yeah, I know, because I was the author 😆 I've just created this following issue rytilahti/python-miio#969 |
Ups...that was not very smart of me 🙈 Anyway I keep fingers crossed 🤞🏻😁 |
@arturdobo a shy reminder |
Chase me, if it's not done till end of this week |
Yes is working, but not in local only in cloud |
Cheers for this! Works well so far. |
Hello, |
Once you install it via HACS, go into Configuration > Integrations > Add New Integration and search for Xiaomi Miot. From the dropdown menu the first option is to sign into your account and the second will be to manually add it. I added mine manually, you'll need to get your device IP and token. After that it'll show up as any other entity and you can control it from there. :) |
Hello, any hint on what I do wrong? Thanks! Update - solved: |
@syssi You have predictions for this device integration ?? |
We need an update.. |
It's been a while for sure.. If you haven't tried the above suggestion of using Miot I definitely recommend it, I've had it running flawlessly for the past 3 weeks. |
Do you have manual rotation control in favorite mode? |
Not as far as I know and the manual mode doesn't have as many steps. I generally just set the favourite mode in the Xiaomi app and leave it at that. Then HA will just read that. |
Use the **xiaomi_miot.**set_property service in HA |
|
There was a typo in the service name, try developer tools, Service. The value in rpm:
We better ask for support in miiot threads...sorry for the noise |
I'm trying to get this Air Purifier to work nicely with denysdovhan/purifier-card Not everything is working (e.g. Power ON/OFF button; ON/OFF State; AQI on top of the purifier), as the card expects the Air Purifier to be a For anyone wanting to do the same, here's my card config:
|
what are you using to integrate as a climate???? |
For when the integration with the zhimi.airpurifier.mb4? |
I am using this https://github.com/al-one/hass-xiaomi-miot |
Me too, and mine is shown as fan |
That's odd, I'm also using the al-one/hass-xiaomi-miot integration, however it's using the climate entity for me. |
Any update regarding the integration? |
the climate entity for me, How change to fan? |
JFYI,
exception log
and, +1 who was set mb4 as a climate?! It should be a fan. Also, |
My ha core Version miot-auto: v0.4.6 |
Can I help with code? Is some one have not enough time? |
I also have this problem when invoking the service set_property custom_service.favorite_speed: |
@syssi If you need a device for testing / adding support, just send me a message (If your location is right, I'm "right in the neighborhood") , I could lend it to you after the heavy pollen season |
Lol. Funny suggestion. Where are you from? |
Cologne area, near the border of the SU license plates. I'll can send you an email if you're interested. |
Hey,
could you please add support for the Xiaomi Air purifier C3.
miiocli info attached:
Regards Marc
The text was updated successfully, but these errors were encountered: