I get data sent every second via MQTT.
However, I only want to write this data to the database every 30 seconds, otherwise it will become too large.
Currently, the data comes in via MQTT, I write the SQL statement and then write this to the database.
How can I ensure that it is only triggered every 30 seconds? Unfortunately, I can't change anything about the MQTT push.
@Janaros, if you use a Delay node as suggested, and set it to Rate Limit for Each Message topic, and make sure all messages have the same topic, which I guess they will as they are coming from MQTT, then it will release the messages on the minute and half minute, which may be desirable for nice timestamps in the database. If you leave at the default of All Messages then they will not (generally) be on the minute/half minute.