18.11.2023, 14:28
(18.11.2023, 10:46)Erwin van der Zwart Wrote: There are several ways to do that..
When the devices are on TP you could use knxlib.ping('1.1.1')
Another option when you also need to check devices on IP is to have on each device at least 1 object with the read flag enabled and set to a grp address where it’s the only object that can respond on a read request and use grp.readvalue('1/1/1'), when you get a response you know the device is online.
A 3th option is to let each device send to a grp address cyclically and monitor the timestamp of that object. When the timestamp updates are stopping your devices is offline. This is the least prevered method as it increases the traffic a bit.
Thank you so much for this info.
I am very new to scripting in LM.
Is there any chance you can make a example script for me that i can use as a template, option 1, TP knxlib.ping?
Skickat från min iPhone med Tapatalk