Home Automation based on Ruby