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/TP link scripting
#6
Try removing all leading spaces like this:
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()
Reply


Messages In This Thread
KNX/TP link scripting - by DarthPaul - 27.03.2017, 13:11
RE: KNX/TP link scripting - by admin - 27.03.2017, 13:49
RE: KNX/TP link scripting - by DarthPaul - 28.03.2017, 05:22
RE: KNX/TP link scripting - by admin - 28.03.2017, 06:00
RE: KNX/TP link scripting - by DarthPaul - 28.03.2017, 06:46
RE: KNX/TP link scripting - by admin - 28.03.2017, 08:31
RE: KNX/TP link scripting - by DarthPaul - 28.03.2017, 09:32
RE: KNX/TP link scripting - by admin - 28.03.2017, 09:50
RE: KNX/TP link scripting - by DarthPaul - 28.03.2017, 10:54
RE: KNX/TP link scripting - by admin - 28.03.2017, 10:57
RE: KNX/TP link scripting - by DarthPaul - 28.03.2017, 11:38

Forum Jump: