Commit Graph

734 Commits

Author SHA1 Message Date
Khaos Tian 6500912f54 0.2.19 v0.2.19 2016-02-22 16:50:52 -08:00
Khaos Tian 2e2c8eb207 Update hap-nodejs dependency for iOS 9.3 2016-02-22 16:50:33 -08:00
Khaos Tian 0b28387cb1 Merge pull request #532 from torarnv/handle-shutdown-signals
Handle SIGINT and SIGTERM to enable clean shutdown of Homebridge
2016-02-18 14:47:41 -08:00
Tor Arne Vestbø cf80e4f2da Handle SIGINT and SIGTERM to enable clean shutdown of Homebridge
For now we terminate the process, but in the future we may tell the
server to stop, which may possibly include some teardown logic.

Handling these signals also make it easier to put Homebridge inside
a docker container, as docker uses SIGTERM to tell a container process
to stop, and passes SIGINT when attached to the container and receiving
a Ctrl+C.
2016-02-18 00:36:56 +01:00
Nick Farina 57beabf0b4 Add comment 2016-02-17 10:43:54 -08:00
Khaos Tian 287aa6d034 0.2.18 v0.2.18 2016-02-17 10:38:08 -08:00
Khaos Tian 1da98bb19f Add the insecure launching option to homebridge cli. 2016-02-17 10:37:11 -08:00
Nick Farina aea485c33e Version bump; publish v0.2.17 2016-02-16 13:00:22 -08:00
Khaos Tian 386cf34827 Update hap-nodejs to 0.2.3 so the reachability for existing accessories will be correct. 2016-02-15 19:23:38 -08:00
Khaos Tian d04c20ca2f Merge pull request #522 from leoneleone/patch-1
Update hap-nodejs to v0.2.0
2016-02-12 09:52:13 -08:00
leoneleone c53f890a8c Update hap-nodejs to v0.2.0 2016-02-12 14:58:35 +00:00
Nick Farina 1a356a1783 Add a fun gif illustrating Why Homebridge 2016-01-23 17:11:25 -08:00
Nick Farina da8d5fd267 Version bump to v0.2.16 2016-01-22 07:11:30 -08:00
Nick Farina 798275774a Merge pull request #482 from nfarina/update-hap-nodejs
Update hap-nodejs to 0.1.1
2016-01-22 07:10:52 -08:00
Khaos Tian 74e1cf257a Update hap-nodejs to 0.1.1
Addressed #478
2016-01-21 21:20:07 -08:00
Nick Farina f4aa57314b Merge pull request #467 from rudders/master
Updated README.md to explain Startup Errors.
2016-01-12 20:04:50 -08:00
Adrian Rudman 66505457c7 Updated README.md to explain Startup Errors.
This issue is frequently discussed so let's see if people read the documentation...
2016-01-13 14:30:43 +11:00
Nick Farina ae24e28ac4 Version bump to v0.2.15
Fix link to searching NPM for plugins—the old "correct" method of
searching for specific keywords doesn't work when the results span
multiple pages (see https://github.com/npm/newww/issues/1630).

This way requires more clicking but actually allows you to discover all
known plugins.
2016-01-07 12:37:24 -08:00
Nick Farina c8c84c08f2 Bump HAP-NodeJS to v0.0.7; Version bump to v0.2.14 2016-01-06 13:51:47 -08:00
Nick Farina 2213997acc Add note about editing config.json 2015-12-28 16:11:53 -08:00
Nick Farina 3616d61fed Version bump for npm 2015-12-28 09:33:47 -08:00
Nick Farina e52aff802b Merge pull request #442 from n8henrie/master
Add test for valid username
2015-12-28 09:33:08 -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 f5b790ff35 Just make the sudo explicit 2015-11-30 14:01:40 -08:00
Nick Farina 08f8ae53c5 Link to HomeKitTypes 2015-11-28 12:16:40 -08:00
Nick Farina 2f0c60984a Remove notice at top
many plugins have now been extracted!
2015-11-28 08:54:56 -08:00
Nick Farina 507835986b Merge pull request #403 from victorklijmeij/patch-1
correct errors
2015-11-21 11:33:09 -08:00
victorklijmeij 9567c41a58 correct errors
Json was found invalid on jsonlint.com
2015-11-21 20:22:16 +01:00
Nick Farina ec839b2dbc Tweaks to plugin load error detection 2015-11-11 15:16:29 -08:00
Nick Farina 2d73e70670 Merge pull request #387 from knalli/patch-1
Provide and output proper existing error message
2015-11-11 15:15:35 -08:00
Nick Farina 65b74253df Fix command-line examples 2015-11-09 11:29:22 -08:00
Nick Farina 78b8c265e1 Include repo and bugs in example plugin 2015-11-09 10:59:49 -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 e3a5c5a96a More helpful plugin load error logging; Publish v0.2.11 2015-11-05 10:48:32 -08:00
Nick Farina b3dbe1165c New "Common Issues" section 2015-11-05 06:35:51 -08:00
Nick Farina 0b9e931fe1 Tweak README text 2015-11-05 06:20:33 -08:00
Nick Farina 50efd29b6d Fix (remove) relative links in README; publish v0.2.10 2015-11-04 16:22:49 -08:00
Nick Farina 6d2cb11eae Publish v0.2.9 2015-11-04 15:59:49 -08:00
Nick Farina 7bfc5ee84d Expose User object to Plugin API
Closes #379
Changes #378
2015-11-04 15:59:38 -08:00
Nick Farina 8f1a043121 Publish v0.2.8 2015-11-04 15:52:08 -08: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 8e795f48cf Add note about legacy plugins; publish v0.2.7 2015-11-04 10:29:14 -08:00
Nick Farina 1c4bf23b60 Publish v0.2.6 2015-11-04 10:22:47 -08:00
Nick Farina 988c6ef6d0 Basic info on writing plugins 2015-11-04 10:22:36 -08:00
Nick Farina 52aa6bba2c Publish v0.2.5 2015-11-04 09:48:05 -08:00
Nick Farina f2ad339a13 CLI setting for custom homebridge "home" path
Fixes #378
2015-11-04 09:47:48 -08:00
Nick Farina 9883eb7189 Add Slack info to README 2015-11-04 09:37:20 -08:00
Nick Farina 974eef3ea8 HAP-NodeJS -> v0.0.3, publish v0.2.3 2015-11-04 06:18:57 -08:00
Nick Farina 752a5b7854 Publish v0.2.2 2015-11-04 04:35:44 -08:00
Nick Farina 15357a5fe8 Fix old-style accessory JSON
Closes #375
2015-11-04 04:35:22 -08:00