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 hashes)

Uploaded Python 3

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