Integrating a wired alarm to work with smartthings

An alternative method: