Home Automation and machine learning technology