Skip to main content

A simple cli app for controlling hue lights

Project description

huecli


huecli is a cli application that can be used to control simple functions of philips hue lights

Usage:

usage: hue [-h] ...

positional arguments:
  {list,switch,color}

optional arguments:
  -h, --help           show this help message and exit

$ hue color --help
usage: hue color [-h] [-d] [-g] [-a ADDRESS] ID COLOR

Change color of lights

positional arguments:
  ID                    ID of the light or group to manipulate.
  COLOR                 Hex color to change light to.

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Add extended output.
  -g, --group           Switch group instead of individual light
  -a ADDRESS, --address ADDRESS
                        IP address of the Hue bridge
$ hue switch --help
usage: hue switch [-h] [-d] [-g] [-a ADDRESS] SUBCOMMAND ID

Switch lights on and off. Supported subcommands are: off, on

positional arguments:
  SUBCOMMAND            Subcommand for switch command.
  ID                    ID of the light or group to manipulate.

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Add extended output.
  -g, --group           Switch group instead of individual light
  -a ADDRESS, --address ADDRESS
                        IP address of the Hue bridge
$ hue list --help
usage: hue list [-h] [-d] [-a ADDRESS]

List available lights

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Add extended output.
  -a ADDRESS, --address ADDRESS
                        IP address of the Hue bridge

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

huecli-2.0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file huecli-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: huecli-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for huecli-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb6da58b036f59c75bec61d9f7c9d5a754f0b5c81f7aac65b168708854fa12b7
MD5 80c1f48ae66fc55abbc74ec623007e7c
BLAKE2b-256 a2047f0a8815d6a945d2d9764935a3e370a203a6e3480f366c429a393dbfadcb

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