Yeah, it seems like you were "semi-lucid". The term basically means that you were vaguely aware that you were dreaming, but not quite conscious enough to realize it fully.