Author Topic: Vera Official IFTTT Integration ( BETA )  (Read 3685 times)

Offline John M.

  • Administrator
  • Hero Member
  • *****
  • Posts: 565
  • Karma: +44/-4
    • getvera.com
Vera Official IFTTT Integration ( BETA )
« on: August 17, 2017, 04:07:39 am »

Hi IFTTT enthusiasts!

We just sent an email to a select group of customers who have shown interest in IFTTT to date. However, we realized that we can only allow 25 participants at one time per IFTTT Beta guidelines.  


If you receive the email, please open it and click on the link to join- we will accept customers on a first click, first served basis for the email.


If you open the email too late or if you don't receive an email then please feel free to add your name and address to the waiting list: https://getvera.typeform.com/to/ZJqmBE If a participant drops out and a space becomes available, or if the Beta program expands, we will contact customers on this list on a first come, first served basis.


Thanks for understanding and thanks for being excited about the Vera and IFTTT integration.
« Last Edit: August 28, 2017, 03:28:02 am by John M. »
John.M. ▾ Senior Customer Care Advocate
Vera Control, Ltd. ▾ Smarter Home Control  ▾ support@getvera.com ▾www.getvera.com ▾ +1 (866) 966-2272

HOURS OF OPERATION (Pacific Time Zone, UTC -8 )
Monday - Friday   12:00 am ? 06:00 pm
Saturday - Sunday   04:00 am ? 06:00 pm

Offline bestermanus

  • Sr. Newbie
  • *
  • Posts: 39
  • Karma: +1/-4
Re: Vera Official IFTTT Integration ( BETA )
« Reply #1 on: August 25, 2017, 07:11:29 am »
 ;D Very good news. For me, probably the best way for Micasaverde to go with connected objects.....

Offline stefanradu5

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Vera Official IFTTT Integration ( BETA )
« Reply #2 on: August 26, 2017, 06:09:00 am »
Hello,
My first test applet worked fine. I connected a light when AC is on (from ifttt) a light comes on (from vera).
if (ac is on) then vera (light x) is on.

second snceario will be possible in the future?

if vera (scene that detects temp over 28* celsius when I am home) then AC is on (via ifttt and intesishome)

IntesisHome is an IFTTT connected device with IR for AC.

Offline hellovn

  • Full Member
  • ***
  • Posts: 217
  • Karma: +19/-46
Re: Vera Official IFTTT Integration ( BETA )
« Reply #3 on: August 26, 2017, 10:17:29 pm »
I just registered but not sure I will be on the beta list. Currently I am using OpenHab for Vera and IFTTT integration. It would be nice if we could connect Vera to IFTTT directly.

Offline bestermanus

  • Sr. Newbie
  • *
  • Posts: 39
  • Karma: +1/-4
Re: Vera Official IFTTT Integration ( BETA )
« Reply #4 on: August 27, 2017, 04:09:45 am »
in beta, work fine here too.

If say turn on TV (google home), then turn on TV (Harmony)

My dream comes true.... Thanks Micasaverde.   ;)
« Last Edit: August 30, 2017, 09:31:03 am by bestermanus »

Offline Sammy2

  • Hero Member
  • *****
  • Posts: 602
  • Karma: +3/-3
Re: Vera Official IFTTT Integration ( BETA )
« Reply #5 on: August 28, 2017, 11:36:13 am »
I got in on the Beta Friday afternoon but have yet to try anything with IFTTT as it was a fully booked weekend for me already. Maybe during this week and on this weekend I will have some time to play with it.

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2410
  • Karma: +112/-139
Re: Vera Official IFTTT Integration ( BETA )
« Reply #6 on: August 28, 2017, 11:45:26 am »
As soon as the beta allows to use a Vera device as a trigger, I have a very useful application for it.

If one of my smoke sensors goes off, use the IFTTT 'dial my android device' applet to call my cell phone. Granted, I will already get a notification and a text message, but a call should be way faster and if there's a fire in the house, every second counts where my dogs are concerned.

There may be some more but I'm a bit overwhelmed by IFTTT's variety right now.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline amg0

  • Sr. Hero Member
  • ******
  • Posts: 2545
  • Karma: +157/-8
Re: Vera Official IFTTT Integration ( BETA )
« Reply #7 on: August 28, 2017, 12:42:04 pm »
As soon as the beta allows to use a Vera device as a trigger, I have a very useful application for it.

If one of my smoke sensors goes off, use the IFTTT 'dial my android device' applet to call my cell phone. Granted, I will already get a notification and a text message, but a call should be way faster and if there's a fire in the house, every second counts where my dogs are concerned.

There may be some more but I'm a bit overwhelmed by IFTTT's variety right now.
Supporting triggers in vera service would be great but there is a workaround , With ifttt webhooks you could have vera call the ifttt webhook URL and use this as a trigger to your ifttt applet.

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2410
  • Karma: +112/-139
Re: Vera Official IFTTT Integration ( BETA )
« Reply #8 on: August 28, 2017, 02:17:26 pm »
Ahhh! Thank you amg0. I'll look into that and see if I can get it to work that way for now
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline rwalker

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +1/-1
Re: Vera Official IFTTT Integration ( BETA )
« Reply #9 on: August 28, 2017, 08:41:28 pm »
I need Vera to trigger other things... when would this be added?  If this is going to be a while, then I can drop out to let others test.

Offline stefanradu5

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Vera Official IFTTT Integration ( BETA )
« Reply #10 on: August 29, 2017, 05:03:13 am »
@amg0 Can you help us with the workaround?

I tried different variants with webhooks and I didn't find a way to make it work. I think i do something wrong.
I created a scene with manual trigger and I run a lup code like this (from another topic)

---
local http = require("socket.http")
  -- 5 Second timeout
http.TIMEOUT = 5
  -- The return parameters are in a different order from luup.inet.wget(...)
result, status = http.request("{https://maker.ifttt.com/trigger/####applet###/with/key/#########mykey#######}")

applet and mykey are from ifttt maker.

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2410
  • Karma: +112/-139
Re: Vera Official IFTTT Integration ( BETA )
« Reply #11 on: August 29, 2017, 01:01:04 pm »
have you tried wget?

local status, result = luup.inet.wget("https://maker.ifttt.com/trigger/####applet###/with/key/#########mykey#######", 5)

The 5 is a delay allowing for a response. You could set it higher.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline amg0

  • Sr. Hero Member
  • ******
  • Posts: 2545
  • Karma: +157/-8
Re: Vera Official IFTTT Integration ( BETA )
« Reply #12 on: August 29, 2017, 03:04:28 pm »
That looks good. Event name should be with simple lowercase letters to be sure

Offline stefanradu5

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Vera Official IFTTT Integration ( BETA )
« Reply #13 on: August 30, 2017, 05:33:05 am »
For me it didn't work.
I have no coding experience at all and maybe I am doing something wrong.

I have Vera Plus, UI7 with latest update.
My intention is to start a philips hue bulb (for test) or any ifttt connected device that it will not work directly with vera.

I created a test applet in ifttt with alexa voice as trigger (if i say alexa trigger test) then turn on philips hue bulb.
Maybe this is my mistake because I want to initiate this applet by a web request and this has alexa voice trigger, but other solution i don't see. I named my applet "scene".

In vera I created a scene with manual trigger with the name "test".
In the "Also, execute the following Luup code:" I added:

local http = require("socket.http")
  -- 5 Second timeout
http.TIMEOUT = 5
  -- The return parameters are in a different order from luup.inet.wget(...)
local status, result = luup.inet.wget("https://maker.ifttt.com/trigger/60XXXX01d/with/key/j6Fj7j2LJnBAGqhP_17Xc2kwwaY3eei38xNLZz0XXXX", 5)

I added the exact code i am using for syntax evaluation and, added XXXX in the middle of applet id and at last 4 digits of the key for privacy. After I finish set up the scene. I run it manually. "Sending Success." but nothing happens.
Any suggestions about what am I doing wrong?




Offline kev b

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +5/-0
Re: Vera Official IFTTT Integration ( BETA )
« Reply #14 on: August 30, 2017, 07:37:36 am »
If I recall correctly, you cannot run this type of scene manually. Try making a virtual switch, and use that as a trigger for the scene. I do not know why this is the case, but I remember reading it in another thread.  Good luck!