21.02.2022, 13:44
You can send ping several times like this. You can also increase the sleep time between each device check from 0.5 to a higher value if needed.
You can get current date/time by calling os.date(). You can use this example to store events into a storage log: https://forum.logicmachine.net/showthread.php?tid=350
A separate scheduled script can send event log data to email once per day.
Code:
for i = 1, 3 do
result = knxlib.ping(dev.address)
if result then
break
else
os.sleep(1)
end
end
You can get current date/time by calling os.date(). You can use this example to store events into a storage log: https://forum.logicmachine.net/showthread.php?tid=350
A separate scheduled script can send event log data to email once per day.