Text this: A service oriented middleware for smart home and ambient assisted living