Commit Graph

22 Commits

Author SHA1 Message Date
Mason James
38cb94c012 Update hap-nodejs requires
Update remaining platforms and accessories
2015-10-17 18:41:57 -04:00
Khaos Tian
bf2216209d [Philips Hue] retry if command failed due to api rate limit. 2015-08-28 21:49:16 -07:00
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
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
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