go-lifx icon indicating copy to clipboard operation
go-lifx copied to clipboard

Go implementation of the LIFX bulb protocol, including a command line client, a client library, and a debug-oriented traffic snooper

Build Status GoDoc License

go-lifx

This repository contains (or will contain) Go code for programmatically dealing with LIFX light bulbs on the local network.

It is (or will be) comprised of loosely three sections:

  • Protocol - Encoding/decoding of LIFX messages and transmission/reception of such.
  • Client - Higher-level abstractions ("light bulb", "label", "colors", etc.) and actions ("set label", "set lights to a specific colour", etc.).
  • CLI Tools - These are foremost examples of using the Client and/or Protocol components but also serve as debugging tools and command line control over bulbs (e.g. from Bash scripts).

Command Line Tools

There are currently two CLI tools, with their own READMEs:

  • lifx
  • lifx-snoop

License

The MIT License (MIT) Copyright © 2014 Bo Jeanes [email protected]

Full license here.