Skip to content

Install HomeBridge

Volodymyr Huz edited this page Jan 26, 2020 · 7 revisions

Install and configure HomeBridge

You need to install nvm (Node Version Manager) and Node.js latest version before it.

Install Homebridge

npm install -g homebridge

Create the config.json file

nano ~/.homebridge/config.json

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

  "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a templ$
  "ports": {
    "start": 52100,
    "end": 52150,
    "comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be b$
  },
  "accessories": [
    {
      "accessory": "WeMo",
      "name": "Coffee Maker"
    }
  ],

  "platforms": [
    {
      "platform" : "PhilipsHue",
      "name" : "Hue"
    }
  ]
}

Clone this wiki locally