That was pretty close to being Lucid actually, next time it happens just try to visualise being in a dream, seeing if you can make it happen. Also at the same time, concentrate on becoming lucid, repeat to yourself that you will go lucid.

Just a tip, it's best to wake up early, like you did. Preferably after 5 hours sleep.