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

Air Purifier Pro V7 #233

Closed
wants to merge 1 commit into from
Closed

Air Purifier Pro V7 #233

wants to merge 1 commit into from

Conversation

luluhoc
Copy link

@luluhoc luluhoc commented Nov 22, 2021

(zhimi.airpurifier.v7) update fix bug filter life-level, filter change

changed property names

here are all the properties from v7 PRO

{
  power: true,
  mode: 'auto',
  temperature: 21.7,
  humidity: 44,
  aqi: 2,
  averageAqi: 8,
  favoriteLevel: 17,
  filterLifeRemaining: 88,
  filterHoursUsed: 389,
  fanSpeed1: 328,
  fanSpeed2: 0,
  bright: 0,
  childLock: 'off',
  led: true,
  ledBrightness: 'unknown'
}

You can get it by using device.property('filterLifeRemaining');

(zhimi.airpurifier.v7) update fix bug filter life-level, filter change
@luluhoc
Copy link
Author

luluhoc commented Nov 22, 2021

#229

@torifat
Copy link
Owner

torifat commented Nov 23, 2021

Hey @luluhoc, thanks for the PR. However, merging it would break the feature for other Air Purifiers. For example, I get the following error on my setup with a 3H device.

[11/23/2021, 12:12:11 PM] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'Filter Life Level': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.

I will fix my miio fork, so it works the same for everyone.

@torifat torifat closed this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants