Skip to content

Part 3. Triggering an Alert on a Press

Rachel edited this page Jan 10, 2017 · 8 revisions

screen shot 2016-12-29 at 2 00 52 pm

Now that we can trigger a command line message when we press the Dash button, we can trigger all sorts of other things! In this case I'm going to trigger a text message - we don't want whoever's at the door to be waiting until we check our email.

There are a couple of ways to trigger a text notification - services like Twilio or PushBullet. One of the easiest ways I found was through Initial State. It required minimal extra coding and provided me with a dashboard view of when my button had been pressed.

Note: Most, if not all, SMS services require some sort of payment. Initial State bundles SMS notifications into their Pro Tier.

<< Part 2: Finding the Button's Address - Part 3: Initial State >>