21.06.2016, 13:21
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