Logic Machine Forum
KNX lib functions and IP routing - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: KNX lib functions and IP routing (/showthread.php?tid=5681)



KNX lib functions and IP routing - avolle - 17.10.2024

In scripting, you can use built in functions like `knxlib.ping` and `knxlib.restart`to reach individual addresses in the KNX system. That works like a charm when LM is setup as KNX TP-UART. Is there some setting that enable those functions to reach the devices when LM is setup as IP-routing? Coincidentally the projects where I use LM as IP-routing are projects where I also use KNX IP routers. Maybe the issue is reaching the devices when using IP routers and not because the LM is setup as IP routing.

Any ideas?

Reason I posted in gateway section, is while the issue relates to scripting, the script does its job properly. It just doesn't reach the KNX devices on the other end, so it seems more like a gateway thing. Apoligies if mis-posted.


RE: KNX lib functions and IP routing - Daniel - 18.10.2024

This works only for devices connected directly to LM TP


RE: KNX lib functions and IP routing - Daniel - 18.10.2024

Actually, after thinking about it, it might work if you enable: Pass ind. telegrams via IP Routing
Not tested and remember ping need its time so do it slowly.


RE: KNX lib functions and IP routing - avolle - 21.10.2024

Can confirm this works, Daniel. Thank you so much.