Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion : Control scene, and ignore kelvin and brightness using CLI #157

Open
xioto opened this issue Jan 7, 2023 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@xioto
Copy link

xioto commented Jan 7, 2023

I would like to be able to turn the lights on to the default rhythm they are set to, but the CLI requires me to give the brightness and the Kelvin.
Since I want to automate this process to a button, I can't have the brightness set to a defualt value, especially for mornings and nights.

@xioto
Copy link
Author

xioto commented Jan 7, 2023

e.g wizlight on --ip 192.168.X.XX --scene 5

@sbidy sbidy added the enhancement New feature or request label Jan 29, 2023
@treaki
Copy link

treaki commented Aug 4, 2024

i just build a new CLI because i was annoyed with the one provided, its still quick and dirty but maybe have a look:
#172 better CLI

@treaki
Copy link

treaki commented Aug 4, 2024

hey, probably i should have checked the developments here during the last 4 years, looks like the main cli got a bit better to, but the help feature in there was still bad so i didnt recognized it. so probably most of my work in vain, but hey, i like my help feature still better ;)

~/git/pywizlight $ wizlight_cli
usage: wizlight_cli [-h] {discover,on,off,state,set-state} ...
wizlight_cli: error: the following arguments are required: command
~/git/pywizlight $ wizlight_cli -h
usage: wizlight_cli [-h] {discover,on,off,state,set-state} ...

Control WizLight bulbs via command line.

positional arguments:
  {discover,on,off,state,set-state}
    discover            Discover bulbs in the local network
    on                  Turn a given bulb on
    off                 Turn a given bulb off
    state               Get the current state of a given bulb
    set-state           Set the current state of a given bulb

optional arguments:
  -h, --help            show this help message and exit
~/git/pywizlight $ wizlight_cli on
usage: wizlight_cli on [-h] ip
wizlight_cli on: error: the following arguments are required: ip
~/git/pywizlight $ wizlight_cli on -h
usage: wizlight_cli on [-h] ip

positional arguments:
  ip          IP address of the WizLight bulb

optional arguments:
  -h, --help  show this help message and exit
~/git/pywizlight $ wizlight_cli off -h
usage: wizlight_cli off [-h] ip

positional arguments:
  ip          IP address of the WizLight bulb

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants