A framework for developing Pervasive Awareness Systems in smart environments. (23rd May 2012)