Commit Graph

28 Commits

Author SHA1 Message Date
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