IoT Machine Uptime Using Contact Closure Input