Prior to taking the armodafinil/provigil, I was falling asleep behind the wheel, even got into 2 car accidents. That is when the dr said I am part of the lucky 3 % who are not magically cured by the CPAP and who are diagnosed with "Residual Sleepiness" which sounds like a cop out.. but it is what it is. I do get around 8 hours of sleep each night, but rarely is it uninterrupted. I have had trouble sleeping for years, as I have depression/anxiety. No, I do not use software to monitor my sleep, I'll look at it though.
My A1C is 6.1. Currently, I am not taking any diabetes meds or insulin b/c I've been having very significant lows quite often. Since I've moved, my dr said she wouldn't help me any longer (she was a PA @ a PCP office) and I needed to find a endo. I tried to tell her that wouldn't happen for quite some time considering the move... but she refused to help me. So, I had to stop all of my meds I was on. She had me on 3 diabetes meds (Januvia, Metformin, and one more I can't remember right now....). I have a continuous blood glucose monitor though and my sugars are generally normal, around 100, unless I eat something no bueno or I don't eat at all.
Coffee does not really impact me anymore, never really did TBH. I tend to go to bed around 9:30pm-11pm and get up around 6am-6:45am, even on weekends the habits don't change much. But as I said, I have a lot of trouble remaining asleep. I tend to wake up at least once a night, sometimes twice. I fall back to sleep eventually (most of the time).
Also note, I was tested for narcolepsy, they said I didn't have that. And they retested me with my CPAP and said it was "effective" but it just wasn't helping me as it should due to the residual sleepiness. Just. My. Luck.