Building a Home Automation System with Raspberry Pi and Sensors