Designing Highly Available Repositories for Heterogeneous Sensor Data in Open Home Automation Systems