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