Efficient activity recognition in smart homes using delayed fuzzy temporal windows on binary sensors