i've been tinkering with the misfit bolt which is a bluetooth bulb, and some fella (@fayep) posted that on my GH repo last week:
http://www.yeelight.com/download/yeelight_blue_message_inter... - this seems to be common to several implementation of bluetooth bulbs as the bolt works with these specs.
couple implementations for these:
https://github.com/fayep/bolt,
https://github.com/sandeepmistry/node-yeelight-blue,
https://github.com/flochtililoch/misfit-bolt (last one is mine, largely inspired by the two above)