Wouldn’t it be easier to just train a camera with continuous recording at your bed?
Then correlate the time you woke up in your sleep log with the camera footage.