|  Developer
Updated on March 28, 2023

get_all_nodes_ids()

  • Get list of ZWave node ids included into network.
Edit
  • params: none.
  • return: list of ZWave nodes.
Edit
				
					require "zwave"

local node_ids = zwave.get_all_nodes_ids()
for _, node_id in ipairs(node_ids) do
    local node = zwave.get_node( node_id )
    if node then
        print( "node.is_reachable: " .. node.isReachable )
    end
end