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.

grp.update()
#1
Hi all,

I wrote an event-base script, triggered by 1/1/1, to be executed only if even 1/1/2 is true.

group address/tag = 1/1/1 (trigger)


To avoid the script being retriggered during its execution I thought to use this code:

a = grp.getvalue(1/1/1)
b = grp.getvalue(1/1/2)

if (a and b) then
  grp.update('1/1/2', 0)
  ....
  ....actions
  ....
  grp.update('1/1/2', 1)
end

I have two questions:

1) is there a better way to avoid retriggering (i.e. enable/disable script)?

2) why I can see a telegram, on the ETS group monitor, in conjuction with each update instruction even if with grp.update() 
"no KNX/TP telegram is sent, only internal value is changed"?

Thanks
Reply


Messages In This Thread
grp.update() - by Kapudan - 31.08.2021, 13:37
RE: grp.update() - by admin - 31.08.2021, 14:05
RE: grp.update() - by Kapudan - 31.08.2021, 15:41
RE: grp.update() - by Daniel - 31.08.2021, 15:48

Forum Jump: