Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Quick start

You can install yeecli with pip:

pip install yeecli

You’re done! Here are a few sample commands:

yee --ip= turn on
yee --ip= toggle
yee --ip= rgb ff00ff
yee --ip= brightness 100


This is a list of features supported right now and features that I’m wanting to add later.

Currently supported:

  • Non-music modes
  • All flow transitions in the protocol
  • Additional HSV flow transition
  • Presets
  • Multiple bulbs

Will probably be supported at some point:

  • Music mode
  • Bulb groups
  • Discovery


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:

ip =
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.

You can also specify multiple bulbs like so:

ip =
port = 55433
effect = smooth
duration = 500

ip =
effect = smooth
duration = 500

ip =

Then, to select a specific bulb, just pass it to the --bulb option:

yee --bulb=bedroom brightness 100

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.0 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Jun 5, 2017
(6.2 kB) Copy SHA256 Hash SHA256
Source None Jun 5, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate