@djh #T1D myself. Of course, and of course this one is a system built from multiple parts with no certification. I actually considered setting up such a system for myself a few years back. It's the uncommon cases that made me back off.
I don't see it as a software problem, feedback loops are the easy bit. The hard parts are input signal - determining blood sugar levels over time and output - delivering insulin. I have difficulty with both. /...
@djh /...
Delivery sometimes clogs up - same amount of insulin starts doing much less. And the latest generation of sensors is actually accurate enough for me to depend on them - except for the first few hours. OSS can't fix these component issues, neither can systems engineering. With a more suitable infusion set (one intended for kids) and a current sensor this works well enough, and I'm on a closed loop system now.
../