lifx-lan-0.6: LIFX LAN API
Safe HaskellNone
LanguageHaskell2010

Lifx.Internal.Product

Description

An exact mapping of the types in LIFX's `products.json`. It's easier to just use getProductInfo.

Documentation

data VendorInfo Source #

Constructors

VendorInfo 

Instances

Instances details
Show VendorInfo Source # 
Instance details

Defined in Lifx.Internal.Product

data ProductInfo Source #

Constructors

ProductInfo 

Instances

Instances details
Show ProductInfo Source # 
Instance details

Defined in Lifx.Internal.Product

data Features Source #

Constructors

Features 

Fields

  • hev :: Bool

    The light supports emitting HEV light

  • color :: Bool

    The light changes physical appearance when the Hue value is changed

  • chain :: Bool

    The light may be connected to physically separated hardware (currently only the LIFX Tile)

  • matrix :: Bool

    The light supports a 2D matrix of LEDs (the Tile and Candle)

  • relays :: Bool

    The device has relays for controlling physical power to something (the LIFX Switch)

  • buttons :: Bool

    The device has physical buttons to press (the LIFX Switch)

  • infrared :: Bool

    The light supports emitting infrared light

  • multizone :: Bool

    The light supports a 1D linear array of LEDs (the Z and Beam)

  • temperatureRange :: Maybe (Word16, Word16)

    An array of the minimum and maximum kelvin values this device supports. If the numbers are the same then the device does not support variable kelvin values. It is null for devices that aren't lighting products (the LIFX Switch)

  • extendedMultizone :: Bool

    The more capable extended API for multizone control that lets us control all the zones on the device with a single message instead of many.

Instances

Instances details
Eq Features Source # 
Instance details

Defined in Lifx.Internal.Product

Ord Features Source # 
Instance details

Defined in Lifx.Internal.Product

Show Features Source # 
Instance details

Defined in Lifx.Internal.Product

Generic Features Source # 
Instance details

Defined in Lifx.Internal.Product

Associated Types

type Rep Features :: Type -> Type #

Methods

from :: Features -> Rep Features x #

to :: Rep Features x -> Features #

type Rep Features Source # 
Instance details

Defined in Lifx.Internal.Product

data Upgrade Source #

Constructors

Upgrade 

Instances

Instances details
Show Upgrade Source # 
Instance details

Defined in Lifx.Internal.Product