Commit Graph

10 Commits

Author SHA1 Message Date
straccio
6ae2a19d37 missed ";" 2016-02-29 09:05:42 +01:00
straccio
ffe4232c3b Added pluginPath based on npm 2016-02-29 09:05:42 +01:00
Nick Farina
ec839b2dbc Tweaks to plugin load error detection 2015-11-11 15:16:29 -08:00
Jan Philipp
affe3fde63 Provide and output proper existing error message
If the found plugin / package does not fulfill some specs (i.e. does not contain the keyword `homebridge-plugin`), it will be rejected with an error. Without that change nobody will be notified WHY the plugin has been rejected/skipped.
2015-11-08 17:31:02 +01:00
Nick Farina
a5de3f820f Don't search the same plugin path twice
Fix part of #379
2015-11-04 15:50:23 -08:00
Nick Farina
2470f26451 Better handling of custom plugin paths 2015-11-03 21:14:25 -08:00
Nick Farina
52d3a9a96e First pass at README update. 2015-11-02 15:30:29 -08:00
Nick Farina
15cc98217b Move bugged peerDependencies -> engines 2015-11-02 12:04:18 -08:00
Nick Farina
27b39cbfa0 New Plugin API
- Homebridge calls single exported initializer function and passes an
API object
  - No more require() for HAP classes (doesn't play well with plugin
structure)
2015-10-18 22:20:06 -07:00
Nick Farina
a3c0df1c7c Plugin support
- Homebridge is now designed to be `npm install`d globally and
executed via "homebridge" script
  - Remove all specific accessories/platforms except for an example
  - New internal structure and "cli"
2015-10-18 16:34:21 -07:00