All Projects → gbbr → Hue

gbbr / Hue

Philips Hue API

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Hue

bruces homeassistant config
My Home Assistant Configuration
Stars: ✭ 24 (-31.43%)
Mutual labels:  hue
Q42.hueapi
C# helper library to talk to the Philips Hue bridge
Stars: ✭ 323 (+822.86%)
Mutual labels:  hue
Diyhue
Philips Hue emulator that is able to control multiple types of lights
Stars: ✭ 586 (+1574.29%)
Mutual labels:  hue
jarvis
Jarvis Home Automation
Stars: ✭ 81 (+131.43%)
Mutual labels:  hue
Hue
🎨 Hue is the all-in-one coloring utility that you'll ever need.
Stars: ✭ 3,306 (+9345.71%)
Mutual labels:  hue
Hue Sensors Hass
Support for Hue motion sensors and device tracker
Stars: ✭ 353 (+908.57%)
Mutual labels:  hue
cloud
云计算之hadoop、hive、hue、oozie、sqoop、hbase、zookeeper环境搭建及配置文件
Stars: ✭ 48 (+37.14%)
Mutual labels:  hue
Homeassistant
Example Home Assistant Configs
Stars: ✭ 846 (+2317.14%)
Mutual labels:  hue
Coolhue
Coolest Gradient Hues and Swatches
Stars: ✭ 3,307 (+9348.57%)
Mutual labels:  hue
Yeetgif
gif effects CLI. single binary, no dependencies. linux, osx, windows. #1 workplace productivity booster. #yeetgif #eggplant #golang
Stars: ✭ 467 (+1234.29%)
Mutual labels:  hue
bigdata-fun
A complete (distributed) BigData stack, running in containers
Stars: ✭ 14 (-60%)
Mutual labels:  hue
Hue
Work with Philips Hue from Ruby
Stars: ✭ 308 (+780%)
Mutual labels:  hue
Huejay
Philips Hue client for Node.js
Stars: ✭ 395 (+1028.57%)
Mutual labels:  hue
NZXTSharp
The one-stop C# SDK for NZXT devices.
Stars: ✭ 48 (+37.14%)
Mutual labels:  hue
Homebridge Hue
Homebridge plugin for Philips Hue and/or deCONZ
Stars: ✭ 637 (+1720%)
Mutual labels:  hue
hue-hacking-npm
Hue Hacking, as a Node Package Manager module
Stars: ✭ 18 (-48.57%)
Mutual labels:  hue
Home Assistantconfig
🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to ⭐ it. Updated FREQUENTLY!
Stars: ✭ 3,687 (+10434.29%)
Mutual labels:  hue
Zigbridge
Zigbee gateway implementation
Stars: ✭ 21 (-40%)
Mutual labels:  hue
Scriptis
Scriptis is for interactive data analysis with script development(SQL, Pyspark, HiveQL), task submission(Spark, Hive), UDF, function, resource management and intelligent diagnosis.
Stars: ✭ 696 (+1888.57%)
Mutual labels:  hue
Gamut
Go package to generate and manage color palettes & schemes 🎨
Stars: ✭ 416 (+1088.57%)
Mutual labels:  hue

hue travis-ci

hue

hue is a small package for interacting with a Phillips Hue bridge. It facilitates discovery, authentication and control of up to one brige in your local network.

hello world

To discover a bridge, pair with it and turn on a light named "Desk", the program would be:

package main

import (
    "log"
    "gbbr.io/hue"
)

func main() {
    b, err := hue.Discover()
    if err != nil {
    	log.Fatal(err)
    }
    if !b.IsPaired() {
    	// link button must be pressed before calling
    	if err := b.Pair(); err != nil {
    		log.Fatal(err)
    	}
    }
    light, err := b.Lights().Get("Desk")
    if err != nil {
    	log.Fatal(err)
    }
    if err := light.On(); err != nil {
    	log.Fatal(err)
    }
}

hue attempts to discover a bridge using UPnP (for up to 5 seconds) or by falling back to a remote endpoint. On subsequent calls, discovery and pairing data is readily available from cache stored on the file system in ~/.hue. It is best practice to check that the device has not already been paired with before calling Pair, for performance reasons.

Shall you ever need to reset the cache, simply remove the file.

There are still aspects of the API to be implemented, but the individual light interaction is complete. To see the full documentation, visit our godoc page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].