kormax / apple-home-key

Reverse-engineering Apple Home Key
215 stars 9 forks source link

Demo #7

Closed lubino closed 7 months ago

lubino commented 7 months ago

Please, provide us some information of your progress/setbacks. Many people wants to help.

kormax commented 7 months ago

Hello.

The code is 99% ready, it's just undergoing closed preview & testing.

Release before the end of this month.

lubino commented 7 months ago

Thank you for your fast response. It is very nice to hear this from you. Looking forward to be able to participate in any way.

kormax commented 7 months ago

I think that there will be opportunities for that.

The software will emulate a homekit lock, but it actually ignores all commands apart from homekey-related ones (like opening/closing via app), would be useful if the other ones get implemented too. Also, some HAP commands related to removing/suspending the keys were not done due to lack of testing. The NFC part is 100% complete, so no opportunities there, but the data storage part can be changed.

Anyway, you (and others) will see soon.

kormax commented 7 months ago

Also, if others are reading this, please take a look at the first NOTE section at the top of the page. Prepare all components, verify that they work via their respective demos, etc, so it wouldn't become a surprise that something doesn't work day 0.

juaurodri commented 7 months ago

Hi @kormax, Thanks for your work on this. Do you think will be possible to have this working on a esp device, for example, using esphome and connect with homebridge or HomeAssistant?

kormax commented 7 months ago

My example code is in Python - so PC (or an SBC) only, but it's entirely possible for someone to re-implement this code in C/C++ for a microcontroller, I don't see any reason why this cannot happen.

kormax commented 7 months ago

I hope that this solves your issue.