(22.02.2017, 01:47)rocfusion Wrote:I tried this function and it's not working in the current version of Wiser - does anyone have a current working version of this function to check the local KNX TP link?(21.02.2017, 08:35)admin Wrote: Yes, via a resident script:
Code:if not client then
function statushandler(status)
if status == 0x00 then
-- KNX Connected
elseif status == 0xFF then
-- KNX Disconnected
end
end
client = require('localbus').new(1)
client:sethandler('status', statushandler)
end
client:step()
Thank you. I added the function into the group address status script. From before.
Tried in a resident script and scheduled script (I prefer scheduled script), anyway the statushandler() function never gets called.
Thank you!
Morkov
Morkov