Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

control

control: Control

ip

ip: String

state

state: any

Protected stateListeners

stateListeners: StateListener[] = []

Methods

changeState

  • changeState(state: any, listenProp?: String): void

queryState

  • queryState(): Promise<Object>

removeStateListener

  • removeStateListener(id: String): void

setColor

  • setColor(red: number, green: number, blue: number): Promise<Object>

setColorWithBrightness

  • setColorWithBrightness(red: number, green: number, blue: number, brightness: number): Promise<Object>

setPattern

  • setPattern(pattern: PatternList, speed: number): Promise<Object>

startEffectMode

  • startEffectMode(): Promise<Object>

subscribeToState

  • subscribeToState(listener: Function, listenProp?: String): string

turnOff

  • turnOff(): Promise<Object>

turnOn

  • turnOn(): Promise<Object>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc