homebridge-nest-cam_old icon indicating copy to clipboard operation
homebridge-nest-cam_old copied to clipboard

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

Open AdySan opened this issue 6 years ago • 1 comments

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": "[email protected]",
      "password": "****",
      "openDuration": 15,
      "closeDuration": 25,
      "polling": true,
      "longPoll": 300,
      "shortPoll": 5,
      "shortPollDuration": 120
    },
    {
      "platform": "Nest-cam",
      "username": "[email protected]",
      "password": "****!",
      "useOMX": false }]
}

AdySan avatar Jan 24 '18 00:01 AdySan

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

felsmann avatar Nov 20 '18 19:11 felsmann