I couldn't find any examples.  Here is what I have so far.
1.  Go to https://ifttt.com/myrecipes/personal and create a new recipe
2.  For 'this' select the 'Maker' channel
3.  Choose the only trigger:  "Receive a web request"
4.  Name it "my_test"
5.  For 'that' select what you would like to have happen.  I picked email.
6.  Set it up.

Then on the Bone run:

#!/usr/bin/env node
var request = require('request');
var qs = require('querystring');
var event = 'my_test';
var key = XXXXX;
var string = {value1: 'My', value2: 'Test', value3: 'BeagleBone'};

var url = 'https://maker.ifttt.com/trigger/' + event + '/with/key/' + key + 
            '?' + qs.stringify(string);

console.log(url);

request(url, function (error, response, body) {
  if (!error && response.statusCode == 200) {
    console.log(body); 
  } else {
    console.log("error=" + error + " response=" + JSON.stringify(response));
  }
});

After a couple of minutes an email should show up in response to the script.  
You can pass three values.  They have to be named value1, value2 and value3.

I'm working on an example going the other way.

--Mark


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Jason Kridner
Sent: Friday, June 19, 2015 3:37 PM
To: [email protected]
Subject: Re: [beagleboard] Re: If This Then That BeagleBoard channel

On Fri, Jun 19, 2015 at 1:55 PM, Mark A. Yoder <[email protected]> wrote:
> Good question.  It appears IFTTT has just announced a new Maker channel[1].
> Looks like the Bone is supported.

It looks easy enough to use the Bone, but I don't see any straight-up Bone 
examples. Did I miss them?

>
> --Mark
>
>
> On Thursday, August 21, 2014 at 3:38:12 PM UTC-4, Mark A. Yoder wrote:
>>
>> I see littlbits[1] has an IF This Then That channel[2].  Is anyone 
>> working on a BeagleBone channel for ifttt?
>>
>> If you haven't looked at ifttt[3], check it out.  It's a slick way to 
>> interface to the Internet of Things.
>>
>> --Mark
>>
>> [1] http://littlebits.cc/
>> [2] https://ifttt.com/littlebits
>> [3] https://ifttt.com
>>
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google 
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google 
Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/lz8nzTfU-us/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to