Fork of luxafor-rs with modern libs
Go to file
2020-08-17 16:10:29 -07:00
.github/workflows Initial commit. 2020-08-17 16:06:18 -07:00
.idea Initial commit. 2020-08-17 16:06:18 -07:00
src Initial commit. 2020-08-17 16:06:18 -07:00
.gitignore Initial commit. 2020-08-17 16:06:18 -07:00
Cargo.toml Initial commit. 2020-08-17 16:06:18 -07:00
LICENSE Initial commit. 2020-08-17 16:06:18 -07:00
README.md Fixed badge error 2020-08-17 16:10:29 -07:00

#Crate luxafor

Library, and CLI, for Luxafor lights via webhooks.

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.

 lux solid red -d 2a0f2c73b72

The following shows the command line tool setting the color to a blinking green.

 lux blink green -d 2a0f2c73b72

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

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

Changes

Version 0.1.0

  • Initial commit, supports flag and bluetooth lights.

TODO

TBD