Giter VIP home page Giter VIP logo

Comments (5)

KhaosT avatar KhaosT commented on May 28, 2024

@patricks when you say "get a wrong answer", do you mean the Siri reports current door state but the answer is different from what it suppose to be or do you mean Siri reports something not related to the door state at all?

from hap-nodejs.

patricks avatar patricks commented on May 28, 2024

Sorry for not exactly telling you what happened. I got the wrong state. Siri always thinks the door is open.

from hap-nodejs.

KhaosT avatar KhaosT commented on May 28, 2024

@patricks did you remember to update the current door state when the target door state changes?

from hap-nodejs.

patricks avatar patricks commented on May 28, 2024

If the state changes it remembers the state for a few minutes, after that it is wrong "up" again.

Should Siri, normal query the state on the server, or doest it save the state only local?

from hap-nodejs.

KhaosT avatar KhaosT commented on May 28, 2024

@patricks Siri will query the state on the server, what I can suggest you do is to intercept the return of responseCharacteristic part under Server.js and check if the server returns the right state... If server returns the right state but Siri tells the wrong one, you may need to file a bug with Apple at bugreport.apple.com against [HomeKit][Siri].

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.