swttt / com.swttt.homekit

Homekit for Homey
https://apps.athom.com/app/com.swttt.homekit
GNU Affero General Public License v3.0
35 stars 20 forks source link

Please support air purifier in HomeKit #224

Closed lukasj98 closed 2 years ago

lukasj98 commented 2 years ago

HomeKit does support air purifiers so please can you implement this to display them correctly in HomeKit like for example the Dyson devices. This should be possible. To have the same functionality like with this plugin: https://github.com/lukasroegner/homebridge-dyson-pure-cool

That would be awesome in homey. I hope you can do something to make this happen. Please 🙏🏻 Or maybe get this plugin ready for Homey to fully use Dyson device like PH04 in HomeKit with homey. Because homey app does support most functions of the Dyson Air purifiers but it is not displayed in HomeKit like it should. But HomeKit does support these functions. Like you can see in the link and has own UI for this type of devices image

robertklep commented 2 years ago

On https://tools.developer.homey.app/tools/devices, can you find the entry for your air purifier and post it here? Specifically the value of "Class" and all the capabilities.

lukasj98 commented 2 years ago
Class | fan -- | -- Driver | homey:app:com.dyson — dyson_link_fan Ready | Yes Available | Yes Warning | No Custom icon | No
Capabilities

robertklep commented 2 years ago

It should be supported already as a fan, but only with the on/off capability. Most of the others are custom to the Dyson app, and HomeyKit doesn't support them.

lukasj98 commented 2 years ago

can you change that it is a air purifiier

lukasj98 commented 2 years ago

homey does support more and homekit because there was a app in the past which was called homekit controller for homey and it supported air purifiers

lukasj98 commented 2 years ago

and homey and homekit could display

measure_temperature measure_humidity

as sensors for example

and changeable fan speed

robertklep commented 2 years ago

I can't change it so it's an air purifier because Homey says it's a fan (basically, it's Homey that doesn't support air purifiers as a device class, so app developers have to work around that).

HomeKit Controller is something else entirely.

And the way HomeyKit works we can't create an additional sensor for the temperature/humidity when the device itself is a fan. Fan speed isn't standardized within Homey (it's a custom capability) so we can't use it either.

lukasj98 commented 2 years ago

can you please add more functions because homekit controller isnt available any more

lukasj98 commented 2 years ago

can you add more functions because only on off is not useful

robertklep commented 2 years ago

I just explained why it's not possible, and that HomeKit Controller is something else entirely.

lukasj98 commented 2 years ago

do you know where i can get HomeKit Controller ?

robertklep commented 2 years ago

No, it was removed from the app store and I don't think it's available anywhere anymore.

IDTitleTypeValueSet ValueLast Changed
onoffEingeschaltetbooleanfalse
oscillateOscillatebooleanfalse
autoAutobooleannull
fan_speedFan Speednumbernull
measure_temperatureTemperaturnumbernull
measure_humidityLuftfeuchtigkeitnumbernull
night_modeNight modebooleannull