robertklep / name.klep.homekitty

HomeyKit 3.0
15 stars 5 forks source link

Add class "lock" (Smart Door Lock) #70

Closed ecointet closed 1 year ago

ecointet commented 1 year ago

Type (brand/model) of device

Bold Smart Lock

Homey Model

Is it supported by HomeyKit?

Device Classes

Device Capabilities

(see above for where you can find these; please post ID, title and type)

robertklep commented 1 year ago

I wonder why a developer would use onoff instead of locked... 🤔

Anyway, try the test version of the app: https://homey.app/a/name.klep.homekitty/test/

ecointet commented 1 year ago

Hi! Thanks for the impressive reactivity 💪👌🏻 It works very well but it is inverted. Probably because of Homey / Bold (?).

For Home kit. Onoff (true) = unlocked Onoff (false) = locked

in Homey I have the opposite 🤨

i don’t know if you have to invert on your side or if I have to ask a bug fix to Bold.

So far it is not a big issue 😄 still nice. Thanks!

IMG_1414 IMG_1415

robertklep commented 1 year ago

I feared as much 🫣 I would think that "on" means "locked" and "off" means unlocked, but this app developer seems to do everything their own way...

I have turned it around in HomeKitty (and wait for another lock app that does it the other way, but I guess we'll just have to see then), but ideally, the app developer should fix their app. It would be best if they created a new driver and deprecate the old one.

Try v2.2.9 (current test): https://homey.app/a/name.klep.homekitty/test/

ecointet commented 1 year ago

Thanks! This is now perfect !

About the on/off it could make sense, in Homekit when it’s locked, it means nothing to highlight, the tile is « grey/off ». But when it is unlocked, it has to be highlighted (important info!).

After I turn on the lock through homekit, Bold will turn off the lock when it is locked back (back to normal it means I guess ☺️). Normal behavior 👌🏻

looks good so far, ticket closed ! So impressive.

IMG_1417 IMG_1416

robertklep commented 1 year ago

I e-mailed Bold to explain the situation and how to fix it on their end.