gohue

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

gohue

To get an API key from the bridge
curl -d '{"devicetype:"application_name#device_name"}' --header "Content-Type: application/json" --request POST http://<bridge IP address>/api
Run the program

You will need to export an environment variable HUE_API_KEY with the API key extracted from above. Also a INFLUX_DB_ADDRESS is needed for the influxdb address. The program will then discover hue bridges and sensors within the network.

HUE_API_KEY=some_api_key cargo run  INFLUX_DB_ADDRESS=http://INFLUXDB_ADDRESS:8086/write?db=homestats gohue

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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