This below graphic shows various input possibilities for Home Automation Let me know if I am missing something here.