Open source home automation

Home Assistant

Home Assistant is an open-source home automation platform running on Python 3. Track and control all devices at home and automate control. Perfect to run on a Raspberry Pi.

Hass.io turns your Raspberry Pi (or another device) into the ultimate  home automation hub powered by Home Assistant. With Hass.io you can focus on integrating your devices and writing automations.

Also:

Source: opensource.com