Smart Home Primer How-to:

Twitter Facebook Google+

Pages

  • Home
  • About
  • Posts
  • How-to
  • Contact

If you’ve never heard of Stringify, we’re honored to introduce you to it. Similar to IFTTT, Stringify allows you to connect disparate devices in the cloud for free. For example, your Wink Hub might support Ecobee 3, but not in a way that allows you to do everything that you want. This is one way Stringify in particular can help. Don’t misunderstand us, we like IFTTT and find there’s great value in their partnerships, especially the one they announced with Stringify on January 13, 2017. We’ll get into that in a follow-up post, because it’s advanced and requires you have a good understanding of both Stringify and IFTTT to get results. Be sure to read our post "How-to: Connect Smart Home Devices with IFTTT" in preparation.

Before we start, you’ll need to download Stringify from either the Apple App Store or Google Play Store on your smart device. Currently, there is no iPad specific version, but you can still use it on iPad in so called “Universal App” mode where everything is scaled to fit the larger format. Be sure to select “iPhone Only” when searching the iOS App Store for Stringify from an iPad.

Put security first

This app and the associated services in the cloud will be able to control devices around your home and send notifications to your smart devices, so we recommend you review our How-to: on using password managers with Smart Home devices

Your first flow

For most of this article we’re going to refer you back to Stringify Knowledge base documents with links throughout this article, because they are well written. However, many people still struggle with creating their own flows in Stringify when getting started, so the purpose of this article is to reinforce some important basics you’ll need to know.

Start with a basic flow to get a feel for how Stringify works. This first will be similar to what can be done with IFTTT, but once you understand how to add “Things” to your canvas, how to connect them and complete your flow, we’ll get fancy and you'll quickly see how powerful Stringify is. In this example, an email will automatically be sent to your partner anytime you're home early from work.

The good part

Now that you understand how to build and connect a basic flow by following the links above, lets get more advanced by adding an “ONLY IF” trigger to a flow. This is something that IFTTT cannot do alone.

“Things” you’ll need

Start by adding Location, Date & Time and the Gmail “Thing” to your canvas.


Now configure the Date & Time “Thing” to start on today’s date, the time should be set to 5:00 PM or whatever time would be considered early for you to be home, and it should repeat Every Day.

Set the location to “ONLY IF” I’m at a location. We suggest within 1000ft for best accuracy.
Configure triggers or actions

Tap the Gmail “Thing” and set your partner as the recipient, with the subject “I’m home early”. It’s necessary to also enter something into the body. If your partner has a good sense of humor, try “What’s for dinner?”, but use with caution as your milage with that phrasing may vary.


Putting it all together

Now connect the “Things" together. First drag Date & Time to Gmail.

This will create a quick link between them showing they have a relationship.

It’s a common error to next want to drag the “ONLY IF” trigger to the Gmail “Thing” as in this example. But as you can see, this tries create a second relationship with Gmail and that will result in a red quick link and an error when you attempt “Enable Flow”.

Flows can contain only one “WHEN” trigger, but may contain unlimited “ONLY IF” triggers as explained in the Stringify KB here.

Your goal is that the Location “Thing” should interact on the relationship between Date & Time and Gmail. So WHEN the TIME EVERYDAY is 5:00 PM, ONLY IF I’m at a location should the flow continue and send the email to the recipient I have specified in the Gmail “Thing”

To make that happen, you must drag the Location “Thing”, not to the Gmail “Thing”, but to the Quick Link that defines the relationship between Date & Time and Gmail.

Your flow should look like the image below and the lines will change from dashed to solid then the flow is enabled.

 

Congratulations, you've built your first Stringify Flow! Stringify runs in the cloud, so there's no need to have the app running in the background on your device.

Have a comment or question? Please gives us your feedback in the comments sections and do join us in the discussion on Twitter @smarthomeprimer where you'll find us posting about the latest news in IoT and smart home innovations.
Tweet
Share
Share
1 comments
IFTTT is an acronym for If This Then That, and is one of the most popular services in consumer Smart Home and IoT. When it started out, the services IFTTT connected had nothing to do with either of those things, but it didn’t take long for manufacturers and developers to add support for this popular cloud-based service which links together other cloud-based services in a chain of Triggers and Actions.

In it’s simplest form, IFTTT asks one simple question and gives one simple answer.

If THIS happens, then THAT should be the result. An example might be two IoT devices, the first device in the string is the trigger and the second is the action or in other words, if THIS smart home sensor detects motion, then THAT smart bulb should turn on. This is only an example to illustrate a possibility, and typically you wouldn’t connect a sensor and smart bulb in this manor because the delay and reliability of such a connection is not practical today.


Many consumer Smart Home manufacturers now support IFTTT, and even use it as a selling point to make their devices more attractive to buyers. Rather than having to work inside the parameters of the various Application Program Interfaces or APIs from different manufacturers, each company can create an IFTTT service that can be connected to another IFTTT service to automate an action. The capability of each trigger and action is based on what the manufacturers decide is possible or are willing to make available.


IFTTT connects disparate devices that might not otherwise work together, but its limitations are reached very quickly. It’s not possible to have additional AND statements or ONLY IF conditions to create complex logic flows. To answers this need, a cloud service named Stringify was created. See our post here for a discussion on what Stringify is and how to create a basic flow. To our great delight, Stringify and IFTTT acted on our advice to form a partnership with support for nearly all the major smart home hubs and devices. Together, Stringify and IFTTT have formed a powerful alliance to connect otherwise disparate devices in your smart home. Like IFTTT, Stringify operates from the cloud, so there is no need to have an app running all the time.

Building an IFTTT Applet is easy

Before we start, you’ll need to create an IFTTT account. Although it’s possible to use the app, we recommend you use the web interface from a laptop or desktop the first time as it’s easier to explore the available services and get an understanding of how to configure Triggers and Actions.

Put security first

IFTTT and the associated services in the cloud will be able to control devices around your home and send notifications to your smart devices, so we recommend you review our post, How-to: Put Security First in Smart Home

Your First Applet

Once you are signed into your account, select “Search” in the upper-left of the IFTTT home page. This will allow you to browse by device type or you can type the manufacture of your smart device in the search box to see if it’s supported by IFTTT.

In our example, you will create an IFTTT Applet that sends a notification to your partner any time you arrive at, or leave work. For this to happen, you will need to also download IFTTT for your iOS or Android device.

Linking services

Continue to build the IFTTT Applet using a web browser on your laptop or desktop. Select “My Applets” in the upper-left, then click the “New Applet” button on the right of the page.


Click the word THIS and type “location” in the search box that follows, and then click on the blue “Location” box. Click “Connect”. Initially, this will connect your location of your laptop or desktop, but once you build the Applet and sign-in from you iOS or Android device, it will use that device location as the trigger, without the need to have the app running.
Now click, the blue box that says “You enter or exit an area” and then specify the address for the location to monitor. Use + to narrow the monitored and - to select a wider area. Lastly, click the “Create Trigger” button.



Next, click on THAT and type “gmail” in the search box that follows, and then click on the Gmail icon. Click the dark blue box that says “Send an email” and then enter your partner's email address in the “To address” field and then click the “Create Action” button.
Decide if you want a notification on your phone whenever this applet runs. If you don’t want to a push notification on your phone when the applet runs, then click on the switch to turn them off. Click the “Finish” button. Applets may be turned off anytime you don’t want them to run. Notifications can be very helpful in troubleshooting an Applet that isn't working as you expected, or if for example, your IFTTT Applet enables your home security system, you may wish to be notified when that Applet has successfully run.

Congratulations, you've built your first IFTTT Applet! IFTTT runs in the cloud, so there's no need to have the app running in the background on your device.

Have a comment or question? Please gives us your feedback in the comments sections and do join us in the discussion on Twitter @smarthomeprimer where you'll find us posting about the latest news in IoT and smart home innovations.
Tweet
Share
Share
No comments
Older Posts

About Us


About Smart Home Primer


We help big brands with the big responsibility to get it right.

Follow Us

  • Twitter
  • Facebook
  • Google+

recent posts

Previous Posts

  • ▼  2017 (3)
    • ▼  February (3)
      • How-to: Build Stringify Flows
      • How-to: Connect Smart Home Devices with IFTTT
      • How-to: Put Security First in Smart Home
  • ►  2016 (2)
    • ►  February (1)
    • ►  January (1)
HOME

© Smart Home Primer 2017 - All Rights Reserved