smarthome-manager
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Devices
Pattern
List
Hue
Controller
Magic
Home
Controller
Smart
Home
Manager
Statefull
Wemo
Controller
constructor
setup
Url
state
state
Listeners
wemo
change
State
connect
get
Attributes
get
Binary
State
get
Brightness
get
Device
Status
get
End
Devices
get
Insight
Params
remove
State
Listener
set
Attributes
set
Binary
State
set
Brightness
set
Device
Status
set
Light
Color
subscribe
ToState
wemo
Load
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
WemoController
Implements
IWemoController
Index
Constructors
constructor
Properties
setup
Url
state
state
Listeners
wemo
Methods
change
State
connect
get
Attributes
get
Binary
State
get
Brightness
get
Device
Status
get
End
Devices
get
Insight
Params
remove
State
Listener
set
Attributes
set
Binary
State
set
Brightness
set
Device
Status
set
Light
Color
subscribe
ToState
wemo
Load
Constructors
constructor
new
Wemo
Controller
(
options
:
WemoOptions
)
:
WemoController
Parameters
options:
WemoOptions
Returns
WemoController
Properties
setup
Url
setup
Url
:
String
|
undefined
state
state
:
any
Protected
state
Listeners
state
Listeners
:
StateListener
[]
= []
wemo
wemo
:
Wemo
Methods
change
State
change
State
(
state
:
any
, listenProp
?:
String
)
:
void
Parameters
state:
any
Optional
listenProp:
String
Returns
void
connect
connect
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Attributes
get
Attributes
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
get
Binary
State
get
Binary
State
(
client
:
any
)
:
Promise
<
Object
>
Parameters
client:
any
Returns
Promise
<
Object
>
get
Brightness
get
Brightness
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
get
Device
Status
get
Device
Status
(
deviceId
:
String
)
:
Promise
<
Object
>
Parameters
deviceId:
String
Returns
Promise
<
Object
>
get
End
Devices
get
End
Devices
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
get
Insight
Params
get
Insight
Params
(
)
:
Promise
<
Object
>
Returns
Promise
<
Object
>
remove
State
Listener
remove
State
Listener
(
id
:
String
)
:
void
Parameters
id:
String
Returns
void
set
Attributes
set
Attributes
(
attributes
:
Object
)
:
Promise
<
Object
>
Parameters
attributes:
Object
Returns
Promise
<
Object
>
set
Binary
State
set
Binary
State
(
binaryState
:
number
, autoConnect
?:
Boolean
)
:
Promise
<
Object
>
Parameters
binaryState:
number
Default value
autoConnect:
Boolean
= false
Returns
Promise
<
Object
>
set
Brightness
set
Brightness
(
brightness
:
number
)
:
Promise
<
Object
>
Parameters
brightness:
number
Returns
Promise
<
Object
>
set
Device
Status
set
Device
Status
(
deviceId
:
String
, capability
:
String
, value
:
String
)
:
Promise
<
Object
>
Parameters
deviceId:
String
capability:
String
value:
String
Returns
Promise
<
Object
>
set
Light
Color
set
Light
Color
(
deviceId
:
String
, red
:
String
, green
:
String
, blue
:
String
)
:
Promise
<
Object
>
Parameters
deviceId:
String
red:
String
green:
String
blue:
String
Returns
Promise
<
Object
>
subscribe
ToState
subscribe
ToState
(
listener
:
Function
, listenProp
?:
String
)
:
string
Parameters
listener:
Function
Optional
listenProp:
String
Returns
string
Private
wemo
Load
wemo
Load
(
setupUrl
:
string
)
:
Promise
<
Object
>
Parameters
setupUrl:
string
Returns
Promise
<
Object
>
Generated using
TypeDoc