Vera Official IFTTT Integration ( BETA )

[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: [url=https://getvera.typeform.com/to/ZJqmBE]Discover Typeform, where forms = fun 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]

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

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.

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.

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:

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.

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.

1 Like

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

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

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.

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

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.

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

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?

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!

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

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.

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)

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

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?