Integrating IoT Technology for Machine Monitoring and Control