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.

reed and updates on no change
#3
I think you should only send update if previous value was different, like this:
Code:
addr = '4/4/6'
value = event.getvalue() > 1

if grp.getvalue(addr) ~= value then
  grp.update(addr, value)
end
Reply


Messages In This Thread
RE: reed and updates on no change - by admin - 21.06.2016, 13:21

Forum Jump: