home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.11k stars 29.79k forks source link

Air purifier zhimi.airpurifier.mb3 changes between 0 and current temperature every 20 minutes #50442

Closed attkri closed 3 years ago

attkri commented 3 years ago

The problem

I have 2 air purifiers (zhimi.airpurifier.mb3) that behave the same way. They change their temperature from 0 to the actual temperature every 20 min since May 4/5, for example:

image

Detail:

image

image

What is version of Home Assistant Core has the issue?

core-2021.5.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

Xiaomi Miio Integration

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

spacegaier commented 3 years ago

Please specify the integration / make you are using.

Do you see the same curves with the HA internal graphs (history panel)?

attkri commented 3 years ago

Sorry, this is the Xiaomi Miio integration.

image

probot-home-assistant[bot] commented 3 years ago

xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as its been labeled with an integration (xiaomi_miio) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

attkri commented 3 years ago

It seems that only the air purifiers (zhimi.airpurifier.mb3, RED and ORANGE) are affected. The humidifiers (zhimi.humidifier.ca4) are not:

image

TheburnerESP commented 3 years ago

Hi, I also have this problem and got the same spikes in the HA history graph from zero to actual. Working with HA core-2021.5.0. Just got the air purifier so don't have experience with previous HA versions.

syssi commented 3 years ago

I will try to provide some background: It looks like the MB3 model has a firmware issue. If a sensor reading (internally, applies to temperature and aqi. May be some more) fails the device firmware exposes/provides the value 0 as measurement.

The problem is: In case of AQI it's hard to differenciate the value 0 is a good reading or a failed one. I'm case of the temperature we could try to suppress these faulty readings.

attkri commented 3 years ago

I can only confirm that with the AQI value. Currently I fade out this construction site. (It occurs to me that I could possibly compensate for this with an AVG sensor).

As for the temperature, it bothers me because the 0° degree values falsify my AVG sensors. Temperature sensors it has enough therefore have this also removed for now. Good to know that it is a firmware problem. I also find it exciting that the humidity does not cause any problems.

What would be the approach, for example, to ignore temperatures below 1 ° degrees?

rytilahti commented 3 years ago

Potentially related to issues https://github.com/rytilahti/python-miio/issues/958 https://github.com/rytilahti/python-miio/pull/1007 (even when 0 != 1).

github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.