IQ Panel 4 not connecting to Smartthings hub as a secondary Z-wave controller

First, I created two virtual switches in SmartThings named Armed Stay and Armed Away. I used those for triggering any routines once they change state.

Then I created 3 notifications from alarm.com for each state (disarm, arm away, arm stay) and had them send an email to zapier with the private email name for each in the trigger (e.g. armedstay.{PRIV_EMAIL_CODE}@zapiermail.com).

Sadly, zapier itself doesn’t link with SmartThings. So, in the action you can either do one of two things:

  1. Create an IFTTT rule that listens to trigger@recipe.ifttt.com from your email to match the notification and have it trigger the virtual switch it relates to based off of a tag in the subject/body, and have zapier send the trigger email as the action from your email account that you registered with IFTTT.

  2. Go through the process of generating Access Tokens and use the graph.api endpoints for device control

I already had the IFTTT rules from a long time ago so I went the lazier route and used those.