We conducted an in-home randomized trial to determine whether nocturnal hypoglycemia could be safely reduced by temporarily suspending pump insulin delivery when hypoglycemia was predicted by an algorithm based on continuous glucose monitoring ( CGM ) glucose levels .