22.02.2017, 01:47
(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.