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