05.11.2025, 08:06
Create a single scheduled script and modify addrs table as needed. Left side (key) is individual address, right side (value) is status group address.
Run the script as often as you need to check the devices.
There's no difference between os.sleep and sleep, it's the same function.
Code:
addrs = {
['1.1.1'] = '32/1/1',
['1.1.2'] = '32/1/2',
['1.1.3'] = '32/1/3',
}
for ia, ga in pairs(addrs) do
res = buslib.ping(ia)
grp.checkupdate(ga, not res)
os.sleep(1)
endRun the script as often as you need to check the devices.
There's no difference between os.sleep and sleep, it's the same function.