Instance Properties
battery
battery: booleanWhether the node is battery operated
Type
- boolean
CommandClass
CommandClass: Object.<string, ZwaveCommandClass>deviceClassBasic
deviceClassBasic: stringBasic device class
Type
- string
deviceClassGeneric
deviceClassGeneric: stringGeneric device class
Type
- string
deviceClassSpecific
deviceClassSpecific: stringSpecific device class
Type
- string
firmwareId
firmwareId: numberFirmware identifier
Type
- number
isMultiChannelNode
isMultiChannelNode: booleanWhether this node is a multichannel node
Type
- boolean
manufacturerId
manufacturerId: ObjectThe manufacturer id, in the value property of the object
Type
- Object
multiChannelNodeId
multiChannelNodeId: numberIf this is a multichannel node, the id
Type
- number
MultiChannelNodes
MultiChannelNodes: Object.<string, ZwaveNode>nodeId
nodeId: numberThe id of the node within the Zwave network
Type
- number
online
online: booleanWhether the node is online
Type
- boolean
productId
productId: ObjectThe product id, in the value property of the object
Type
- Object
productTypeId
productTypeId: ObjectThe product type id, in the value property of the object
Type
- Object
Instance Methods
sendCommand
(async) sendCommand(command): Promise.<void>This method can be used to send a raw command to a node.
Parameters
Name | Type | Description |
---|---|---|
command
|
object | |
commandClassId
|
number | The command class identified |
commandId
|
number | The command identified |
params
|
Buffer
<optional> |
The command data as a buffer |
|
Returns
Events
nif
.on('nif')This event is fired when a Node Information Frame (NIF) has been sent.
Properties
Name | Type | Description |
---|---|---|
nif
|
Buffer |
online
.on('online')This event is fired when a battery node changed it's online or offline status.
Properties
Name | Type | Description |
---|---|---|
online
|
boolean | If the node is online |
unknownReport
.on('unknownReport')This event is fired when a a Node has received an unknown command.
Properties
Name | Type | Description |
---|---|---|
data
|
Buffer |