Filter data with time condition

27 Jul 2022, 12:55

Hello , i have a question about filters , I want to know if I can add a time condition to the filter logic for example wait x ms before filtering the data , I tried that but it didn't work.
0_1658926488297_79937a93-4e51-4043-8db4-5acd0a95c2e3-image.png

28 Jul 2022, 13:18

@COCO @endel any help please ?

28 Jul 2022, 20:44

Hi! I think filter is a part of schema, it solve what to send not when to send.
please make your decision outside the schema if you can.

29 Jul 2022, 10:41

@coco thank you for your response , I want to filter the data according to the distance but if the distance condition is not true I still want to send the data but after 100 ms for example , it is possible to do that with the filter otherwise how can I add this condition time if the filter return false ?

29 Jul 2022, 22:10

How about using clock with room.brocast()?

29 Jul 2022, 22:39

@coco do you have an example please ?