Text this: Machine learning for human activity detection in smart homes