KNX connection statuss and device check - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: KNX connection statuss and device check (/showthread.php?tid=1959) |
KNX connection statuss and device check - AlexLV - 11.03.2019 Hi, at Russian FB page found some interesting scripts, I think can be useful, not seen here.. 1. KNX connection status: Code: if not client then 2. KNX device check, if any lost, automatically message can be sent (with russian comments, I added english translation): Code: -- Таблица адресов, которые нужно проверять на доступность на шине But please check second script, approx. every day I see in my log that some devices are offline, but they are different.. Looks a little strange for me.. But all works. May be something should be improved in script. Alex RE: KNX connection statuss and device check - Daniel - 12.03.2019 Hi I would add some delay in the second script in for loop. During ping quite a lot of telegrams is sent so it is better to do it one by one slowly. Thanks for sharing. BR |