Send MQTT message every 5 seconds instead of every second.