Supereg / homebridge-http-lightbulb

Powerful http lightbulb for Homebridge: https://github.com/homebridge/homebridge
ISC License
23 stars 7 forks source link

Added support for lightbulbs that require color temperature updates via percent #9

Open adityasalapaka opened 4 years ago

adityasalapaka commented 4 years ago

An example is the VeSyncESL100CW.

0% maps to 400 mired and 100% maps to 50 mired.

mired = 400 - (3.5 * percent)

"unit":"percent" can be used as a key-value pair in config.json to use percentages to upgrade color temperature

Supereg commented 4 years ago

Sorry, I'm currently pretty busy, trying to come back to this PR as soon as possible.

adityasalapaka commented 3 years ago

Hey, was wondering if you had a chance to look at this.