It depends on whether your definition of "sensory input" and "acting on a plan" already require the concept of being conscious. Functionalists have definitions of those concepts which are just about relations of causality (sensory input = something outside the nervous system affects something inside the nervous system) and isomorphism (plan = combinatorial structure in nervous system with limited isomorphism to possible future world-states). And the point of the original question is that when you know you're awake, it's not because you know that your nervous system currently contains a combinatorial structure possessing certain isomorphisms to the world, that stands in an appropriate causal relation to the actions of your body. In fact, that is something that you deduce from (1) knowing that you are awake (2) having a functionalist theory of consciousness.
So, when you are awake (or "conscious"), how do you know that you are conscious?
When awake you are not necessarily transitively conscious of it - I think usually we are but there are times when we 'zone out' and only have first order thoughts.
I encounter many intelligent people (not usually LWers, though) who say that despite our recent scientific advances, human consciousness remains a mystery and currently intractable to science. This is wrong. Empirically distinguishable theories of consciousness have been around for at least 15 years, and the data are beginning to favor some theories over others. For a recent example, see this August 2011 article from Lau & Rosenthal in Trends in Cognitive Sciences, one of my favorite journals. (Review articles, yay!)
Abstract: