konsumer / tplink-lightbulb

Control TP-Link smart lightbulbs from nodejs
MIT License
191 stars 32 forks source link

hex conversion wrong #65

Open scottpreston opened 2 years ago

scottpreston commented 2 years ago

hex command need changed from

bulb.power(true, argv.transition, { hue: color.h * 100

to

bulb.power(true, argv.transition, { hue: color.h * 360