Lovelace: Xiaomi - Mi air purifier 3H card

How you interact with the purifier got changed a lot recently. I’d advise you to go through @schilea’s post In September.

Only thing I’d do differently is to add the purifier through the GUI instead. Then you don’t need to fiddle with hiding the token.

I have a working setup too, but it’s way more minimalistic than the other ones here. But I can post by request:

1 Like

I’ve checked the post several times, but I feel like I am missing some information

Right now I have the Purifier added and working with the default integration, what I am missing tough, is the mode entity, but it is necessary because it allows me to change mode through automation

Since the Purifier is already added, I just have to copy your config and paste it in my system right?

yes … I’m using the official integration but the delay frustrates me

Hi

i’m very lost with all these updates :confused:

Could you please share a complete update code, like you did it on #65 ?

Thank’s

1 Like

I can confirm there is a lot of delay, sensors are updated once in 30 mins

To the people having the problem, which firmware are you using? I suspect this could be the culprit

the latest firmware

xiaomi 3h

Guys, I am having a 30 minute update for PM2.5 în idle if nothing important is happening. And this I think is related to how the Purifier is sending the data.


When working the updates are almost real time now, maybe 1 second delay.

BTW I will update tomorrow my latest configuration. Didn’t have time to do this but try to do it as soon as possible.

with the purifier on I have a delay of 3 minutes or random

Try to reset it and re add using the integration.

i will try now

What do you mean by on? mine is always on (auto most of the time) but still i have delays

Understand now you point. Thought you are referring to the value update we discussed few weeks ago. Indeed the pm2.5 update time is around 30 minutes. I think this is related either to the way integration is implemented or to the way Purifier is communicating. Worth investigating.

On github they told me the integration asks for info every 15 seconds, i’m assuming it’s a firmware limitations.

How do you guys use your automations with so high delays? starting to think about getting another purifier

I don’t know where the issues is. In Mi home application the update is faster so it communicate more with the cloud or the app is asking for more.
However this is not the case for the Miio integration. In my case the update is exactly at 30 minutes with shorter interval if high increase detected.


As you can see in my case the values are typically low so my purifier is almost off all the time. Using the automations to wake it up when quick increase of pm2.5 is ok most of the time. Where there are delays is when changing the speed according to the pm2.5 reported values.

It would have to update as in the mobile or about 10 seconds no more if not for me it does not make any sense to use it in hassio

I don’t know why I’m lucky, but my integration registers changes every 2nd minute.

But I like to add that I keep it in favourite or night mode at any time.

Since you have no issues the more info you can share the better.

I’ll test favurite mode straight away

Also, which firmware are you using? server region?

EDIT: No difference with favourite mode

This is the device info:
image

I don’t actually let it connect to the internet, I have that blocked from the router.

This is a picture displaying how quick it changes:

image

But when I used the official app, I did see that it updated the value much more often.

Perhaps you guys could log it at the integrations Github and ask why polling the PM2.5 value is happening less often.

As I can see also on your picture, when the levels are lower than 20 the reporting interval is 30 minutes.
BTW mine is/was registered on European server, while all my other Xioami devices are on China. Where is/was yours?

1 Like

I see, that is actually correct!

It is registered on the European server.