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

[Request] Bold Smartlock #226

Open PieterKruithof opened 2 years ago

PieterKruithof commented 2 years ago

Hi, There's a new Homey app for Bold Smart Lock. It works on my doors and I would love to have these available in Homekit. Can you add support for locks? Thanks! Pieter

robertklep commented 2 years ago

HomeyKit already supports locks, but only if they use the locked capability.

Can you visit https://tools.developer.homey.app/tools/devices, find the device, and post the device class and all the device's capabilities here? Perhaps it's an easy fix.

PieterKruithof commented 2 years ago

That explains it. It used 'onoff'. The lock works by activating the lock for several seconds. In that time the lock can be manualy opened. These are the specs of this device:

Property Value
ID 2eda7c45-f441-4bef-9d2d-22c08bd3b065
Name Achterdeur
Class lock
Driver homey:app:com.boldsmartlock — lock
Ready Yes
Available Yes
Warning No
Custom icon No
Data Key Value
id 3951
Settings Key Value
energy_value_off null
energy_value_on null
Capabilities ID Title Type Value Set Value Last Changed
onoff Aangezet boolean false truefalseSETUNSET 2 days ago
robertklep commented 2 years ago

There might be lock implementations for Homey that use the onoff capability for something other that "locked or not", so I'm hesitant to support it as if it means "locked/unlocked".