Code Monkey home page Code Monkey logo

apple-home-key's People

Contributors

dangfan avatar kormax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apple-home-key's Issues

The length of Authentication cryptogram in the response of FAST authentication

I'm using Aqara A100 pro, and according to the trace that I sniffed, the length of the cryptogram is 16 (0x10). Here is an example:

> 80 80 01 01 6b 5c 02 02 00 87 41 04 34 bc de 44 04 90 01 8d 24 02 18 2b 80 46 2a d6 25 7d 52 03 64 10 5d 9c 66 5d 20 9a 51 bc 18 df 23 4a a2 c2 2b 01 2f ec ff 3c 96 d7 82 88 a6 78 75 c2 43 b5 ad b0 00 86 2a 11 9b b6 a3 22 15 8e 4c 10 d9 5f f1 ad f9 5e 35 cd 59 6f 87 a2 aa 3c 4c 6f 4d 10 f0 9d 22 85 b6 58 b8 64 5d 49 e5 ba 7f 0d 3d e3 00

< 86 41 04 F9 54 5B 77 F5 BA 34 5D 0F 0F 20 E7 D7 7F F0 9D F7 5C 06 D6 02 4B AB 48 E5 A4 C8 C1 DC BC CB B7 0F F4 0C 2D A6 29 67 9F CC E7 5A 5A 75 8C 2A 45 D4 51 32 0F F4 D3 E0 7E 5A C8 E7 1E 8D E7 E7 33 9D 10 88 C7 A3 ED A1 7E BE DA 9C F8 74 63 30 55 32 C0 90 00

I am not sure if there are different versions of HomeKey.

Seeking Guidance on Implementing NFC Authentication for Home Key-based Door Lock using hap-nodejs

Hello,

I am very interested in your project. Currently, I am working on creating a home key-based door lock using hap-nodejs. I have successfully replicated the part of adding accessories in hap-nodejs. Now, I would like to know what steps I should take next.

Firstly, I would like some guidance on selecting an NFC hardware for my project, specifically the esp32. Could you recommend a few models for me to consider?

Additionally, I would like to know how I can receive NFC data using hap-nodejs, authenticate the data, and use it to unlock the door. Any advice or suggestions on implementing this functionality would be greatly appreciated.

Thank you!

Example of code

Hey
Big thanks for all this information

Do you have an example of the code you were using when you got the homekey to trigger on the phone?
https://raw.githubusercontent.com/kormax/apple-enhanced-contactless-polling/main/assets/PN532.ECP.DEMO.webp

Having a look at:
https://github.com/kormax/apple-enhanced-contactless-polling/blob/main/examples/implementations/nfcpy/main.py

Im trying to work out how to setup the broadcast variable, specifically where to obtain the "reader group identifier" or if there is other parts of the response that need to be sent after

Had managed to add the key to the phone via:
https://github.com/KhaosT/HAP-NodeJS/blob/80cdb1535f5bee874cc06657ef283ee91f258815/lock.js

Many Thanks

Demo

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.