Mobile Context Awareness

pp 115-131

A Scalable Sensor Middleware for Social End-User Programming

  • Salvador FariaAffiliated withMadeira Interactive Technologies Institute, University of Madeira Email author 
  • , Vassilis KostakosAffiliated withDepartment of Computer Science and Engineering, University of Oulu

* Final gross prices may vary according to local VAT.

Get Access


A substantial amount of research has focused on developing sensor middleware targeted at various research communities such as networking and context awareness. This chapter presents SAWA, a sensor middleware based on Sensor Andrew aimed at social end-user programming. SAWA is designed to collect, present, share, and act on sensor data. First, it allows novice users to deploy a multitude of both physical and virtual sensors and actuators (e.g. temperature, light, unread email count, friend’s status on Facebook, SMS, Tweet) and to aggregate this data in a central server. Users are able to access an online portal to visualize and explore their recorded data. In addition, they can request and share access to other users’ sensor streams. Finally, they can create actions that are driven by sensor data—both physical and virtual, and both their own or any of their friends’. In addition to describing SAWA’s architecture, this chapter presents case studies where this middleware was used. It is shown that in addition to being robust and scalable, SAWA opens up a series of new applications by allowing users to program sensors and actuators in a shared social environment.