hooking up scheduler to find if devices are on or not.