Script to collect information hourly

I need to create a flow to collect information and store it every hour.
Example: hour1 (00:00:00 to 00:59:59) = 10
hour2 (01:00:00 to 01:59:59) = 20
...
hour24 (23:00:00 to 23:59:59) = 13
For each hour there will be a counter and at 23:59:59 I need all the counters to reset.
Could you help me create the script and tell me which node to create?

Thank you.

Hi & welcome to the forum.

You will find the people here are very helpful if you first show what you have tried and where you are stuck.

If you are brand new to node-red, I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

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