Skip to content

Commit

Permalink
removed fake-bulb module (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu authored Jul 20, 2017
1 parent 917ba6f commit 8c393f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,21 @@ In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as bel
## Homebridge Config

The Homebridge config file is located at ```</path/to/config>/config.json```
This file will be created the first time you run the container with a sample [FakeBulb](https://www.npmjs.com/package/homebridge-fakebulb) accessory.
This file will be created the first time you run the container if it does not already exist.

## Homebridge Plugins

Plugins should be defined in the ```</path/to/config>/package.json``` file in the standard NPM format.
This file will be created the first time you run the container with the [FakeBulb](https://www.npmjs.com/package/homebridge-fakebulb) module.
This file will be created the first time you run the container if it does not already exist.

Any plugins added to the **package.json** will be installed each time the container is restarted.
Plugins can be uninstalled by removing the entry from the **package.json** and restarting the container.
Any plugins added to the `package.json` will be installed each time the container is restarted.
Plugins can be uninstalled by removing the entry from the `package.json` and restarting the container.

You can also install plugins using [yarn](https://yarnpkg.com) (an npm replacement) which will automatically update the package.json file as you add and remove modules.

> You must restart the container after installing or removing plugins for the changes to take effect.
**You must restart the container after installing or removing plugins for the changes to take effect.**

**To add plugins using yarn:**
### To add plugins using yarn:

```
docker exec <container name or id> yarn add <module name>
Expand All @@ -97,7 +97,7 @@ Example:
docker exec homebridge yarn add homebridge-hue
```

**To remove plugins using yarn:**
### To remove plugins using yarn:

```
docker exec <container name or id> yarn remove <module name>
Expand Down
4 changes: 0 additions & 4 deletions root/defaults/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [
{
"accessory": "FakeBulb",
"name": "Fake Light"
}
],

"platforms": [
Expand Down
2 changes: 1 addition & 1 deletion root/defaults/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"homebridge-fakebulb": "^0.0.3"
"homebridge-dummy": "^0.2.0"
}
}

0 comments on commit 8c393f7

Please sign in to comment.