Proceedings of the 2nd international workshop on Middleware for sensor networks