Code Monkey home page Code Monkey logo

Comments (4)

ebaauw avatar ebaauw commented on July 22, 2024

Homebridge-hue does report an error message when the communication with meethue.com fails. I suspect in your case homebridge-hue did actually get a valid response from meethue.com, albeit an empty response, as your bridge was no longer registered with meethue.com. I'll add a check for this in v0.1.16.

Please note that that's still a workaround. I fear you had to redo your HomeKit configuration (re-assigning homebridge-hue provided services to HomeKit rooms, scenes, rules, etc). I need to move to dynamic platform accessories (issue #4) to prevent that. Also implementing local UPnP discovery of bridges (issue #6) would create less of a dependency on meethue.com.

from homebridge-hue.

lnlyssg avatar lnlyssg commented on July 22, 2024

Ah of course, https://www.meethue.com/api/nupnp gave me a [] when I went to it so it was indeed an empty response.

And yes, I did have to re-do the HomeKit config although I had thought this was because I set the host entry in my config to the hub's IP address before then undoing it after the router reboot.

from homebridge-hue.

ebaauw avatar ebaauw commented on July 22, 2024

No, unfortunately, HomeKit deletes the accessories from it's database when homebridge no longer provides them.
With dynamic platform accessories, homebridge persists accessories between restarts in ~/.homebridge/accessories/cachedAccessories. On startup, homebridge would provide the saved accessories to HomeKit and show them as unreachable, until homebridge-hue re-discovers the bridge. This would also be the structural solution to startup timing issues when using multiple plugins, see issue #26.

from homebridge-hue.

ebaauw avatar ebaauw commented on July 22, 2024

Implemented check in v0.1.6.

from homebridge-hue.

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.