gitter-badger / JLifx

LIFX control utility in Java

Home Page:http://robvanderleek.github.io/JLifx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JLifx

Build Status Coverage Status

Small LIFX Wifi LED bulb control utility in Java.

This project is not, in any way, affiliated or related to LIFX Labs.

Implementation is based on the reverse engineered protocol specification by magicmonkey (https://github.com/magicmonkey/lifxjs/blob/master/Protocol.md)

Usage

Build the JAR and run it from the command line:

java -jar jlifx.jar

The supported commands are:

daemon (starts Boblight daemon)
scan
status  <mac-address|all>
switch  <mac-address|all> <on|off>
color   <mac-address|all> <color-name|rgb-hex-value>
blink   <mac-address|all> [times]
rainbow <mac-address|all>

Examples:

java -jar jlifx.jar switch all off
java -jar jlifx.jar color all red
java -jar jlifx.jar blink AA:BB:CC:DD:EE:FF 3
java -jar jlifx.jar rainbow all

About

LIFX control utility in Java

http://robvanderleek.github.io/JLifx/


Languages

Language:Java 99.8%Language:Shell 0.2%