|  Developer
Updated on November 22, 2021

hub.addons.zwave.nodes.provisioning.add

  • Add new provisioning entry, if entry with same DSK already exist override it
Edit
Field Type Required Description
dsk array of ints + Unique DSK key for Z-Wave device which can be included via Smart Start flow
product object This Information Type is used to advertise the product identifying data of a supporting node.
product.manufacturer int + This field MUST carry the Manufacturer ID advertised by the node in the Manufacturer Specific Report Command (Manufacturer Specific Command Class).
product.type int + This field MUST carry the Product Type ID advertised by the node in the Manufacturer Specific Report Command (Manufacturer Specific Command Class).
product.id int + This field MUST carry the Product ID advertised by the node in the Manufacturer Specific Report Command (Manufacturer Specific Command Class).
product.version int + Application Version (Firmware 0 Version) advertised by the node in the Version Report Command (Version Command Class).
product.subVersion int + Application Sub Version (Firmware 0 Sub Version) advertised by the node in the Version Report Command (Version Command Class).
type object This Information Type is used to advertise the product identifying data of a supporting node.
type.generic int + These fields MUST carry the Generic Device Class advertised in the node’s NIF. For a detailed description of all available Generic Device Classes, refer to Z-Wave nodes and for Z-Wave Plus nodes.
type.specific int + These fields MUST carry the Specific Device Class advertised in the node’s NIF. For a detailed description of all available Generic Device Classes, refer to Z-Wave nodes and for Z-Wave Plus nodes.
type.icon int + Icon type. This field MUST carry the Specific Device Class advertised by the node’s Root Device Z-Wave Plus Info Report Command.
maxRequestInterval int This Information Type is used to advertise if a power constrained Smart Start node will issue inclusion request at a higher interval value than the default 512 seconds. Range of 640..12672 seconds. Must be a multiple of 128.
uuid string This Information Type is used to advertise if a power constrained Smart Start node will issue inclusion request at a higher interval value than the default 512 seconds. Range of 640..12672 seconds. Must be a multiple of 128.
name string + This Information Type is used to advertise if a power constrained Smart Start node will issue inclusion request at a higher interval value than the default 512 seconds. Range of 640..12672 seconds. Must be a multiple of 128.
room string This Information Type is used to advertise if a power constrained Smart Start node will issue inclusion request at a higher interval value than the default 512 seconds. Range of 640..12672 seconds. Must be a multiple of 128.
securityModes array of strings This Information Type is used to advertise the Security keys to grant during S2 bootstrapping to a SmartStart node in the Provisioning List. If this Information Type is used the joining node MUST NOT be granted other keys than specified in Granted Keys at the next Security bootstrapping attempt following a SmartStart inclusion. This TLV MUST NOT be used if the joining node is included with classic inclusion and MUST be used only for SmartStart inclusions.
Possible values:
accessControl
authenticated
unauthenticated
s0
addingMode string + This Information Type is used to advertise the bootstrapping mode to use when including the node advertised in Provisioning List entry.
Possible values:
s2 – the node MUST manually be set to Learn Mode and follow the S2 bootstrapping instructions (if any).
smart – the node will be included and S2 bootstrapped automatically using the Smart Start functionality.
supportedAddingModes array of strings This Information Type is used to advertise possible bootstrapping modes to use when including the node advertised in Provisioning List entry.
Possible values:
s2 – the node MUST manually be set to Learn Mode and follow the S2 bootstrapping instructions (if any).
smart – the node will be included and S2 bootstrapped automatically using the Smart Start functionality.
Default value: [ “s2”, “smart” ]
Edit
Edit
Broadcast Description
hub.addons.zwave.nodes.provisioning.added New provisioning entry added
hub.addons.zwave.nodes.provisioning.updated Existing provisioning entry updated
Edit
Edit
				
					{
   "method": "hub.addons.zwave.nodes.provisioning.add",
   "id": "_ID_",
   "params": {
      "dsk": [ 58975, 37056, 29754, 11588, 18902, 12511, 34338, 34338 ],
      "product": {
          "manufacturer": 20,
          "type": 20,
          "id": 30,
          "version": 1,
          "subVersion": 0
      },
      "name": "test",
      "room": "none",
      "addingMode": "smart",
      "supportedAddingModes" : [ "s2", "smart" ]
   }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "method": "hub.addons.zwave.nodes.provisioning.add",
    "result": {}
}				
			
Edit
Code Message Data
-32600 Bad request,
-32602 Value is not in valid range
-32500 Entry limit reached