scratch2hue

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

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

Go to latest
Published: Aug 24, 2014 License: MIT Imports: 2 Imported by: 0

README

#scratch2hue

library for manipulating the hue through the scratch.

Install

Go

Refer to golang.org

gom

Refer to gom

scratch2hue

$ go get github.com/135yshr/scratch2hue
$ gom install
$ cd sample
$ go build -o scratch2hue

How to use

  1. start the scratch
  2. open the hue.sb
  3. Enable Remote Sensor Connections
  4. start the scratch2hue

command to start the scratch2hue

$ ./scratch2hue -ip <bridge ip address>

License

MIT:https://github.com/135yshr/scratch2hue/blob/master/LICENSE

Revision History

beta_1.2

  • changed use hue's api from savaki/go.hue to 135yshr/go.hue

beta_1.1

  • changed of function name from scratch2hue.Anction to scratch2hue.Action.
  • changed of import from "scratch2hue" to "github.com/135yshr/scratch2hue"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HueConnection

type HueConnection struct {
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection(ipaddr string) *HueConnection

func (*HueConnection) Action

func (self *HueConnection) Action(msg *scratch.Message) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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