Commit Graph

10 Commits

Author SHA1 Message Date
Khaos Tian
e1334c5196 Init Plugin 2.0 2016-01-30 18:36:55 -08:00
Khaos Tian
74e1cf257a Update hap-nodejs to 0.1.1
Addressed #478
2016-01-21 21:20:07 -08:00
Nathan Henrie
15bf22805c Add test for valid username
Like a MAC address, a valid username can only contain 6 pairs of
hexadecimal characters, and for homebridge purposes must be
colon-separated. This adds a simple regex test for a proper username,
since I just spent nearly 24h trying to debug an issue that all came
down to not realizing that a MAC address could only have letters A-F
(see https://github.com/nfarina/homebridge/issues/385).
2015-12-27 10:29:21 -07:00
Nick Farina
e3a5c5a96a More helpful plugin load error logging; Publish v0.2.11 2015-11-05 10:48:32 -08:00
Nick Farina
15357a5fe8 Fix old-style accessory JSON
Closes #375
2015-11-04 04:35:22 -08:00
Nick Farina
52d3a9a96e First pass at README update. 2015-11-02 15:30:29 -08:00
Nick Farina
1779ddd754 Fix "once" import 2015-10-20 12:00:27 -07:00
Nick Farina
d443286dcb Fix platform logger 2015-10-20 11:36:06 -07: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