Here is a LUA script I wrote which will go through all hubs and do a "getrobots" call on each of them, and then print the full UIM Address of any robot which has 127.0.0.1 listed as its IP. You could run this directly in the NAS script editor on the primary hub and it will print the list in the message window.
----------------------
local gethubs = nimbus.request("hub","gethubs")
if gethubs ~= nil then
for i,hub in pairs(gethubs.hublist) do
local getrobots = nimbus.request(hub.addr,"getrobots")
if getrobots ~= nil then
for j,robot in pairs(getrobots.robotlist) do
if tostring(robot.ip) == "127.0.0.1" then
print(tostring(robot.addr) .. " " .. tostring(robot.ip))
end
end
end
end
end
--------------------