31.12.2022, 08:21
You could use a string object, but i would use 3 byte objects 1.2.3 and fetch the entered values with script to avoid invalid user input.
Limit the input values to the KNX standard on the start and middle object value in the object parameters.
Limit the input values to the KNX standard on the start and middle object value in the object parameters.
Code:
start = grp.getvalue('1/1/1')
middle = grp.getvalue('1/1/2')
ending = grp.getvalue('1/1/3')
dev = start .. '.' .. middle .. '.' .. ending
knxlib.ping(dev)