|  Developer
Updated on March 28, 2023

has_node()

  • Checks if ZWave node with a node_id exists in network
Edit
  • params: node id (number).
  • return: bool
Edit
				
					require "zwave"

local has_node = zwave.has_node( node_id )
if not has_node then
    print( "There is no node found with node_id: " .. node_id )
end