Skip to content

Part 4. Your Personal Dashboard and Notifications

Elizabeth Adams edited this page Nov 29, 2018 · 8 revisions

trigger

"Triggers" are Initial State's version of notifications. They're super easy to add. As you can see in the GIF above, just click "Settings" underneath the Doorbell bucket, and then click on the "Triggers" tab.

You can select the signal you want to trigger off of from the dropdown list. Our bucket only has one - "Front Door" - so select that. Then pick the "Match" option and add the message you stream when your button is pressed - in this case "Someone is Here!"

Finally, add your phone number to receive SMS messages. You may need to enter a verification code sent to your phone the first time you use that number.

Make sure that you press the "+" sign next to your phone number or the trigger won't be created.

Click "Done" at the bottom of the Triggers tab to save your trigger.

Now you're ready to receive text alerts! Press your button (while the doorbell.js script is running). You should get a text in 8 seconds or less!

doorbelltext

Your silent doorbell is ready to go! If you want to make sure that your script restarts on a power outage, keep reading. I'll also go over adding emojis to your bucket and signal names!

<< Part 3: The Code - Bonus 1: Changing Signal and Bucket Names >>