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.

Multiple Value true
#2
First use (for) and increment adress for knx (its better for script)

exemple :

--------------------------------------------------------
windows_number = 50

windows{}

For a = 0,Windows_number,1 do

windows[a] = grp.getvalue('0/0/'..tonumber(a))
os.sleep(0.2)

end

message = windows

if windows[1] == true then
message =message + ' 1'
end

if windows[2] == true then
message =message + ', 2'
end

if windows[32] == true then
message =message + ' ,32'
end

message = message + ' is open'

--------------------------------------------------------

then use mail function

Best regard

Give me the knx adress (alarme and all windows ) and i will write a script for you (whith mail )
Reply


Messages In This Thread
Multiple Value true - by Gadjoken - 24.01.2019, 14:20
RE: Multiple Value true - by demeur - 24.01.2019, 14:43
RE: Multiple Value true - by admin - 24.01.2019, 15:11
RE: Multiple Value true - by Daniel - 24.01.2019, 15:14
RE: Multiple Value true - by Gadjoken - 24.01.2019, 15:27
RE: Multiple Value true - by Gadjoken - 25.01.2019, 08:40
RE: Multiple Value true - by admin - 25.01.2019, 08:58
RE: Multiple Value true - by Gadjoken - 25.01.2019, 09:19

Forum Jump: