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
How can we help?
A premium WordPress theme with integrated Knowledge Base,
providing 24/7 community based support.