Indoor cam pan&tilt integration

Is there any way to integrate Indoor cam pan&tilt with google home or ifttt to automate camera mode (away/in house/etc)?