control WiZ bulbs from the CLI
Project description
wizcli
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wizcli-0.1.6.tar.gz.
File metadata
- Download URL: wizcli-0.1.6.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1035-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7aa84c880e67c5d0064dee73e9d8e902cbd93b32f328746f76bb066f0b62d2a9
|
|
| MD5 |
6ab8aa063d25b2b37b46d6a88e733a6c
|
|
| BLAKE2b-256 |
beddd36ac801af83070cc733f1f72445d8aae125d8fc4da6da586cbee452d888
|
File details
Details for the file wizcli-0.1.6-py3-none-any.whl.
File metadata
- Download URL: wizcli-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1035-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0205864f9fb3469c708783a5ed1386da7b0984397caa03686a8fcd59776cb73b
|
|
| MD5 |
fbbaa3ccb271b61849704d9a837e5a16
|
|
| BLAKE2b-256 |
aa1134f0cc5d4c11419644d9162a61681b1f0e68a7dfa8ee8fbb0e50b72f848b
|