Conversion calc changes, API support

Major conversion calculation changes to be closer to the real light,
added support for basic communication with a Philips Hue