# MQTT read every x topics?

**URL:** https://discourse.nodered.org/t/mqtt-read-every-x-topics/26558
**Category:** General
**Created:** [12 May 2020 22:01 UTC](https://discourse.nodered.org/t/mqtt-read-every-x-topics/26558 "2020-05-12T22:01:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![droidblast](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@droidblast](https://discourse.nodered.org/u/droidblast)
#### Post date: [12 May 2020 22:01 UTC](https://discourse.nodered.org/t/mqtt-read-every-x-topics/26558/1 "2020-05-12T22:01:21Z")

</div>

Build up a ESP32 to read my power with a CT clamp from code off Github. It measures power reading every sec. Building a flow with Node Red but rather than read every 1 sec topic how can I read only say every 1hr, 12hrs and 24hrs? I been able to work out how to do this from the ESP. Any advice would be appreciated.

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [13 May 2020 05:39 UTC](https://discourse.nodered.org/t/mqtt-read-every-x-topics/26558/2 "2020-05-13T05:39:21Z")

</div>

Use a delay node, set it to 'rate limit' and check the 'drop immediate messages'.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 July 2020 05:39 UTC](https://discourse.nodered.org/t/mqtt-read-every-x-topics/26558/3 "2020-07-12T05:39:24Z")

</div>

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