Setup
The OpenHue CLI configuration can be done in less than 30 seconds using the setup command.
Last updated
Was this helpful?
The OpenHue CLI configuration can be done in less than 30 seconds using the setup command.
Last updated
Was this helpful?
The first step after Installation is to pair your OpenHue CLI with your local Hue Bridge.
Configuration can be either done manually or automatically using the setup
command.
setup
commandThe setup
command allows to automatically discover your Hue Bridge on your local network, waits for you to push the bridge button and finally saves the configuration in your home folder.
Usage:
Result:
The setup command also allows the set the bridge IP using the --bridge
parameter:
You can also easily discover your Hue Bridge IP address by visiting discovery.meethue.com
discover
commandThe OpenHue CLI provides the discover
command that allows to easily the IP of your local Hue Bridge using mDNS Service Discovery.
Usage:
Result:
config
commandThe OpenHue CLI allows you to manually configure the application using the config
command.
The Hue Authentication Key required by the config
command can be obtained via the Authentication API.
Usage:
Result:
You can still decide to configure the OpenHue CLI completely manually by creating the config file by yourself.
OpenHue CLI loads its configuration from a YAML file located in your home directory under the .openhue
folder.
Here are the commands that allows configuring OpenHue CLI manually:
When openhue attempts to discover the IP of your bridge using either the setup
or discover
commands, it is possible your OS might ask you to authorize the application to accept incoming network connections.
For instance on MacOs:
We will try to find a solution in the future versions, but for now we will ask you to click on Allow.