Posts: 3
Threads: 2
Joined: Dec 2025
Reputation:
0
I am trying to send individual address KNX property write/read frames from a Lua event script on LM5 (IP Routing mode, KNX address 2.1.5). The script opens a UDP socket and sends a CONNECT_REQUEST . The CONNECT_RESPONSE always returns status 0x08 (which I assume is no more connections). This happens even after a reboot with no other clients connected. ETS connects successfully using NAT mode. Is it possible for a Lua script to connect to the LM's own tunnelling server, and if so what is the correct approach?
Posts: 8722
Threads: 48
Joined: Jun 2015
Reputation:
498
What exactly do you want to achieve?
Posts: 3
Threads: 2
Joined: Dec 2025
Reputation:
0
I need to send a KNX individual address property write frame from a Lua script to a DALI gateway at physical address 2.2.4. Specifically I need to write to object index 6, property 0xDA to trigger a post-installation scan, and then poll the same property by reading it back to check when the scan is complete. I also need to write to the same property with different data to flash individual DALI ballasts for identification purposes.
The grp.write API only supports group addresses so I am trying to use a UDP socket to connect to the LM's own KNXnet/IP tunnelling server on port 3671 and send raw cEMI frames. However the CONNECT_RESPONSE always returns status 0x08 regardless of whether any other clients are connected.
Is there a supported way to send individual address property write/read frames from Lua on the LM itself?
Posts: 8722
Threads: 48
Joined: Jun 2015
Reputation:
498
There's no Lua function to handle this. Can you post your code?