Home Automation using Ruby