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

Does it work with the Xiaomi Purifier 3C? #15

Open
malditavibora opened this issue Jan 5, 2021 · 29 comments
Open

Does it work with the Xiaomi Purifier 3C? #15

malditavibora opened this issue Jan 5, 2021 · 29 comments
Labels
question Further information is requested

Comments

@malditavibora
Copy link

The purifier appears in te home app but as No response, so I cannot use it.
I have used the token extractor windows app to get the token.

Homebridge logs:

[Air Purifier] Initializing XiaomiMiAirPurifier accessory...
HAP Warning: Characteristic 000000AB-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000008D-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 000000AC-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000008D-0000-1000-8000-0026BB765291. Adding anyway.
[05/01/2021, 13:00:56] [Air Purifier] Air Purifier finished initializing!
[05/01/2021, 13:00:57] [Air Purifier] Connected to "Air Purifier" @ 192.168.1.211!

The plugin says connected but No response in Home app.
I can use Xiaomi app to control it but not with HomeKit.

Environment:

  • Plugin Version: homebridge-xiaomi-mi-air-purifier v1.0.0
  • Homebridge Version: 1.1.7
  • Node.js Version: 14.15.0
  • NPM Version: 6.14.8
  • Operating System: Raspbian
@malditavibora malditavibora added the question Further information is requested label Jan 5, 2021
@malditavibora
Copy link
Author

malditavibora commented Jan 5, 2021

I forgot to add the token extractor output:

Devices found for server "de":

NAME: Purificador
ID: 359581253
IP: 192.168.1.211
TOKEN: TOKEN_
MODEL: zhimi.airpurifier.mb4

@torifat
Copy link
Owner

torifat commented Jan 5, 2021

Hi @danixque can you please try the latest version v1.1.0 and see if it works for you. Also, please don't post your TOKEN publicly.

@malditavibora
Copy link
Author

malditavibora commented Jan 5, 2021

Hi torifat,

I just checked the new version and now the Purifier icon appears as activated in Home app but the Xiaomi purifier is powered off, also trying to power it on/off but nothing works.

Cannot see any error in Homebridge logs.

Not sure if this helps but it seems that this model uses a different API: rytilahti/python-miio#888

@torifat
Copy link
Owner

torifat commented Jan 5, 2021

Oh great! thanks for sharing it. That would definitely help. But, you have to wait a bit for it. Sorry 😞

@malditavibora
Copy link
Author

malditavibora commented Jan 5, 2021

No problem. I've been searching and testing different plugins and any of them works with this 3C model in Homebridge then you could be the first one to make it work, I've seen that someone was able to support it in home assistant.

Thanks in advance!

@vemeo
Copy link

vemeo commented Jan 20, 2021

Hi,

I have the same problem. I have a Xiaomi Air Purifier 3C and the air purifier appears but nothing works :-(

Thanks for this pluging.

@asiersan
Copy link

Any news??

@samanoju
Copy link

samanoju commented Feb 5, 2021

no update? :(

@ghost
Copy link

ghost commented Feb 14, 2021

Hi,

I have this device, I am very much waiting for an update.

Thanks for this pluging.

1 similar comment
@calas80
Copy link

calas80 commented Feb 17, 2021

Hi,

I have this device, I am very much waiting for an update.

Thanks for this pluging.

@jngmrks
Copy link

jngmrks commented Feb 28, 2021

Please help with the 3C, would be really great!

@asiersan
Copy link

asiersan commented Mar 1, 2021

With the xiaomi_miot_raw is runing trough Cloud. O tried it, but not all funtions.
On/off, air density, filter used ok but nigth, auto,.. no

@jngmrks
Copy link

jngmrks commented Mar 1, 2021

Hi asiersan, could you please share your code so that we can all look over it together. Maybe one or the other has an idea?

@asiersan
Copy link

asiersan commented Mar 2, 2021

Is not my cose. Is a hacs repository
https://github.com/ha0y/xiaomi_miot_raw

@Seger85
Copy link

Seger85 commented Mar 6, 2021

Hello all,

I can confirm the same behavior.
Token and IP are set correctly, in the HomeApp without response available "the device does not respond".

I use the new version including Homebridge.

Is there any progress on this already or can I support with any test?

Follow snippets I have found yet:
[3/6/2021, 12:25:23 PM] [Air Purifier] Connected to "Air Purifier" @ 192.168.178.79! [3/6/2021, 12:25:23 PM] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'PM2.5 Density': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info. [3/6/2021, 12:25:23 PM] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info. [3/6/2021, 12:25:23 PM] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info.

Update 1 Model:
MODEL: zhimi.airpurifier.mb4

@egabor
Copy link

egabor commented Mar 8, 2021

Same here. I've a 3C but it's not working with HomeKit. We're all very much waiting for an update.

@torifat
Copy link
Owner

torifat commented Mar 9, 2021

Hey @Seger85, thanks a lot for the log. That was very helpful. Now I at least know what is wrong. I will try to fix those null issues soon and see if it works after that 🤞🏽.

@torifat
Copy link
Owner

torifat commented Mar 9, 2021

Could you please share your code so that we can all look over it together. Maybe one or the other has an idea?

@jngmrks what do you mean by "share your code"? The code is already out there. It's open-source -> https://github.com/torifat/xiaomi-mi-air-purifier

@Seger85
Copy link

Seger85 commented Mar 13, 2021

image

@samanoju
Copy link

guys, this works fine with 3C:
https://github.com/merdok/homebridge-miot#readme

@mstrQ
Copy link

mstrQ commented May 30, 2021

3C still not supported?!

@slidset
Copy link

slidset commented Jun 26, 2021

samanoju
you can post your json configuration
thank you

@samanoju
Copy link

for 3C I use homebridge-miot v0.9.6
that works like fine all time.

@kikiwora
Copy link

zhimi.airpurifier.mc2 does not work either. At all. Nothing. Fully unresponsive

@hg
Copy link

hg commented Nov 15, 2021

If you (like me) end up here after a google search: for those of us without any iOS devices (or complicated home automation with Home Assistant and the like), python-miio also works beautifully with 3C. You can extract the token using this project after registering your 3C in Mi Home on any Android phone (you don't need the phone afterwards).

$ miiocli airpurifiermb4 --ip 192.168.55.12 --token xxx set_mode favorite
$ miiocli airpurifiermb4 --ip 192.168.55.12 --token xxx set_favorite_rpm 1200

@manveru1986
Copy link

for 3C I use homebridge-miot v0.9.6
that works like fine all time.

@samanoju How did you make it work with it? I copied the Token and ID, but while the button is shown in HomeKit it does nothing.

@samoilyk
Copy link

samoilyk commented Dec 5, 2021

Hello all,

I can confirm the same behavior. Token and IP are set correctly, in the HomeApp without response available "the device does not respond".

I use the new version including Homebridge.

Is there any progress on this already or can I support with any test?

Follow snippets I have found yet: [3/6/2021, 12:25:23 PM] [Air Purifier] Connected to "Air Purifier" @ 192.168.178.79! [3/6/2021, 12:25:23 PM] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'PM2.5 Density': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info. [3/6/2021, 12:25:23 PM] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info. [3/6/2021, 12:25:23 PM] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info.

Update 1 Model: MODEL: zhimi.airpurifier.mb4

Hi, same issue for me. Any updates?

@jngmrks
Copy link

jngmrks commented Dec 5, 2021

I had the same problems and therefore switched to homebridge-miot, so everything works fine!

@manveru1986
Copy link

I had the same problems and therefore switched to homebridge-miot, so everything works fine!

I tried with the "miot" one but still could not configire it. Are you also trying with 3H?

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

No branches or pull requests