LIFX Developer Zone

API returning incorrect tile hue/brightness with scene list

So it appears the API is returning incorrect hue/brightness values for Tile ‘pixels’ if there are any pixels that are switched off.

So if I paint part of a tile off, the scene data for that tile gets corrupted. Other scenes that don’t have turned off pixels don’t seem to be affected.

Weirdly, the LIFX phone app also doesn’t seem affected? I would’ve thought it’d be using the same endpoints.

The LIFX API reports all pixels as:

                        {
                            "hue": 0,
                            "saturation": 1,
                            "brightness": 0.05299999564886093,
                            "kelvin": 4000
                        }

So, solid red. Whereas the node-lifx-lan library spits out the correct values (in its own format) when polling the Tiles after setting the scene using the LIFX phone app -

  {
    "hue": 0,
    "saturation": 0,
    "brightness": 0,
    "kelvin": 3500
  },
  {
    "hue": 0.69722,
    "saturation": 1,
    "brightness": 0.05299,
    "kelvin": 4000
  },
  {
    "hue": 0.04721,
    "saturation": 1,
    "brightness": 0.05299,
    "kelvin": 4000
  }

Any ideas?