31.08.2021, 06:36
Hi,
I tested it with Wiser for KNX with firmware 2.6.2 and it was working for me.
You have to use resident script with sleep time 0.
I tested it with Wiser for KNX with firmware 2.6.2 and it was working for me.
You have to use resident script with sleep time 0.
(30.08.2021, 20:27)morkovka Wrote:(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.
Best regards
forsterm
forsterm