Hii all. I hoped someone could help with a noob with the following requirements. I am a CPAP user with sleep apnea. Because I’m exhausted in the evening, I sometimes pass out before remembering to put on my CPAP, which just makes things worse the next day. I was hoping to design a system that would alert me by a certain time, for example 11pm, if I don’t have the machine on. I could then wake up and put it on and go to sleep again.

The machine itself doesn’t seem to expose any hooks that would allow this to happen. However, if I could monitor the current from some kind of smart plug and then add some simple logic (if current to CPAP plug = 0 and time = 11pm), then I could create an alarm in my phone to get me up.

I’m tech savvy and can do programming, but I don’t have much experience with home automation systems. Can anyone suggest a path forward?