rainlake / homebridge-platform-lightify

MIT License
13 stars 5 forks source link

Color/Temperature change in Home App for Tunable Whites. #6

Closed apexad closed 7 years ago

apexad commented 7 years ago

Check out either of these: https://github.com/chris1705/homebridge-lightify https://github.com/lbohlmann/homebridge-lightify-tunablewhite-e14

Both use node-lightify but then apply the correct characteristics to make this possible.

If you don't get to it, I may try and bring it over and I would send you a pull request.

rainlake commented 7 years ago

That would be very nice. I personally do not own any tunable white bulbs. Thanks!

On Mon, Mar 6, 2017 at 12:33 AM, apexad notifications@github.com wrote:

Check out either of these: https://github.com/chris1705/homebridge-lightify https://github.com/lbohlmann/homebridge-lightify-tunablewhite-e14

Both use node-lightify but then apply the correct characteristics to make this possible.

If you don't get to it, I may try and bring to over and I would send you a pull request.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rainlake/homebridge-platform-lightify/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYg3XBYGDZL6Ecqfex4lMf2Sd1WZ-xtks5ri5qigaJpZM4MTvaS .

rainlake commented 7 years ago

I did started working on it but can not test since I do not have any of those bulbs. I think it would be similar to HSVtoRGB and RGBtoHSV, but I do not know what to do with color selection because temperature only support very narrow part of full corlor

apexad commented 7 years ago

Are you able to push up a branch of what you have done so far so I can take a look and do some testing? I have not been able to work on this yet. Busy week for me!

rainlake commented 7 years ago

I pushed my changes to master but did not call the method. I think I'm doing the wrong way. you CAN set temperature in Home app but it's pretty complicated. there could be some settings to figure out.

apexad commented 7 years ago

Thanks. I will take a look sometime this week. My parents were visiting last week, and I was very busy. Should have more time this week.