How to log values after 15 minutes in database

I am using this flow to log values in database. I receiving data every 2 seconds but i want to log it after every 15 minutes. I tried many nodes but nothing worth it.
Your kind help is needed.

Am I understanding it correctly that you would like to buffer the incoming data and save it after 15 minutes of waiting? Or just save data every 15 minutes, regardless of how long it has been waiting for?
Take a look at the builtin delay and trigger nodes to see if they can do what you're looking for.

What exactly are you doing in each of the function nodes?

I just want to save data after every 15 minutes

I am getting data controller using mqtt node and that data is in JSON form. I decoded the JSON using its node and after that i used functions to write queries to insert it in database and connect it to database. Data is coming every 2 second and it is inserting it as well but i want to log it after every 15 minutes. I hope you get my point

Did you look at the Delay node as suggested? You can use it in Rate Limit mode with Drop Intermediate Messages. Then it will only let through messages every 15 minutes.

1 Like

Thank You. It works for me.