Node Lifx Versions Save

Node.js implementation of the LIFX LAN protocol :bulb:

v0.8.0

7 years ago

v0.7.0

7 years ago
  • Fixed unreachable lights when ip address of light changes
  • Updated product ids to include LIFX+ and LIFX Z lights
  • Fixed rounding issues when requesting color values (#38, thanks @devbobo )
  • Added color methods for RGB values (colorRgb and colorRgbHex)

v0.6.0

7 years ago
  • Invalid package headers are no longer throwing an error, they are logged now (#29, thanks @RobinBol)
  • Port range is checked for validity (#29, thanks @RobinBol)

v0.5.1

8 years ago
  • Fix unknown method lights()

v0.5.0

8 years ago
  • New broadcast option to set the broadcast address for discovery
  • New lights option to target undiscoverable lights (#25, thanks @Dalgeb)
  • Stop timers when socket is closed in destroy method (#26, thanks @waynelee)
  • Fix port exception thrown after a socket bind error (#24)
  • Correct product name for the Color BR30 bulb
  • Bump dependencies

v0.4.0

8 years ago
  • setting methods can now be provided with a callback to get a package confirmation
  • added getPower method to request only the power state
  • added LIFX BR30 color to known products
  • the readme has been enhanced for an easier to read documentation

v0.3.0

8 years ago
  • light labels can now be requested and set (thanks @RobinBol for your help)
  • lights can now be searched by label
  • the method getHardwareVersion could not be called before
  • new LIFX lights (Color 1000, White 900 BR30, ...) have been added to getHardwareVersion method
  • check sending only if message in queue
  • add code coverage statistics
  • add undocumented method to request ambient light sensor value

v0.2.1

8 years ago
  • Enhance compatibility with node v0.10, thanks @Nibbler999

v0.2.0

8 years ago

Breaking

  • Client.lights() methods now returns Light objects of all active bulbs in an array

Deprecated

  • bulb-new, bulb-online, bulb-offline events have been renamed to light-new, light-online, light-offline

Changes

  • new methods to get infos about state, firmware and hardware from the lights have been added
  • interactive cli example has been added
  • debug option for client can now be changed at runtime with setDebug()
  • ref-module has been removed for now

v0.1.1

8 years ago
  • Fixed bug where sequence number in header was not set