home-assistant.io
Home Assistant is an open source home automation platform that runs on local hardware such as a Raspberry Pi or a local server and emphasizes local control and privacy. It integrates with over a thousand devices and services and includes an automation engine for responding to events like sunset or a garage door being left open.