evaluation of a closed-loop system for the treatment of type 2 diabetes at home (dt2_2)

Conditions: Diabetes Mellitus Type 2 - Insulin-Treated

Summary: the objective of this clinical trial is to study the feasibility of using a closed loop and its impact on glycemic control, in patients with type 2 diabetes (t2d) treated with insulin pumps.

t2d is a condition that combines insulin resistance and relative insulin deficiency. t2d naturally evolves into an increasingly marked insulin deficiency that leads to the need for pancreatic replacement, by administering insulin. type 1 diabetes (t1d) requires an integral and immediate substitution of pancreatic insulin secretion. artificial intelligence, through a self-learning algorithm, enables the automation and personalization of insulin delivery. these devices, called "closed loops" bring a real benefit for the patients included in the studies, by improving the glycemic balance, by reducing the number of hypo- and hyperglycemias but also by reducing the mental load associated with the disease, improving their quality of life. the objective of this clinical trial is to study the feasibility of using a closed loop and its impact on glycemic control, in patients with t2d treated with insulin pumps. a 13-week interventional, randomized, controlled, crossover, open-label, multicenter main study, followed by an optional, open-label, additional 4-week study is proposed to patients. main objective: study of the impact of the closed loop for 6 weeks, compared to 6 weeks in an open loop, on glycemic balance (evaluated by the time in range 70-180 mg/dl). secondary objectives: study of the impact of the closed loop for 6 weeks, compared to 6 weeks in an open loop, on: * glycemic balance (others parameters) * daily physical activity * quality of sleep * satisfaction with diabetes treatment * quality of life * treatment safety evaluation of the satisfaction of the use (usability) of the system at the end of the closed loop period.

Eligibility criteria:
inclusion criteria : * patient \> 18 years old * patient with a weight \< 150 kg * patient with type 2 diabetes (t2d) treated by insulin pump for at least 6 months * patient with stable pharmacological treatment of diabetes for at least 6 months * patient equipped with a cgm or flash glucose meter (fgm) * patient diagnosed with t2d by a diabetologist * patient treated with a total daily dose of insulin \< 160 u/24 h * patient with an hba1c \< 10%. * patient affiliated to the social security system or beneficiary of such a system * patient able to read and understand the procedure, and in a condition to express consent for the study protocol no inclusion criteria: * patient with type 1 diabetes * patient receiving less than 8 units of insulin per day * patients suffering from a serious illness or undergoing treatment that may affect the physiology of diabetes, i.e., interactions with glucose and/or insulin that may interfere with the medical device (e.g., steroid treatment) * patient with severe uncorrected hearing and/or visual acuity problems * patient not wishing to use rapid-acting insulin analog 100 u/ml * patient who has undergone pancreatectomy or whose pancreas is severely impaired * patients with severe renal impairment (clearance \< 30 ml/min) * patient with reduced sensation of hypoglycemia * patient with highly unstable diabetes * patient who received a pancreas or islet transplant * patient undergoing dialysis * critically ill patient * patient with neuropathy * patient with retinopathy * patient currently participating or having participated in the month prior to inclusion in another clinical interventional research study that may have an impact on the study, this impact is left to the discretion of the investigator * persons referred to in articles l1121-5 to l1121-8 of the csp: pregnant women, parturients, nursing mothers, persons deprived of liberty by judicial or administrative decision, persons under legal protection * subject who would receive more than 4500 euros in compensation due to his or her participation in other research involving the human person in the 12 months preceding this study