Load and save Hue configuration and authentication to a file.
To assign a known application key in your file specify the
application_key and optionally
To configure the Hue bridge's hostname, specify the
hostname parameter. This is typically an IP address, but can be any valid hostname. Do not include the protocol (
https://) as this is configured by the security strategy.
To configure a security strategy, specify the
security parameter, and its associated parameters for that type. The available types are:
This is the default security type, but can also be explicitly specified in the properties file, and requires no extra parameters:
To use an insecure connection, specify the security as
insecure and the
hostname of the hue bridge will be allow-listed for insecure http connections:
To use Hue's Certificate Authority for TLS security, specify the security as
hue. Hue's security uses the Device ID as the
hostname parameter, and requires an
ip to resolve that hostname to:
hostname=01234xxabcdef security=hue ip=192.168.1.5
To use your own custom CA configuration, specify the security as
custom The CA file can be specified with the
certificate_pem_file, along with the
ip to resolve the host to.
Note that Custom CA's do not support modifying the certificate data from the SDK.
hostname=myhue.localdomain security=custom ip=192.168.1.5 certificate_pem_file=/var/shade/custom_cert.pem
The properties file to load or save data from.
Set the application key/token to use when communicating with the Hue bridge.
he Hue IP or hostname to communicate with. eg "192.168.1.5"
TLS configuration strategy.