[ANSWERED]IFTTT Recipes

Posted on
Thu Dec 12, 2013 5:07 pm
rsalermo offline
Posts: 1
Joined: Sep 07, 2013

[ANSWERED]IFTTT Recipes

Hi,

Any ideas if Indigo supports or plans to support IFTTT recipes? IFTTT announced that they now support recipes that are location based and/or geofencing. It would be great to have the lights turn on for my wife when you arrives home automatically.

I see that Philips and Belkin (WeMo) already support it.

Thanks,
Roberto

Posted on
Thu Dec 12, 2013 5:17 pm
Seeker offline
Posts: 440
Joined: Aug 05, 2013

Re: IFTTT Recipes

I know the vera people submitted multiple requests but never got a reply. it seems like IFTTT is pretty picky or strategic in what they approve.

There could be workarounds using email triggers?

Posted on
Thu Dec 12, 2013 5:38 pm
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

Re: IFTTT Recipes

We found the same - we requested information about how to get added to IFTTT and never heard back to any of our requests.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Dec 12, 2013 5:52 pm
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: IFTTT Recipes

I use IFTTT for a few things and would like to put it to use with Indigo as we'll if it ever gets approved.

Posted on
Thu Dec 12, 2013 7:40 pm
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: IFTTT Recipes

I just got an update to IFTTT that now supports iOS location based triggers.

Posted on
Tue Jan 21, 2014 12:30 pm
mundmc offline
User avatar
Posts: 1060
Joined: Sep 14, 2012

Re: IFTTT Recipes

I'm looking into this right now...

The two options readily apparent:

1) Use the IFTT SMS service and Google Voice SMS http://www.perceptiveautomation.com/userforum/viewtopic.php?f=11&t=7438
Pro: you can use the plugin to scan for specific text lines
Con: you cannot take the text from the SMS and put into a variable without re-coding the plugin

2) As mentioned, write a custom Applescript to scan mail and insert text into a variable, then take actions based o the variable

If there is anything that uses RESTful functions available from IFTTT for end-users, this would be my go to

Posted on
Wed Feb 19, 2014 1:17 am
mundmc offline
User avatar
Posts: 1060
Joined: Sep 14, 2012

Re: IFTTT Recipes

New idea to integrate IFTTT with Indigo: Reminders and icloud

Right now i'm using Notes to issue commands to my Indigo, with an applescript program running on the host mac that checks for a keyword at the start of each note; it then puts the note in an Indigo variable and parses it in python.

For IFTTT, which doesn't use Notes, a similar reader script can be written.
Sooooo....
1) IFTTT trigger creates a reminder
2) Applescript on host mac detects new reminder and pushes to Indigo

I will post the code snippet when I get it working, but it will probably be something like my Notes script here: viewtopic.php?f=9&t=11548

Posted on
Sat Feb 22, 2014 7:17 am
mundmc offline
User avatar
Posts: 1060
Joined: Sep 14, 2012

Re: IFTTT Recipes

Okay, this appears to allow IFTTT to communicate with Indigo, but i requires Reminders via iCloud:

1) make sure your Reminders are synced via icloud between
2) Make a Reminders folder titled "Indigo"
3) For the "THEN" action, create a note in folder "Indigo"
4) Make a variable in Indigo called "reminder_input"
4) Export this applescript as an application, check the "keep running" box (or whatever it is)
Code: Select all
on idle
   
   tell application "Reminders"
      
      set myList to "Indigo"
      if (count of (reminders in list myList whose completed is false)) > 0 then
         set todoList to reminders in list myList whose completed is false
         repeat with itemNum from 1 to (count of (reminders in list myList whose completed is false))
            set reminderObj to item itemNum of todoList
            set nameObj to name of reminderObj
            set completed of reminderObj to true
            tell application "Indigo 6"
               set the variable "reminder_input" to nameObj as string
            end tell
         end repeat
      end if
      
   end tell
   
   return 1
end idle


Now, reminders created through Indigo will be checked, marked as completed, and passed into an Indigo variable, where you can do with them as you please.

Posted on
Fri Mar 28, 2014 4:53 am
Seeker offline
Posts: 440
Joined: Aug 05, 2013

Re: [ANSWERED]IFTTT Recipes

I found this on the homeseer board.

http://board.homeseer.com/showthread.php?t=166058

It uses dropbox as a proxy to ifttt? Macgyver-like but interesting.

Posted on
Tue Dec 30, 2014 12:26 pm
rlust offline
Posts: 93
Joined: Jan 12, 2009
Location: Ohio

Re: [ANSWERED]IFTTT Recipes

Any update on getting IFTTT recipes ??
This could be helpful!

Posted on
Sat Feb 21, 2015 7:09 pm
edrabbit offline
User avatar
Posts: 39
Joined: Apr 09, 2014

Re: [ANSWERED]IFTTT Recipes

Yeah, would love a more direct way to tie IFTTT to Indigo.

Posted on
Wed Feb 25, 2015 7:02 am
rlust offline
Posts: 93
Joined: Jan 12, 2009
Location: Ohio

Re: [ANSWERED]IFTTT Recipes

The above applescript has a error when compiled.
Any ideas on a fix?

set the variable "reminder_input" to nameObj as string

A "" canot go after this identifier.

Posted on
Thu Feb 26, 2015 8:58 am
matt (support) offline
Site Admin
User avatar
Posts: 21416
Joined: Jan 27, 2003
Location: Texas

Re: [ANSWERED]IFTTT Recipes

This line:

Code: Select all
            tell application "Indigo 6"

should be:

Code: Select all
            tell application "IndigoServer"

And this line:

Code: Select all
                set the variable "reminder_input" to nameObj as string

should be:

Code: Select all
                set value of  variable "reminder_input" to nameObj as string

Image

Posted on
Fri Mar 27, 2015 1:41 pm
mabrown offline
User avatar
Posts: 39
Joined: Dec 08, 2012

Re: [ANSWERED]IFTTT Recipes

When running this I'm getting an error from the application saying:
IndigoServer got an error: Application isn’t running. (-600)

I've checked Activity Monitor and IndigoServer is running and everything else is working just fine. Any ideas?

Posted on
Thu Apr 09, 2015 7:46 am
rvarela offline
Posts: 81
Joined: Oct 16, 2012

Re: [ANSWERED]IFTTT Recipes

Also happened to me once. I reinstalled Indigo and all went fine about "Indigo Server" error

Who is online

Users browsing this forum: No registered users and 2 guests