Website: https://www.home-assistant.io/
Source Code: https://github.com/home-assistant
"Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server."