beehive: Index | Files

package huebee

import ""

Package huebee is a Bee that can talk to Philips Hue bridges.


Package Files

huebee.go huebeefactory.go

type HueBee Uses

type HueBee struct {
    // contains filtered or unexported fields

HueBee is a Bee that can talk to Philips Hue bridges.

func (*HueBee) Action Uses

func (mod *HueBee) Action(action bees.Action) []bees.Placeholder

Action triggers the action passed to it.

func (*HueBee) ReloadOptions Uses

func (mod *HueBee) ReloadOptions(options bees.BeeOptions)

ReloadOptions parses the config options and initializes the Bee.

type HueBeeFactory Uses

type HueBeeFactory struct {

HueBeeFactory is a factory for HueBees.

func (*HueBeeFactory) Actions Uses

func (factory *HueBeeFactory) Actions() []bees.ActionDescriptor

Actions describes the available actions provided by this Bee.

func (*HueBeeFactory) Description Uses

func (factory *HueBeeFactory) Description() string

Description returns the description of this Bee.

func (*HueBeeFactory) Events Uses

func (factory *HueBeeFactory) Events() []bees.EventDescriptor

Events describes the available events provided by this Bee.

func (*HueBeeFactory) ID Uses

func (factory *HueBeeFactory) ID() string

ID returns the ID of this Bee.

func (*HueBeeFactory) Image Uses

func (factory *HueBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*HueBeeFactory) LogoColor Uses

func (factory *HueBeeFactory) LogoColor() string

LogoColor returns the preferred logo background color (used by the admin interface).

func (*HueBeeFactory) Name Uses

func (factory *HueBeeFactory) Name() string

Name returns the name of this Bee.

func (*HueBeeFactory) New Uses

func (factory *HueBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface

New returns a new Bee instance configured with the supplied options.

func (*HueBeeFactory) Options Uses

func (factory *HueBeeFactory) Options() []bees.BeeOptionDescriptor

Options returns the options available to configure this Bee.

Package huebee imports 6 packages (graph) and is imported by 14 packages. Updated 2020-04-17. Refresh now. Tools for package owners.