GithubHelp home page GithubHelp logo

Comments (4)

kormax avatar kormax commented on July 26, 2024 6

Full-featured code example is being worked on.

For those who are interested, prepare (buy) a pn532 connected with a usb to uart adapter to PC (or to UART gpio on SBC). Stay tuned.

Gonna close this issue for now.

from apple-home-key.

kormax avatar kormax commented on July 26, 2024

Hello.

Couple of aspects you should understand in advance:

  1. HAP-nodejs cannot run on esp32 or any other microcontroller. For it you need something that runs a proper OS, like a raspberry. You can implement homekey device on that kind of hardware, but you have to find other projects for that.
  2. HAP-nodejs is not responsible for NFC communication in any way.
    For NFC communication, you have to pick an NFC board/chip, implement drivers for that board, and then implement full nfc protocol stack iso1443a+ecp->isodep->homekey.
  3. As for hardware: Any controller/pc is ok for running code. As for NFC frontend, you can look at the info in ECP repository, any of the described ones there will work.
  4. This repo does not have full info on implementing the protocol yet*, only some parts plus puzzle pieces for some more advanced folk. We're working on making a final draft that will have sufficient info for everyone, but I can't give any exact dates right now.

from apple-home-key.

FlyRenxing avatar FlyRenxing commented on July 26, 2024

Thank you for your response. I think I may have understood. I would like to try using ESP32 and PN532 for serial communication to implement the ECP repository's program. Then, I plan to use the Arduino-HomeKit-ESP32 library to publish the door lock accessory to HomeKit.
However, I have a question regarding how to validate if the NFC data generated by Apple is correct?

from apple-home-key.

kormax avatar kormax commented on July 26, 2024

Hopefully, this is what you wanted :).

from apple-home-key.

Related Issues (7)

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.