Commit Graph

9 Commits

Author SHA1 Message Date
Khaos Tian
e1867b2bc0 Improve error handling. 2016-11-27 15:24:27 -08: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