Brandawg93 / homebridge-nest-cam_old

Use your Nest Cam as IP camera in HomeKit.
Apache License 2.0
92 stars 14 forks source link

Is there a way to tell which port will service run on? #14

Open AdySan opened 6 years ago

AdySan commented 6 years ago

I'm running homebridge in a docker container, so it'd be nice to specify which ports to expose. By default homebridge seems to pick a random port every time i run the container.

Here's my config.json

{
        "bridge": {
                "name": "Homebridge",
                "username": "CC:22:3D:E3:CE:30",
                "port": 51826,
                "pin": "031-45-154"
        },

    "platforms": [{
      "platform": "LiftMaster2",
      "name": "MyQ",
      "username": "test@gmail.com",
      "password": "****",
      "openDuration": 15,
      "closeDuration": 25,
      "polling": true,
      "longPoll": 300,
      "shortPoll": 5,
      "shortPollDuration": 120
    },
    {
      "platform": "Nest-cam",
      "username": "test@gmail.com",
      "password": "****!",
      "useOMX": false }]
}
felsmann commented 5 years ago

In my experience Homebridge works best without the port line at all