Skip to main content

yeecli is a command-line utility for controlling the YeeLight RGB LED lightbulb.

Project description

https://img.shields.io/pypi/v/yeecli.svg https://gitlab.com/stavros/yeecli/badges/master/build.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yeecli-0.0.7.tar.gz (4.8 kB view details)

Uploaded Source

Built Distributions

yeecli-0.0.7-py3.5.egg (6.2 kB view details)

Uploaded Source

yeecli-0.0.7-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file yeecli-0.0.7.tar.gz.

File metadata

  • Download URL: yeecli-0.0.7.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yeecli-0.0.7.tar.gz
Algorithm Hash digest
SHA256 199f932fcf7aa259f0953381e1e2a5f77224732648c2d74c5b9e6a9c045c88dd
MD5 b0dc07c04771273234753ad167b398d0
BLAKE2b-256 fca63cc2af74a753a2ca4d6ea6bab9b9854226864854ee4af5e91fcd885abe8d

See more details on using hashes here.

File details

Details for the file yeecli-0.0.7-py3.5.egg.

File metadata

  • Download URL: yeecli-0.0.7-py3.5.egg
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yeecli-0.0.7-py3.5.egg
Algorithm Hash digest
SHA256 def27e1a32bed88c0a4e28583c6e7142ed8cea067c0ae4418fb269ef4b56f345
MD5 d7f7ee8f5ee5bbe389045b0cc4ba8a30
BLAKE2b-256 255dbeff2e6bdf5c959b078f1668fd2d947d377ef859b3417ef0e2178d800b98

See more details on using hashes here.

File details

Details for the file yeecli-0.0.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for yeecli-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a8e04f8149c4e2d376e2d7fab702c00d4b18a7c078c3acd5be096f24f784ff92
MD5 6398ced0acee975e50f321ddec6bb12e
BLAKE2b-256 49487051bffd982d1b6570b57310a3319270fbf6a32bc01c7e99a2d41701bbdc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page