GitHub-0614
GitHub-0614
"HAP PDU not recognized or supported" when trying to lock/unlock the Yale (Homekit enabled BLE) lock
I agree with @a3135134 . As per HAP Specification: 7.3.5.4 HAP Characteristic Timed Write Procedure The HAP characteristic timed write procedure will write to characteristic that require time sensitive actions....
"HAP PDU not recognized or supported" when trying to lock/unlock the Yale (Homekit enabled BLE) lock
@jlusiardi @a3135134 I managed to change the codes to successfully send lock/unlock commands. see the codes below (homekit/controller/ble_impl/__init__.py): def put_characteristics(self, characteristics, do_conversion=False): ... # procedure(1) send CHAR_TIMED_WRITE requst value =...
"HAP PDU not recognized or supported" when trying to lock/unlock the Yale (Homekit enabled BLE) lock
Hi @jlusiardi Different characteristics require different types of write request. As far as I know, there are at least two types (and probably the 2 most common types): Characteristic Write...
"HAP PDU not recognized or supported" when trying to lock/unlock the Yale (Homekit enabled BLE) lock
This is the modified codes. [__init__timed_write.py.txt](https://github.com/jlusiardi/homekit_python/files/4143398/__init__timed_write.py.txt)
"HAP PDU not recognized or supported" when trying to lock/unlock the Yale (Homekit enabled BLE) lock
I only modified it so that I can use "put_characterisitc" command to unlock/lock my lock. However, to make "put_characterisitc" command support all characteristics (e.g., both pw and tw), more modification...
"HAP PDU not recognized or supported" when trying to lock/unlock the Yale (Homekit enabled BLE) lock
The lock I used: The "Apple Homekit enabled" version https://www.amazon.com/Yale-Security-YRD256-iM1-605-Assure-HomeKit/dp/B073V7SG1H/ref=sr_1_1_sspa?keywords=yale+assure+lock+sl&qid=1579815104&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyT0EwOEFKSkE1S05UJmVuY3J5cHRlZElkPUEwMTY5Mzc3MTlGT05MM1pSRU4xQSZlbmNyeXB0ZWRBZElkPUEwNzIxNTY0MTVFUVUxQk8zRjBCViZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=