https://shadowscope.com/2017/03/12/how-to-get-into-home-automation-on-the-cheap/
How to get into Home Automation on the Cheap