Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

setupUrl

setupUrl: String | undefined

state

state: any

Protected stateListeners

stateListeners: StateListener[] = []

wemo

wemo: Wemo

Methods

changeState

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

connect

  • connect(): Promise<any>

getAttributes

  • getAttributes(): Promise<Object>

getBinaryState

  • getBinaryState(client: any): Promise<Object>

getBrightness

  • getBrightness(): Promise<Object>

getDeviceStatus

  • getDeviceStatus(deviceId: String): Promise<Object>

getEndDevices

  • getEndDevices(): Promise<Object>

getInsightParams

  • getInsightParams(): Promise<Object>

removeStateListener

  • removeStateListener(id: String): void

setAttributes

  • setAttributes(attributes: Object): Promise<Object>

setBinaryState

  • setBinaryState(binaryState: number, autoConnect?: Boolean): Promise<Object>
  • Parameters

    • binaryState: number
    • Default value autoConnect: Boolean = false

    Returns Promise<Object>

setBrightness

  • setBrightness(brightness: number): Promise<Object>

setDeviceStatus

  • setDeviceStatus(deviceId: String, capability: String, value: String): Promise<Object>

setLightColor

  • setLightColor(deviceId: String, red: String, green: String, blue: String): Promise<Object>

subscribeToState

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

Private wemoLoad

  • wemoLoad(setupUrl: string): 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