Commit Graph

282 Commits

Author SHA1 Message Date
Alistair Galbraith c1f1613763 Removed submodule for HAP-NodeJS and moved to NPM
It seemed to be easier all around to use NPM to manage the dependancy on HAP-NodeJS.

This PR removes the submodule, and adjusts the paths of all checked in shims to reference the NPM module instead.

I also updated the documentation to reflect the simpler install ;)
2015-07-03 21:29:35 -07:00
Alistair Galbraith 94619e40d5 Changed approach to getting accessories
Avoid hitting rate limiting iterating over bulbs for installations with many hue bulbs on a hub
2015-06-29 14:40:17 -07:00
Nick Farina 21a546fdf8 Simplify Hue for new users
- Sample config auto-discoveres Bridge IP
- Username left blank so that the server will prompt you
- Hue platform walks you through username creation (in as friendly a
way currently possible)
2015-06-28 13:21:40 -07:00
Stephen Yeargin b2280c3902 [Trivial] Text cleanup 2015-06-27 23:24:09 -05:00
Stephen Yeargin 8e80d7f0e0 Report initial state, refactor code a bit
- The initial state of the device is now reported on connection
- Properly detects what should happen with Hue/Hue Lux bulbs (removes the extra chrachteristics)
- Scales values a bit more transparently so the color gets a bit closer
- Moved `execute` method inside the accessory model for clearer designation
- Cleaned up that ridiculous `if/else` block into a switch
2015-06-27 21:51:02 -05:00
madmod 8b71a1c44f fix network scan and logging 2015-06-27 20:23:32 -06:00
madmod 479dfb6329 scope and name fixes
removed deprecated node-hue-api methods and change this to that.
2015-06-27 19:27:39 -06:00
madmod 39a7550d67 bridge discovery (wip) 2015-06-27 19:17:19 -06:00
madmod 0491f9b71a use the percent functions from node-hue-api 2015-06-27 17:48:47 -06:00
madmod 805758395e improved color accuracy 2015-06-27 17:01:44 -06:00
madmod 8adf8fc1b0 remove extra line 2015-06-27 12:36:07 -06:00
madmod d0b780f623 Fix saturation max value 2015-06-27 01:37:16 -06:00
Stephen Yeargin 9814ff5525 Remove useless code 💀 2015-06-27 01:24:00 -05:00
Stephen Yeargin de84846bcf weeeellllll, it's like ... 2015-06-27 01:18:32 -05:00
Stephen Yeargin 54100c2471 Clean up some really odd spacing and add SN 2015-06-27 01:00:59 -05:00
Stephen Yeargin 1e95decbf2 Merge branch 'master' into philips-hue 2015-06-27 00:28:28 -05:00
Ray Bennett 0dedbcd362 Adding support for ISY. 2015-06-26 18:03:31 -07:00
Jon Maddox 5e89bbe74d clean up 2015-06-25 02:01:01 -04:00
Jon Maddox b147a26738 add onRead functions to fetch state 2015-06-25 02:00:52 -04:00
Jon Maddox 396b56e3a5 add methods to Wink accessory to fetch brightness and power state 2015-06-25 02:00:37 -04:00
Stephen Yeargin 49c4af79ad Refactor execute method to use API 2015-06-16 23:08:44 -05:00
Stephen Yeargin da5162b358 Pass around the light ID. 2015-06-16 22:59:26 -05:00
Stephen Yeargin 3cba55560f Fix brightness, format some logic. 2015-06-15 23:10:18 -05:00
gizmocuz aa6a39cf83 - Implemented, optional configuration parameter for 'roomid'
- Fixed: trying to add duplicate sensors
2015-06-14 14:27:33 +02:00
Stephen Yeargin aa0bdb9014 This is somewhat working now. 2015-06-13 20:37:30 -05:00
Stephen Yeargin 585edc874f Some initial work on Philips Hue bridge integration. 2015-06-13 17:32:21 -05:00
gizmocuz b56d83cfd9 - Added support for RGB lights
- Added support for Scenes
- Sorting device names
2015-06-12 08:40:33 +02:00
Joep Verhaeg 53367cffce Added platform shim for Domoticz. 2015-06-10 21:03:24 +02:00
Jesse Newland 89e128e01f document where the api is 2015-05-19 22:17:55 -07:00
Jesse Newland 46d99a4615 log adjustments 2015-05-19 21:40:53 -07:00
Jesse Newland 4feffe9bc6 paired, but commands fail 2015-05-19 21:34:38 -07:00
Jon Maddox 4b6bb332ef Wink platform library 2015-05-18 22:07:17 -04:00