arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
462 stars 104 forks source link

Add FilterMaintenance as standalone service #523

Open ghost opened 2 years ago

ghost commented 2 years ago

I want to add my Valetudo robot cleaner with multiple consumables („filters“) to HomeKit via MQTT.

The only accessory capable using FilterMaintanance service at the moment is airPurifier, unfortunately it can only use 1 filter. Adding a second airPurifier accessory automatically creates the On/Off switch, although it is not configured.

Therefore please add the possibility to use FilterMaintenance service standalone with FilterChangeIndication characteristic, etc.

If I understand https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/definitions/ServiceDefinitions.ts correct, FilterMaintenance (FilterChangeIndication,…) is not meant to depend on AirPurifier.