(09.12.2020, 09:28)admin Wrote: Add a third argument (true) to grp.listen to catch all messages. You also need to clear the timeout on each value update otherwise your function won't work correctly.
Code:$(function() { var timeout; grp.listen("33/1/255", function(object,state) { if (state == 'value') { console.log('Show message'); clearTimeout(timeout); timeout = setTimeout(function(){ console.log('Hide Messase'); }, 4500); } }, true); });
Ok Thanks!