How can I have my Aeron Siren give a short beep when a door is opened or closed?

This page explains how to use custom SmartApps and Device Handlers: