Crate luxafor

Library, and CLI, for Luxafor lights via webhooks or USB.

Rust Minimum Rust Version crates.io docs.rs MIT License GitHub stars

This has been tested with the USB connected flag as well as the Bluetooth lights.

Examples

The following shows the command line tool setting the color to red.

bash ❯ lux -d 2a0f2c73b72 solid red

The following shows the command line tool setting the color to a blinking green. This example uses the environment variable LUX_DEVICE to save repeating the device identifier on each call.

bash ❯ export LUX_DEVICE=2a0f2c73b72 ❯ lux blink green

The following shows the command line tool turning the light off.

bash ❯ lux -vvv -d 2a0f2c73b72 off INFO luxafor > Setting the color of device '2a0f2c73b72e' to 000000 INFO luxafor > call successful

Features

Changes

Version 0.2.0

Version 0.1.0

TODO