What is Lux?
Lux is a command-line interface for controlling and monitoring Govee lighting strips built in Go. Lux provides it's users with the ability to manage their lighting strips from their desktop computer from any network with an internet connection.
Installation
We provide a simple installer for each release for Windows but if that's not suitable for you, you can easily compile Lux directly from source.
You can get the latest copy of Lux from our GitHub releases, or via Winget
winget install BanDev.Lux
If you choose to self compile, you will need to add the path to `lux.exe` to your `Path` environment variables in order for Lux to be detected as a command in PowerShell & CMD.
If you're already using a terminal, restart it so that it can register the changes to the environment variables. Then, run the following command to begin setting up your instance of Lux.
lux setup
Commands
lux devices
Lists the devices registered on the user's account
lux query 0
Returns data about the state of a device
lux turn 0 on
Turn a device on or off
lux brightness 0 100
Alter the brightness of a device
lux color 0 #0067f4
Alter the color of a device
lux setup
Connect Lux to your Govee account using your API Key
lux help
Lists a list of commands and information about the CLI
Contributing
Looking to contribute to Lux? That's great! There are a couple of ways to help out. Translations, bug reports and pull requests are all greatly appreciated. Please refer to our contributing guidelines to get started.
License
Lux
Copyright © 2021 BanDev
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/