Skip to main content

control WiZ bulbs from the CLI

Project description

wizcli

test

Control your WiZ light from the CLI.

Install

pip install wizcli

Use

# turn on
wiz on

# turn off
wiz off

# dim to 20%
wiz dim 20

# set temp to 50%
wiz temp 50

# set cold
wiz cold

# set warm
wiz warm

# set RGB color
wiz rgb 255 40 90

Help

Usage: wiz [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --host TEXT                 WiZ bulb host  [env var: WIZ_HOST]
  -p, --port INTEGER              WiZ bulb port  [env var: WIZ_PORT; default:
                                  38899]
  -t, --timeout INTEGER           Timeout in seconds  [env var: WIZ_TIMEOUT;
                                  default: 5]
  -v, --verbose
  --help                          Show this message and exit.

Commands:
  cold
  dim
  get
  off
  on
  rgb
  switch
  temp
  warm

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

wizcli-0.1.6.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

wizcli-0.1.6-py3-none-any.whl (3.4 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