diff --git a/README.md b/README.md index c3ba1eb..a9f85e3 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,10 @@ Providers must be published to npm and tagged with `homebridge-provider`. The pa Providers are automatically discovered and loaded from your home directory inside the `.homebridge` folder. For instance, the Lockitron provider would be placed here: ```sh -~/.homebridge/providers/node_modules/homebridge-lockitron +~/.homebridge/providers/homebridge-lockitron ``` -Right now you must copy providers manually (or symlink them from another location). The HomeBridge server will load and validate your Provider on startup. You can find an example Provider stub in [example-providers/homebridge-lockitron](). +Right now you must copy providers manually (or symlink them from another location). The HomeBridge server will load and validate your Provider on startup. You can find an example Provider in [example-providers/homebridge-lockitron](). ## Running from Source diff --git a/lib/homebridge/provider.js b/lib/homebridge/provider.js index 371f939..22f5d42 100644 --- a/lib/homebridge/provider.js +++ b/lib/homebridge/provider.js @@ -84,6 +84,6 @@ export class Provider { } static get installedProvidersDir():string { - return path.join(Provider.userDir, ".homebridge/providers/node_modules"); + return path.join(Provider.userDir, ".homebridge/providers"); } }