yeecli is a command-line utility for controlling the YeeLight RGB LED lightbulb.
Project description
yeecli is a command-line utility for controlling the YeeLight RGB LED lightbulb. It is released under the BSD license.
Installation
You can install yeecli with pip:
pip install yeecli
Usage
To see the commands supported by yeecli, just run it without any commands. It allows you to turn the light bulb on or off, set the RGB value, the color temperature, the HSV value, etc.
yeecli does not support discovery, so you have to specify the IP of the bulb you want to use every time. To make this easier, yeecli supports using a configuration file.
Simply create a file in ~/.config/yeecli/yeecli.cfg that looks something like this:
[default] ip = 192.168.12.3 port = 55433 effect = smooth duration = 500
And the defaults will be loaded from it. All the values in it are optional, and you can override them in the command line when running the script.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file yeecli-0.0.9.tar.gz
.
File metadata
- Download URL: yeecli-0.0.9.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82fd22d14daae18878e8c7c93e57e79fb7cc3cac4cc2ef0ae691c4f37a1a0fba |
|
MD5 | 84ee724d59d07bca03a3e4859847b06f |
|
BLAKE2b-256 | 564fd9e3f75b8e9f1dba3567d1ef81d0aaf294a2738ca99b466860d1112163f1 |
File details
Details for the file yeecli-0.0.9-py2.py3-none-any.whl
.
File metadata
- Download URL: yeecli-0.0.9-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ad0d1a56270baf3dd5d9ba8e5a5007fea0c70c13fd259026bb67ba954b0de53 |
|
MD5 | 504cfe64c7fa0c9670032102e4a4e420 |
|
BLAKE2b-256 | 9059d5da90d9b6a2b51179738549beeab86dc784f24b06303e6b40c8fc5bc9fd |