smarthome-manager
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Devices
Pattern
List
Hue
Controller
Magic
Home
Controller
constructor
control
ip
state
state
Listeners
change
State
query
State
remove
State
Listener
set
Color
set
Color
With
Brightness
set
Pattern
start
Effect
Mode
subscribe
ToState
turn
Off
turn
On
Smart
Home
Manager
Statefull
Wemo
Controller
Control
Controller
Effect
Interface
IHue
Controller
IMagic
Home
Controller
IWemo
Controller
Attribute
List
Device
Options
Device
Type
Hue
Bridge
Hue
State
Object
Insight
Params
Manager
Options
SSDPClient
Smart
Home
Controllers
State
Listener
Wemo
Wemo
Options
NOOP
camelize
distinct
Hierarchy
Statefull
MagicHomeController
Implements
IMagicHomeController
Index
Constructors
constructor
Properties
control
ip
state
state
Listeners
Methods
change
State
query
State
remove
State
Listener
set
Color
set
Color
With
Brightness
set
Pattern
start
Effect
Mode
subscribe
ToState
turn
Off
turn
On
Constructors
constructor
new
Magic
Home
Controller
(
options
:
DeviceOptions
|
undefined
)
:
MagicHomeController
Parameters
options:
DeviceOptions
|
undefined
Returns
MagicHomeController
Properties
control
control
:
Control
ip
ip
:
String
state
state
:
any
Protected
state
Listeners
state
Listeners
:
StateListener
[]
= []
Methods
change
State
change
State
(
state
:
any
, listenProp
?:
String
)
:
void
Parameters
state:
any
Optional
listenProp:
String
Returns
void
query
State
query
State
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
remove
State
Listener
remove
State
Listener
(
id
:
String
)
:
void
Parameters
id:
String
Returns
void
set
Color
set
Color
(
red
:
number
, green
:
number
, blue
:
number
)
:
Promise
<
Object
>
Parameters
red:
number
green:
number
blue:
number
Returns
Promise
<
Object
>
set
Color
With
Brightness
set
Color
With
Brightness
(
red
:
number
, green
:
number
, blue
:
number
, brightness
:
number
)
:
Promise
<
Object
>
Parameters
red:
number
green:
number
blue:
number
brightness:
number
Returns
Promise
<
Object
>
set
Pattern
set
Pattern
(
pattern
:
PatternList
, speed
:
number
)
:
Promise
<
Object
>
Parameters
pattern:
PatternList
speed:
number
Returns
Promise
<
Object
>
start
Effect
Mode
start
Effect
Mode
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
subscribe
ToState
subscribe
ToState
(
listener
:
Function
, listenProp
?:
String
)
:
string
Parameters
listener:
Function
Optional
listenProp:
String
Returns
string
turn
Off
turn
Off
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
turn
On
turn
On
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
Generated using
TypeDoc