GithubHelp home page GithubHelp logo

Comments (4)

KraigM avatar KraigM commented on August 15, 2024

Im not sure on that one. I know home bridge obviously waits for us to figure out what devices we have before starting. We can't just register the devices later unfortunately (since home bridge does not support dynamically added/removed devices). So if you want Nest (i.e. the Nest plugin is installed and configured) then we have to establish a connection. Otherwise I think you loose all the setup you did with those devices in HomeKit (renaming, assign to rooms, modifying in scenes, etc).

Now as far as how to fix/investigate your firewall issues. Try going in debug or full debug mode.

HomeBridge Debug: homebridge -D

Full Debug: DEBUG=* homebridge -D

from homebridge-nest.

pinballnewf avatar pinballnewf commented on August 15, 2024

I opened the firewall and all is happy. I did have to open the ports for the NEST itself to work [ironically, the NEST claimed it was online, but the web portal said it was offline].

I did use Homebridge debug [not full debug though] and no additional errors were displayed. I guess my concern is failure to initialize homebridge-nest shouldn't prevent everything else from coming up, or at least timeout with an displayed error after a few seconds and let startup proceed with '0' NEST devices.

When I first configured homebridge-nest I couldn't figure out why homebridge had now completely 'failed' and could no longer be seen. I went as far as to erase everything and reload only to have the same trouble, not ever thinking failure to communicate by the new plugin would prevent startup, and not immediately coming to the obvious conclusion that the plugin would need the same firewall config as the device itself.

Maybe the 'fix' is as simple as a note in the install instructions noting that if your homebridge becomes invisible and no longer shows the pin pairing screen on startup that you must check NEST communications. This may prevent anyone else running into this from resetting their whole config.

from homebridge-nest.

KraigM avatar KraigM commented on August 15, 2024

If we just give up and return no devices (as suggested) then any config you have done on that device in HomeKit will be wiped. And there is no way for us to add it back in after HomeBridge has been started (currently). You can obviously remove the Nest platform from your HomeBridge config and it would let you start.

All that being said, hopefully in the near future we will be able to switch to the weave API, which wouldn't have to worry about internet facing firewalls, as it works on the internal network.

from homebridge-nest.

KraigM avatar KraigM commented on August 15, 2024

If there is anything else or if I missed something, feel free to reopen this.

from homebridge-nest.

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.