Open malditavibora opened 3 years ago
I forgot to add the token extractor output:
NAME: Purificador ID: 359581253 IP: 192.168.1.211 TOKEN: __TOKEN___ MODEL: zhimi.airpurifier.mb4
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.
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: https://github.com/rytilahti/python-miio/issues/888
Oh great! thanks for sharing it. That would definitely help. But, you have to wait a bit for it. Sorry 😞
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!
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.
Any news??
no update? :(
Hi,
I have this device, I am very much waiting for an update.
Thanks for this pluging.
Hi,
I have this device, I am very much waiting for an update.
Thanks for this pluging.
Please help with the 3C, would be really great!
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
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?
Is not my cose. Is a hacs repository https://github.com/ha0y/xiaomi_miot_raw
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
Same here. I've a 3C but it's not working with HomeKit. We're all very much waiting for an update.
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 🤞🏽.
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
guys, this works fine with 3C: https://github.com/merdok/homebridge-miot#readme
3C still not supported?!
samanoju you can post your json configuration thank you
for 3C I use homebridge-miot v0.9.6 that works like fine all time.
zhimi.airpurifier.mc2 does not work either. At all. Nothing. Fully unresponsive
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
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.
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?
I had the same problems and therefore switched to homebridge-miot, so everything works fine!
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?
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: