Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/deconz/adapter/deconzAdapter
DeconzAdapter
Class DeconzAdapter
Hierarchy (
View Summary
)
Adapter
DeconzAdapter
Index
Constructors
constructor
Properties
has
Zdo
Message
Overhead
manufacturerID
Methods
add
Install
Code
backup
get
CoordinatorIEEE
get
Coordinator
Version
get
Network
Parameters
permit
Join
reset
restore
Channel
InterPAN
send
Zcl
Frame
InterPANBroadcast
send
Zcl
Frame
InterPANBroadcast
With
Response
send
Zcl
Frame
InterPANIeee
Addr
send
Zcl
Frame
InterPANTo
Ieee
Addr
send
Zcl
Frame
To
All
send
Zcl
Frame
To
Endpoint
send
Zcl
Frame
To
Group
send
Zdo
set
Channel
InterPAN
start
stop
supports
Backup
wait
For
create
Constructors
constructor
new
DeconzAdapter
(
networkOptions
:
NetworkOptions
,
serialPortOptions
:
SerialPortOptions
,
backupPath
:
string
,
adapterOptions
:
AdapterOptions
,
)
:
DeconzAdapter
Parameters
networkOptions
:
NetworkOptions
serialPortOptions
:
SerialPortOptions
backupPath
:
string
adapterOptions
:
AdapterOptions
Returns
DeconzAdapter
Properties
has
Zdo
Message
Overhead
hasZdoMessageOverhead
:
boolean
manufacturerID
manufacturerID
:
ManufacturerCode
Methods
add
Install
Code
addInstallCode
(
ieeeAddress
:
string
,
key
:
Buffer
)
:
Promise
<
void
>
Parameters
ieeeAddress
:
string
key
:
Buffer
Returns
Promise
<
void
>
backup
backup
()
:
Promise
<
Backup
>
Returns
Promise
<
Backup
>
get
CoordinatorIEEE
getCoordinatorIEEE
()
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Coordinator
Version
getCoordinatorVersion
()
:
Promise
<
CoordinatorVersion
>
Returns
Promise
<
CoordinatorVersion
>
get
Network
Parameters
getNetworkParameters
()
:
Promise
<
NetworkParameters
>
Returns
Promise
<
NetworkParameters
>
permit
Join
permitJoin
(
seconds
:
number
,
networkAddress
?:
number
)
:
Promise
<
void
>
Parameters
seconds
:
number
Optional
networkAddress
:
number
Returns
Promise
<
void
>
reset
reset
(
type
:
"soft"
|
"hard"
)
:
Promise
<
void
>
Parameters
type
:
"soft"
|
"hard"
Returns
Promise
<
void
>
restore
Channel
InterPAN
restoreChannelInterPAN
()
:
Promise
<
void
>
Returns
Promise
<
void
>
send
Zcl
Frame
InterPANBroadcast
sendZclFrameInterPANBroadcast
(
zclFrame
:
ZclFrame
,
timeout
:
number
,
)
:
Promise
<
ZclPayload
>
Parameters
zclFrame
:
ZclFrame
timeout
:
number
Returns
Promise
<
ZclPayload
>
send
Zcl
Frame
InterPANBroadcast
With
Response
sendZclFrameInterPANBroadcastWithResponse
(
zclFrame
:
ZclFrame
,
timeout
:
number
,
)
:
Promise
<
ZclPayload
>
Parameters
zclFrame
:
ZclFrame
timeout
:
number
Returns
Promise
<
ZclPayload
>
send
Zcl
Frame
InterPANIeee
Addr
sendZclFrameInterPANIeeeAddr
(
zclFrame
:
ZclFrame
,
ieeeAddr
:
string
,
)
:
Promise
<
void
>
Parameters
zclFrame
:
ZclFrame
ieeeAddr
:
string
Returns
Promise
<
void
>
send
Zcl
Frame
InterPANTo
Ieee
Addr
sendZclFrameInterPANToIeeeAddr
(
zclFrame
:
ZclFrame
,
ieeeAddr
:
string
,
)
:
Promise
<
void
>
Parameters
zclFrame
:
ZclFrame
ieeeAddr
:
string
Returns
Promise
<
void
>
send
Zcl
Frame
To
All
sendZclFrameToAll
(
endpoint
:
number
,
zclFrame
:
ZclFrame
,
sourceEndpoint
:
number
,
destination
:
BroadcastAddress
,
)
:
Promise
<
void
>
Parameters
endpoint
:
number
zclFrame
:
ZclFrame
sourceEndpoint
:
number
destination
:
BroadcastAddress
Returns
Promise
<
void
>
send
Zcl
Frame
To
Endpoint
sendZclFrameToEndpoint
(
ieeeAddr
:
string
,
networkAddress
:
number
,
endpoint
:
number
,
zclFrame
:
ZclFrame
,
timeout
:
number
,
disableResponse
:
boolean
,
disableRecovery
:
boolean
,
sourceEndpoint
?:
number
,
)
:
Promise
<
void
|
ZclPayload
>
ZCL
Parameters
ieeeAddr
:
string
networkAddress
:
number
endpoint
:
number
zclFrame
:
ZclFrame
timeout
:
number
disableResponse
:
boolean
disableRecovery
:
boolean
Optional
sourceEndpoint
:
number
Returns
Promise
<
void
|
ZclPayload
>
send
Zcl
Frame
To
Group
sendZclFrameToGroup
(
groupID
:
number
,
zclFrame
:
ZclFrame
)
:
Promise
<
void
>
Parameters
groupID
:
number
zclFrame
:
ZclFrame
Returns
Promise
<
void
>
send
Zdo
sendZdo
(
ieeeAddress
:
string
,
networkAddress
:
number
,
clusterId
:
ClusterId
,
payload
:
Buffer
,
disableResponse
:
true
,
)
:
Promise
<
void
>
ZDO
Parameters
ieeeAddress
:
string
networkAddress
:
number
clusterId
:
ClusterId
payload
:
Buffer
disableResponse
:
true
Returns
Promise
<
void
>
sendZdo
<
K
extends
keyof
RequestToResponseMap
>
(
ieeeAddress
:
string
,
networkAddress
:
number
,
clusterId
:
K
,
payload
:
Buffer
,
disableResponse
:
false
,
)
:
Promise
<
RequestToResponseMap
[
K
]
>
ZDO
Type Parameters
K
extends
keyof
RequestToResponseMap
Parameters
ieeeAddress
:
string
networkAddress
:
number
clusterId
:
K
payload
:
Buffer
disableResponse
:
false
Returns
Promise
<
RequestToResponseMap
[
K
]
>
set
Channel
InterPAN
setChannelInterPAN
(
channel
:
number
)
:
Promise
<
void
>
InterPAN
Parameters
channel
:
number
Returns
Promise
<
void
>
start
start
()
:
Promise
<
StartResult
>
Adapter methods
Returns
Promise
<
StartResult
>
stop
stop
()
:
Promise
<
void
>
Returns
Promise
<
void
>
supports
Backup
supportsBackup
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
wait
For
waitFor
(
networkAddress
:
undefined
|
number
,
endpoint
:
number
,
frameType
:
FrameType
,
direction
:
Direction
,
transactionSequenceNumber
:
undefined
|
number
,
clusterID
:
number
,
commandIdentifier
:
number
,
timeout
:
number
,
)
:
{
cancel
:
()
=>
void
;
promise
:
Promise
<
ZclPayload
>
}
Parameters
networkAddress
:
undefined
|
number
endpoint
:
number
frameType
:
FrameType
direction
:
Direction
transactionSequenceNumber
:
undefined
|
number
clusterID
:
number
commandIdentifier
:
number
timeout
:
number
Returns
{
cancel
:
()
=>
void
;
promise
:
Promise
<
ZclPayload
>
}
Static
create
create
(
networkOptions
:
NetworkOptions
,
serialPortOptions
:
SerialPortOptions
,
backupPath
:
string
,
adapterOptions
:
AdapterOptions
,
)
:
Promise
<
Adapter
>
Utility
Parameters
networkOptions
:
NetworkOptions
serialPortOptions
:
SerialPortOptions
backupPath
:
string
adapterOptions
:
AdapterOptions
Returns
Promise
<
Adapter
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
has
Zdo
Message
Overhead
manufacturerID
Methods
add
Install
Code
backup
get
CoordinatorIEEE
get
Coordinator
Version
get
Network
Parameters
permit
Join
reset
restore
Channel
InterPAN
send
Zcl
Frame
InterPANBroadcast
send
Zcl
Frame
InterPANBroadcast
With
Response
send
Zcl
Frame
InterPANIeee
Addr
send
Zcl
Frame
InterPANTo
Ieee
Addr
send
Zcl
Frame
To
All
send
Zcl
Frame
To
Endpoint
send
Zcl
Frame
To
Group
send
Zdo
set
Channel
InterPAN
start
stop
supports
Backup
wait
For
create
zigbee-herdsman
Loading...
ZCL