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