Skip to content

Commit

Permalink
New versions of NodeJS and NPM.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaauw committed Mar 19, 2017
1 parent 39a597c commit 0a6d361
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Note that HomeKit only supports up to 99 services per accessory, so only the fir
### 7.1 First Install
The homebridge-hue plugin obviously needs homebridge, which, in turn needs Node.js. I've followed these steps to set it up on my macOS server:

- Install the Node.js JavaScript runtime `node`, from its [website](https://nodejs.org). I'm using v6.9.4 LTS for macOS (x64), which includes the `npm` package manager;
- Install the Node.js JavaScript runtime `node`, from its [website](https://nodejs.org). I'm using v6.10.0 LTS for macOS (x64), which includes the `npm` package manager;
- Make sure `/usr/local/bin` is in your `$PATH`, as `node`, `npm`, and, later, `homebridge` install there;
- You might want to update `npm` through `sudo npm update -g npm@latest`. For me, this installs npm version 4.4.1;
- Install homebridge following the instructions on [GitHub](https://github.com/nfarina/homebridge). For me, this installs homebridge version 0.4.16 to `/usr/local/lib/node_modules`. Make sure to create a `config.json` in `~/.homebridge`, as described;
Expand All @@ -160,7 +160,7 @@ Somehow `sudo npm -g update` doesn't always seem to work. To update homebridge-

## 8. Configuration
In homebridge's `config.json` you need to specify a platform for homebridge-hue:
```
```json
"platforms": [
{
"platform": "Hue",
Expand Down Expand Up @@ -193,7 +193,7 @@ key | default | description

### 8.1 Example
For reference, below is an example `config.json` that includes all parameters and their default values:
```
```json
"platforms": [
{
"platform": "Hue",
Expand Down

0 comments on commit 0a6d361

Please sign in to comment.