Sheil Naik shows how you can use a Raspberry Pi and the open-source software Home Assistant to securely observe, control, and automate components in your smart home.
More information at https://www.home-assistant.io/
My Home Assistant configuration: https://github.com/sheilnaik/home-assistant