Vera Official IFTTT Integration ( BETA )

#1

[font=helvetica][size=14px]Hi [/size][/font][glow=red,2,300]IFTTT [/glow][font=helvetica][size=14px]enthusiasts! [/size][/font]

[font=helvetica][size=14px]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. [/size][/font]

[font=helvetica][size=14px]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. [/size][/font]

[font=helvetica][size=14px]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.[/size][/font]

[font=helvetica][size=14px]Thanks for understanding and thanks for being excited about the Vera and IFTTT integration.[/size][/font]

0 Likes

#2

;D Very good news. For me, probably the best way for Micasaverde to go with connected objects…

0 Likes

#3

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.

0 Likes

#4

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.

0 Likes

#5

in beta, work fine here too.

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

My dream comes true… Thanks Micasaverde. :wink:

0 Likes

#6

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.

0 Likes

#7

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.

0 Likes

#8

[quote=“BOFH, post:7, topic:196983”]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.[/quote]
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.

0 Likes

#9

Ahhh! Thank you amg0. I’ll look into that and see if I can get it to work that way for now

0 Likes

#10

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.

0 Likes

#11

@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.

0 Likes

#12

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.

0 Likes

#13

That looks good. Event name should be with simple lowercase letters to be sure

0 Likes

#14

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?

0 Likes

#15

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!

0 Likes

#16

here is PDF with an example of an IFTTT applet which receives a trigger from VERA.
I just receive a web service called from LUA and send an email but the action part of that applet could be the VERA service

0 Likes

#17

I think you are referring to this topic http://forum.micasaverde.com/index.php?topic=50356.new;topicseen#new
but
someone said that he created a simpler method only by creating a scene…
I didn’t figure it out yet… how to make it work… I am still trying.

0 Likes

#18

Thank you amg0. Great example. It worked!

The problem I was facing was that I didn’t know that the trigger is named “Webhooks” :slight_smile: and only that trigger is working with web request.
After seeing last post with the pdf I made one test and it worked correctly. I tested in Vera > Apps > Develop apps > Test Luup code (Lua)

0 Likes

#19

would IFFT be used like luup or pleg? Seems like IFFT would be easier to do than these other 2 ways.

0 Likes

#20

Hi,

I am in the beta as well. So far it works great. I am using Google home as a trigger. No delays, instantaneous response. I can not use numbers to specify percentages however. Also scenes with restricted devices are not possible to be used. It looks like security items can not be used. Why is that and what is the precise list of restricted items?

0 Likes