Add a time delay to control the data flow, the program write in an appropriate MQTT 'topic'