get_provisioning_info()
- Get a ZWave node provisioning info by a node_id. (node_id is a part of data coming to a script subscribed for ZWave events)
Edit
- params: node id (number).
- return: ZWave provisioning info (table). Look at objects page to get a provisioning info table format.
Edit
require "zwave"
local provisioning = zwave.get_provisioning_info( node_id )
if provisioning then
print( "provisioning.room: " .. provisioning.room )
end