rgavril / homebridge-xiaomi-air-purifier3

Homebridge plugin for controlling Xiaomi Air Purifier 3/3H
46 stars 7 forks source link

HAP Warning: Characteristic #12

Closed Nastras closed 4 years ago

Nastras commented 4 years ago

Hello @rgavril

i updated your plugin to the latest Version and now i get a HAP warning message. After a restart of the instance the warning is still present.

I know it is nothing bad but maybe you can fix it with the next update?

Thank You!

A63BE4F7-6095-40D5-B21A-3F1297B24FA4

rgavril commented 4 years ago

You can safely ignore it. It refers to Filter Life and Filter Condition not being required or optional characteristics of an Air Purifier service.

That is true according to the specs provided by apple(HAPS), that were used to implement HAP-NodeJS, but in practice this is not the case.

The documented way of attaching them to the Air Purifier (using an Filter Maintenance service) will prevent them from showing up in Home app so the only way they work is as characteristic of the Air Purifier service.

PS: I looked at other homebridge plugins and they either do it like this (and have warnings) or they implement the specs but the filter info doesn’t show up in Home app.