hue

package module
v0.0.0-...-2969261 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2016 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Namespace = "Hue"
)

Variables

View Source
var Colors = map[string]*[2]float32{
	"Red":    hue.RED,
	"Yellow": hue.YELLOW,
	"Orange": hue.ORANGE,
	"Green":  hue.GREEN,
	"Cyan":   hue.CYAN,
	"Blue":   hue.BLUE,
	"Purple": hue.PURPLE,
	"Pink":   hue.PINK,
	"White":  hue.WHITE,
}

Simple pre-defined colors

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	IP   string
	User string

	casa.Logger
	// contains filtered or unexported fields
}

func NewBridge

func NewBridge(ip string) *Bridge

func (*Bridge) Start

func (b *Bridge) Start(config *viper.Viper) error

func (*Bridge) Stop

func (b *Bridge) Stop() error

func (*Bridge) UseLogger

func (b *Bridge) UseLogger(logger casa.Logger)

type Light

type Light struct {
	Light *hue.Light
	Path  string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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