@alwayscurious Type 1 diabetes? They have continuous blood glucose monitors that can track numbers from your phone. You can get an alarm if they drop below certain threshold.
Edit: might not be diabetes as hyperglycemia is more of the symptom seen before diagnosis. Still, a cbgm might be useful...