Skip to content

Commit

Permalink
Update README.md (#23)
Browse files Browse the repository at this point in the history
Updated the readme to fit newer versions of homebridge with the correct link command for a working directory.
  • Loading branch information
toqix authored Jun 2, 2023
1 parent d0e5373 commit 9b2b10f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ If you're trying to get one of the example plugins to show up in your homebridge
from npm just clone this repo.
Then, just cd into one of the plugin folders and run
```
npm link
sudo hb-service link
```
This creates a symlink from the plugin directory to /var/lib/homebridge/node_modules/plugin_name.

To undo this run
```
sudo hb-service unlink
```

Pay attention to not start homebridge with the --strict-plugin-resolution flag. A standard installation of
homebridge might start it with that flag in a start script, located in /opt/homebridge on linux.

Expand Down

0 comments on commit 9b2b10f

Please sign in to comment.