If This Then That BeagleBoard channel

132 views
Skip to first unread message

Mark A. Yoder

unread,
Aug 21, 2014, 3:38:12 PM8/21/14
to beagl...@googlegroups.com
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



Mark A. Yoder

unread,
Jun 19, 2015, 1:55:34 PM6/19/15
to beagl...@googlegroups.com
Good question.  It appears IFTTT has just announced a new Maker channel[1].  Looks like the Bone is supported.

--Mark

Jason Kridner

unread,
Jun 19, 2015, 3:36:47 PM6/19/15
to beagl...@googlegroups.com
On Fri, Jun 19, 2015 at 1:55 PM, Mark A. Yoder <mark.a...@gmail.com> 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 beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Yoder, Mark A

unread,
Jun 19, 2015, 3:59:05 PM6/19/15
to beagl...@googlegroups.com
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
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 beagleboard...@googlegroups.com.

Mark A. Yoder

unread,
Jun 22, 2015, 9:29:32 AM6/22/15
to beagl...@googlegroups.com
I just posted a recipe on ifttt:  https://ifttt.com/recipes/301640-beaglebone-test

It  points to my code of github.  send.js sends an event to ifttt and receive.js is a simple server that ifttt accesses when the even occurs.

--Mark

On Thursday, August 21, 2014 at 3:38:12 PM UTC-4, Mark A. Yoder wrote:
Reply all
Reply to author
Forward
0 new messages