go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/experiments/huectl/README.md (about)

     1  huectl
     2  ======
     3  
     4  `huectl` is a commandline utility to control hue lights through a local hue bridge using its api.
     5  
     6  ## Getting started:
     7  
     8  Once huectl is installed with:
     9  
    10  ```bash
    11  > go install go.charczuk.com/projects/huectl
    12  ```
    13  
    14  You will want to authenticate with your bridge. Follow the prompts, but basically you will need to press the button on your bridge to allow a new username to be created.
    15  
    16  ```bash
    17  > huectl auth
    18  ```
    19  
    20  This will write a configuration file to `${HOME}/.config/huectl/config.json`
    21  
    22  You can then start using `huectl` normally:
    23  
    24  ```bash
    25  > huectl list-groups
    26  ```
    27  
    28