Giter VIP home page Giter VIP logo

Comments (9)

KhaosT avatar KhaosT commented on May 24, 2024

@peijunzhao Please make sure you rebuild the modules before running.

from hap-nodejs.

nuodong avatar nuodong commented on May 24, 2024

Thanks @KhaosT . Core.js is started after a npm rebuild. But the iPhone can not find any new accessories using the home kit app. What should I do for next step?
Intel edison log as follows:
root@edison:~/.node_app_slot# node ./Core.js
HAP-NodeJS starting...
Cannot find secret key, creating One...
TCP server accepting connection on port: 51826
HAP Server is listening
Cannot find secret key, creating One...
TCP server accepting connection on port: 51828
HAP Server is listening
Cannot find secret key, creating One...
TCP server accepting connection on port: 51832
HAP Server is listening
Cannot find secret key, creating One...
TCP server accepting connection on port: 51838
HAP Server is listening
Cannot find secret key, creating One...
TCP server accepting connection on port: 51846
HAP Server is listening

from hap-nodejs.

KhaosT avatar KhaosT commented on May 24, 2024

@peijunzhao are you sure your iPhone and the Edison are in same network?

from hap-nodejs.

nuodong avatar nuodong commented on May 24, 2024

@KhaosT Yes, iPhone and edison are in the same network. And iPhone can find devices from apple's HomeKit Accessory Simulator which is running on mac.

What to debug next?

from hap-nodejs.

KhaosT avatar KhaosT commented on May 24, 2024

@peijunzhao Can you try to run this on your phone and see if it can discover your Edison over Bonjour?

from hap-nodejs.

nuodong avatar nuodong commented on May 24, 2024

Bonjour Services is not detected on Edison. Screenshot is attached. Can you tell me How to enable the bonjour and What to do next?
img_0907

from hap-nodejs.

KhaosT avatar KhaosT commented on May 24, 2024

@peijunzhao I'm not sure about this... Please make sure Avahi is being installed correctly and your are running the latest OS Release on Edison.

from hap-nodejs.

nuodong avatar nuodong commented on May 24, 2024

@KhaosT Thanks. I will verify Avahi on edison and keep you updated.

from hap-nodejs.

nuodong avatar nuodong commented on May 24, 2024

@KhaosT After power off / on , Bonjour services are detected and Home kit devices are discovered.
Screenshots are attached.
img_0909
img_0908

Thanks very much !

from hap-nodejs.

Related Issues (20)

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.