This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

KNX/IP Disconnected
#8
(22.02.2017, 01:47)rocfusion Wrote:
(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.
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?

Tried in a resident script and scheduled script (I prefer scheduled script), anyway the statushandler() function never gets called.
Thank you!
Morkov
Reply


Messages In This Thread
KNX/IP Disconnected - by Angeles - 06.05.2016, 08:11
RE: KNX/IP Disconnected - by rocfusion - 21.02.2017, 08:26
RE: KNX/IP Disconnected - by admin - 21.02.2017, 08:35
RE: KNX/IP Disconnected - by rocfusion - 22.02.2017, 01:47
RE: KNX/IP Disconnected - by morkovka - 30.08.2021, 20:27
RE: KNX/IP Disconnected - by forsterm - 31.08.2021, 06:36
RE: KNX/IP Disconnected - by morkovka - 31.08.2021, 07:51
RE: KNX/IP Disconnected - by PassivPluss - 21.02.2017, 08:50
RE: KNX/IP Disconnected - by admin - 21.02.2017, 09:35
RE: KNX/IP Disconnected - by PassivPluss - 21.02.2017, 09:37
RE: KNX/IP Disconnected - by admin - 31.08.2021, 07:53
RE: KNX/IP Disconnected - by morkovka - 31.08.2021, 08:28
RE: KNX/IP Disconnected - by admin - 31.08.2021, 08:30
RE: KNX/IP Disconnected - by Hyxion14 - 01.10.2021, 06:27
RE: KNX/IP Disconnected - by admin - 01.10.2021, 06:47
RE: KNX/IP Disconnected - by Hyxion14 - 01.10.2021, 07:53
RE: KNX/IP Disconnected - by morkovka - 01.10.2021, 14:02
RE: KNX/IP Disconnected - by admin - 01.10.2021, 14:06
RE: KNX/IP Disconnected - by morkovka - 05.10.2021, 07:09
RE: KNX/IP Disconnected - by admin - 05.10.2021, 07:13
RE: KNX/IP Disconnected - by myg - 10.10.2021, 08:18
RE: KNX/IP Disconnected - by admin - 12.10.2021, 12:09
RE: KNX/IP Disconnected - by manos@dynamitec - 14.10.2022, 13:53
RE: KNX/IP Disconnected - by admin - 17.10.2022, 06:32
RE: KNX/IP Disconnected - by manos@dynamitec - 17.10.2022, 10:14
RE: KNX/IP Disconnected - by admin - 17.10.2022, 10:22
RE: KNX/IP Disconnected - by manos@dynamitec - 17.10.2022, 10:30

Forum Jump: