hue

command module
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2026 License: BSD-2-Clause Imports: 15 Imported by: 0

README

Hue Controller

Check if desired state and corrects it if necessary.

https://hue.quant.benjamin-borbe.de/lights

Doc

https://developers.meethue.com/develop/get-started-2/

Setup

Get bridge ip https://discovery.meethue.com/

Create User/Token

curl \
--insecure \
-X POST \
-d '{"devicetype":"my_hue_app"}' \
https://<BRIDGE_IP>/api

Test the API

curl \
--insecure \
-X GET https://<BRIDGE_IP>/api/<YOUR_USERNAME>/lights

Discover Clients

https://discovery.meethue.com/

[
    {
        "id": "ecb5fafffeab0260",
        "internalipaddress": "192.168.177.106",
        "port": 443
    },
    {
        "id": "ecb5fafffe1a4d5d",
        "internalipaddress": "192.168.177.118",
        "port": 443
    }
]

License

BSD 2-Clause — see LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
create-token command
list-lights command
turnoff-light command
turnon-light command
Code generated by counterfeiter.
Code generated by counterfeiter.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL