All Projects → amimof → Huego

amimof / Huego

Licence: mit
An extensive Philips Hue client library for Go with an emphasis on simplicity

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Huego

Hue-remotes-HASS
PLEASE READ THE README
Stars: ✭ 30 (-82.86%)
Mutual labels:  philips-hue
Homebridge Hue
Homebridge plugin for Philips Hue and/or deCONZ
Stars: ✭ 637 (+264%)
Mutual labels:  philips-hue
Laravel Philips Hue
Laravel Philips Hue package to control your lights with remote support
Stars: ✭ 67 (-61.71%)
Mutual labels:  philips-hue
Screenbloom
Fake Ambilight for Philips Hue via Python
Stars: ✭ 289 (+65.14%)
Mutual labels:  philips-hue
Huestacean
Philips Hue control app for desktop with screen syncing. C++ with Qt Quick GUI.
Stars: ✭ 484 (+176.57%)
Mutual labels:  philips-hue
Home Assistant Config
Home Assistant config files, rewritten to use the latest features, 100+ documented automations, automatically generated ToC 🏠 🤖
Stars: ✭ 926 (+429.14%)
Mutual labels:  philips-hue
Raspberry-Pi-Clock
A quick and simple Raspberry Pi touchscreen clock with Philips hue, Tado, Dark Sky and Philips TV JointSpace API controls/data
Stars: ✭ 23 (-86.86%)
Mutual labels:  philips-hue
Multicast Relay
Relay multicast and broadcast packets between interfaces.
Stars: ✭ 111 (-36.57%)
Mutual labels:  philips-hue
Diyhue
Philips Hue emulator that is able to control multiple types of lights
Stars: ✭ 586 (+234.86%)
Mutual labels:  philips-hue
Rspec Hue formatter
Bring RSpec integration into your room with Philips Hue
Stars: ✭ 59 (-66.29%)
Mutual labels:  philips-hue
Hue Alfred Workflow
An Alfred workflow for controlling Philips Hue lights.
Stars: ✭ 304 (+73.71%)
Mutual labels:  philips-hue
Q42.hueapi
C# helper library to talk to the Philips Hue bridge
Stars: ✭ 323 (+84.57%)
Mutual labels:  philips-hue
Ola Trigger Hue Dmx
DMX to Hue - Open Lighting Architecture trigger config to control Philips Hue lights and Osram (LEDVANCE) Lightify products with DMX (Art-Net, sACN or via DMX input)
Stars: ✭ 12 (-93.14%)
Mutual labels:  philips-hue
Kelvin
Kelvin - The hue bot
Stars: ✭ 256 (+46.29%)
Mutual labels:  philips-hue
Harmonizeproject
Harmonize Project lets you sync HDMI video with Philips Hue lights using a Raspberry Pi!
Stars: ✭ 82 (-53.14%)
Mutual labels:  philips-hue
huelib-rs
Rust bindings for the Philips Hue API
Stars: ✭ 19 (-89.14%)
Mutual labels:  philips-hue
Pytradfri
IKEA Trådfri/Tradfri API. Control and observe your lights from Python. Examples available. On pypi. Sans-io.
Stars: ✭ 778 (+344.57%)
Mutual labels:  philips-hue
Node Red Contrib Huemagic
Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
Stars: ✭ 138 (-21.14%)
Mutual labels:  philips-hue
Hyperhue
🌈 A fun HyperTerm theme that responds to your Philips Hue lights
Stars: ✭ 97 (-44.57%)
Mutual labels:  philips-hue
Huebert
A dead-simple Philips Hue client for web and desktop
Stars: ✭ 51 (-70.86%)
Mutual labels:  philips-hue

Build Status huego Go Report Card codecov Awesome

Huego

An extensive Philips Hue client library for Go with an emphasis on simplicity. It is designed to be clean, unbloated and extensible. With Huego you can interact with any Philips Hue bridge and its resources including Lights, Groups, Scenes, Sensors, Rules, Schedules, Resourcelinks, Capabilities and Configuration .

Installation

Get the package and import it in your code.

go get github.com/amimof/huego

You may use New() if you have already created an user and know the IP address to your bridge.

package main

import (
  "github.com/amimof/huego"
  "fmt"
)

func main() {
  bridge := huego.New("192.168.1.59", "username")
  l, err := bridge.GetLights()
  if err != nil {
    panic(err)
  }
  fmt.Printf("Found %d lights", len(l))
}

Or discover a bridge on your network with Discover() and create a new user with CreateUser(). To successfully create a user, the link button on your bridge must have been pressed before calling CreateUser() in order to authorise the request.

func main() {
  bridge, _ := huego.Discover()
  user, _ := bridge.CreateUser("my awesome hue app") // Link button needs to be pressed
  bridge = bridge.Login(user)
  light, _ := bridge.GetLight(3)
  light.Off()
}

Documentation

See godoc.org/github.com/amimof/huego for the full package documentation.

Contributing

All help in any form is highly appreciated and your are welcome participate in developing Huego together. To contribute submit a Pull Request. If you want to provide feedback, open up a Github Issue or contact me personally.

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].