https://github.com/redraw/wizcli
control WiZ bulbs from the CLI
https://github.com/redraw/wizcli
Last synced: over 1 year ago
JSON representation
control WiZ bulbs from the CLI
- Host: GitHub
- URL: https://github.com/redraw/wizcli
- Owner: redraw
- Created: 2023-04-23T21:19:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T18:13:50.000Z (about 3 years ago)
- Last Synced: 2025-01-25T17:33:16.277Z (over 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wizcli

Control your WiZ light from the CLI.
## Install
```bash
pip install wizcli
```
## Use
```bash
# 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
```bash
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
```