Collect, Index, Analyze: Building a Home Automation and Sensor System