robertklep / name.klep.homekitty

HomeyKit 3.0
13 stars 4 forks source link

Garage door recognize as a window blind #52

Open blutch32 opened 1 year ago

blutch32 commented 1 year ago

Hi and thank you for your great app. My garage doors are recognized as window blinds or store instead of garage door. Is there any way to make the HomeKit app recognize these as garage door ?

robertklep commented 1 year ago

Can you find the device here: https://tools.developer.homey.app/tools/devices

And then post:

blutch32 commented 1 year ago

Hi, yes sure !

IMG_4334

robertklep commented 1 year ago

The app is saying the device is a window covering of type "blinds", there's not much HomeKitty can do about that 🤷🏼‍♂️

blutch32 commented 1 year ago

Does this naming comes from Apple ? On the developer tool, the name is as following :

so basically the issue comes from Apple I guess ?

robertklep commented 1 year ago

No, the Homey app for your device sets the device class, which is "blinds". I don't know where "DiscreteGarageOpenerWithPartialPositionIOComponent" is coming from, but if the Homey app sets this value, it should use the "garagedoor" device class.

HomeKitty has no idea of knowing that you're using it as a garagedoor opener, it has to rely on the Homey device class and its capabilities to "convert" the device to HomeKit.

blutch32 commented 1 year ago

Oh, get it now. I juste changed this parameter from blind to garage door I didn’t even know it was existing… but then it is in the unsupported list of the homekitty app.

robertklep commented 1 year ago

HomeKitty only supports the garagedoor_closed capability for the garagedoor device class.

Both Homey and HomeKit don't have a "partial position" capability for garage doors, though.

blutch32 commented 1 year ago

Ok I see. Then the only way for me to have this working is to change it as blind or as window covering. Then it work in HomeKit.

blutch32 commented 1 year ago

Thanks a lot for your support btw. Is there any chance that this is implemented in homey in the future ? What should I ask to homey dev team ? To add a open/close/idle compatibility to homey for garage door ?

robertklep commented 1 year ago

The main issue is that HomeKit itself doesn't support such a state, so even if Homey would support it, HomeKitty cannot convert it to something similar on HomeKit.