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.8.tar.gz (4.7 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 2 Python 3

yeecli-0.0.8-py2.7.egg (6.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for yeecli-0.0.8.tar.gz
Algorithm Hash digest
SHA256 78cbf2dd0d8a48e68c0f467f136286fd4225e90f14b98c45855a33d30e1810b8
MD5 063f0ff99412ba7e12ea8a673606170a
BLAKE2b-256 23a7ee414f8c9747ee93cdcf7f5ab1a05657a3e9cecb749de93801b73fd3c3d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yeecli-0.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e1a1c0d52afa483895523cd3d54ec0cf6cc808594499a339ef7646a87ed6d4d0
MD5 30b89faa7881a427a89225e743c285df
BLAKE2b-256 53b23dd781c4ed7115c2a1014c43c41c767619113ba4177d80967707a208e1e5

See more details on using hashes here.

File details

Details for the file yeecli-0.0.8-py2.7.egg.

File metadata

  • Download URL: yeecli-0.0.8-py2.7.egg
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yeecli-0.0.8-py2.7.egg
Algorithm Hash digest
SHA256 81234b303061056b9c307cf1fad4ce29365e9ba8e4f00d90aa1c21d0827c480c
MD5 26215b97b83d3daff61f7586c92ff058
BLAKE2b-256 525850dd5c884e77dc0ea855aa51a003f116d5993aa793a7d353196c7a5d0a2f

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