How to collect the newest data in every 15 mins

i am Note-red beginner. i was watching a lot of video to find out how to collect the newest data in every 15 mins. The background is i want to create the database that data sends to database in every 15 mins which need to be the newest data.

Hi. Welcome to the forum.

Difficult to offer precise help when you provide so little detail, but something like this is one approach...

Store your data in flow or global context. (See nodered documentation)

Use an inject or Cron node set to fire every 15m. Retrieve values from context. Make a SQL INSERT, send to database.

1 Like


Thanks bro. it is my flow chart. i want collect the newest data in every 15 mins.

And this is what i said in pictures :slight_smile:

See here for info on context

1 Like

Thanks bro. u help me a lot.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.