|  Developer
Updated on November 16, 2021

get_all_nodes_ids()

  • Get list of Zigbee node ids included into network.
Edit

  • params: none.
  • return: list of Zigbee nodes ids.
Edit
				
					require "zigbee"

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