hue

command module
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: BSD-2-Clause Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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