Automatic, IFTTT, and Smartthings

  • 3
  • Idea
  • Updated 1 year ago
  • Under Consideration
  • (Edited)
I just bought Links for my wife's and my cars. One of the features I was hoping for was the ability to control the door locks of the house by turning on/off the ignition through IFTTT and Smartthings. It works, but much too slow, taking over a minute for Smartthings to receive the trigger from IFTTT. This is the scenario of what is currently happening: Wife arrives home, gets out of car, unlocks door using passcode and enters house, locking door behind her. A minute later, Smartthings receives the trigger from IFTTT and unlocks the door. I have a Kwikset Z-Wave Deadbolt and Smartthings.The IFTTT recipe is "If ignition turned off in area, then unlock Rear Door" The area is home address. I think this feature would work fine if Automatic was working directly through Smartthings. Thanks

Scenario: Wife Arrives Home and turns off ignition
End Time: 2015-01-15 6:32 PM ( From Automatic Log)
From Smartthings Log:
6:35 PM Rear Door Lock Is Locked
6:34 PM Rear Door Lock Is Unlocked
6:34 PM IFTTT Sent Unlock Command To Rear Door
6:33 PM Rear Door Lock Is Locked
6:33 PM Rear Door Was Unlocked With Code 1
Photo of Billcoff

Billcoff

  • 152 Points 100 badge 2x thumb

Posted 4 years ago

  • 3
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
Hi Bill! Welcome to the community and sorry that you and your wife are experiencing some issues with IFTTT and Smartthings. In order to look into your wife's account in further detail, we ask that she write in to us directly from the email address tied to her account. You can reach our tech support team directly by emailing help@automatic.com

It would also be helpful if she included a link to the IFTTT recipe that she's using (it might be this one) and the date and approximate time that the recipe was triggered. 

I'll also pass along your request for directly integrating with Smartthings. We recommend that you express your support and interest for a direct integration by contacting Smarthings as well :)
(Edited)
Photo of Billcoff

Billcoff

  • 152 Points 100 badge 2x thumb
Hi Tom,

Thanks for the quick reply. I'll follow up directly and also report this issue to Smartthings. Both our links are on my account and the app is on both iPhones under my account. 
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
Thanks for the additional info, Bill. I've made note of this on the ticket you submitted. Tech support will follow up with you as soon as possible.
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
One last thing! I'm going to change this topic from a problem to an idea so we can keep track of your request to directly integrate with Smartthings.
(Edited)
Photo of Nate

Nate

  • 60 Points
@Tom I have a similar issue that Bill does.  I use the IFTTT integration to tell my Scout Alarm to disarm when I turn off the ignition at home.
The trigger and recipe work just fine, it's just the delay from when I turn off the car to when the trigger is sent. 

It can be well over a minute after the car is turned off before the recipe runs.  This defeats the purpose because I would already be inside the house at this point. 

Can that time frame be tightened up?

Thanks,
Nate
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
I'm sorry to hear about recipe delays, Nate. If you send a message to our tech support team at help@automatic.com, they can take a closer look at your account. Be sure to include a link to the recipe you're using (I *think* it's this one) and the approximate date and time of when the recipe was late to fire. The latency may or may not be a result of something on our end, and we'll do our best to get to the bottom of it.
Photo of billcoff

billcoff

  • 60 Points
Hi Nate,
Hope you have better luck than I did. IFTTT couldn't help, so I returned my two Links. Automatic was quick with refund. Both Automatic and Smartthings were supportive, but I don't think IFTTT is setup to run a quick trigger. IMO, Automatic should pull the recipe.
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
Thanks for reporting back to us Bill, and I'm sorry we were unable to offer you a complete fix. In addition to refining “ignition on/off” events, we'll continue to work with IFTTT to improve upon recipe reliability.
Photo of Cuda

Cuda

  • 350 Points 250 badge 2x thumb
Nate, as the others have indicated - IF (aka IFTTT) triggers recipes anywhere up to 15 minutes and sometimes even then they just don't fire. This is not an issue with Automatic, but rather with IF. Since you have Smartthings hub, have you looked on the community (Smartthings) to see if anyone has written a 'device' that supports Automatic via their API. This way you get immediate triggers, an ideal solution to your issue.
Photo of Yves Racine

Yves Racine

  • 240 Points 100 badge 2x thumb
Hello,

I'm actually in contact with Brendan Nee (Senior developer at Automatic) to complete the ST-Automatic cloud-to-cloud integration work I've been working on in the last month.

The main issues are the following:

(1) Automatic would need to be able to redirect to wildcard URLs in order to complete the ST Oauth 3-legged authentication with instances of My Automatic Service Manager.  Each ST user would create her/his own instance,so the redirect URL would be different from one ST user to another.

(2) As ST does not support websockets for the moments, webhooks would need to be used to post data to ST (after Automatic has authenticated with ST using OAuth2). 

So, I sent a request to Brendan to develop and deploy a proxy-app that would authenticate to ST and post data to instances of My Automatic Service Manager.  This proxy-app needs to be able to process requests going to/coming from multiple ST users.

So far, I've coded about 2k lines of code (i.e.,Device Handler and Service Manager) to complete this integration ASAP.  

My Automatic Service Manager is actually able to process real-time events through webhooks (but some testing needs to be done before I release the code).

I think that this integration would potentially bring more ST users to Automatic and vice-versa. It's sort of win-win situation for both platforms provided that the technical issues on the Automatic side mentioned above are solved.

Regards.

Here are some screenshots of the Device Handler:



(Edited)
Photo of Jonathan

Jonathan, Alum

  • 4,232 Points 4k badge 2x thumb
Hello Yves,

The integration with SmartThings sounds exciting! I've made sure to let Brendan know you've posted in our community as well, in the meantime we appreciate your patience and hard work! :)
Photo of Yves Racine

Yves Racine

  • 240 Points 100 badge 2x thumb
Hi @Jonathan, I contacted Brendan since my last post and it seems that  Automatic is not willing to invest any time & efforts in the SmartThings integration.  So, my project is not going anywhere.  

The 2 issues I mentioned in my previous post are still open, and there is no resolution in sight.

If you hear about any development on the Automatic side, please let me know.

It's too bad as this integration may have a lot of potential for HA fans.
(Edited)
Photo of Ken Washington

Ken Washington

  • 60 Points
Wow.... this is exactly what I was looking for. I was trying to close my garage door upon trigger of turning engine off but it never worked. Part of my problem is I have a Gen 1 device that may not support it. Does the web API apply to the Gen 1 Automatic device? Can I update the firmware somehow?
Photo of Jeff

Jeff, Alum

  • 14,146 Points 10k badge 2x thumb
Hi Ken,

Thanks for reaching out.

Using IFTTT is definitely supported by the 1st Generation Automatic adapter. However, we haven't built out support for use with Smartthings (as you'll see in the post above).

Would you mind sharing the recipe you are using? You would need to publish it publicly (that won't share any personal information).
Photo of ajd394

ajd394

  • 72 Points
I too would like to see SmartThings integration. 
Photo of Yves Racine

Yves Racine

  • 240 Points 100 badge 2x thumb