# \[TUTORIAL\] Using Siri/Shortcuts for activating flows (with pics!)

**URL:** https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473
**Category:** Tutorials
**Tags:** tools, tutorial
**Created:** [January 20, 2019, 10:46am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473 "2019-01-20T10:46:24Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Joep\_Vullings](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joep_vullings/32/9293_2.png) [@Joep\_Vullings](https://community.homey.app/u/Joep_Vullings)
#### Post date: [January 20, 2019, 10:46am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/1 "2019-01-20T10:46:24Z")

</div>

Lately I’ve been busy figuring out how to make Siri work for activating Homey flows. I think that’s the quickest way for me to activate flows. For me as a total noob it was quite hard to figure it out, so I thought maybe a tutorial would help other people to make it work.

Thanks to @robertklep, @Erik, @Rocodamelshekima and @OetAelse for helping me out in the first place.

1. Make sure to install **HTTP request flow cards** ([https://apps.athom.com/app/com.internet](https://apps.athom.com/app/com.internet))
2. Download **Shortcuts/Opdrachten** from the Apple App Store on your **iPhone**
3. Find your **CloudId** or **wifiAdress** (login to: [http://developer.athom.com/tools/system](http://developer.athom.com/tools/system))
4. Create a **Shortcut** on your Shortcuts App, using `https://123456789.connect.athom.com/api/app/com.internet/testbericht/12345` in which `123456789` is your CloudId, `testbericht` is the link to the Flow in your Homey and `12345` are the variables (not necessary to use).  
 ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/ae2758bb19eea1c3554a4622806a069af281353d.png)
5. You can use the sliders at the right to **record a phrase** for Siri. For example: “Time to go to bed” (or whatever). You can give the Shortcut a **title** at your desire.
6. **Create a Flow** which starts with the following (If) and executes your desired flow (Then):  
 ![PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/40faa64980405fb012176c55aef610154f7aac69.jpeg)

Now here comes the tricky part…

If you try to use the Shortcut, it will come up with this:

 ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d3d9215c8d89b7a07d757351bc4ce50cca69d964.jpeg)  
7. You need to **change the authorization** for the HTTP request app in Homey.  
8. Go to **Apps** and **choose** HTTP request  
 ![PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d466a4f34cfc3076e83754b6535ed4d1a2b2751f.jpeg)  
9. Go to **'Configureer app’**  
 ![IMG_3563](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/5521ab3651331de032b6412f4941c7124f3824bd.png)  
10. **Tick the box** ‘authorisatie vereist op API’ and make sure it looks like this (grey checkmark)  
 ![IMG_3564](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/fe42671c396424a61186c58f397bbeece1e6844f.png)  
11. Then go back to the HTTP request app and **restart** by clicking the cog wheel at the right upper corner and choose ‘restart app’.

That should do the trick. Have fun!

---

<div class="post-metadata">

### Author: ![Rik\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rik_post/32/8148_2.png) [@Rik\_Post](https://community.homey.app/u/Rik_Post)
#### Post date: [January 20, 2019, 5:27pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/2 "2019-01-20T17:27:44Z")

</div>

Hi Joep,

Thanks for the tutorial!  
I’m also trying to get this to work since I’m on 2.0.  
If I try everything the same as you describe I get the following message:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e823ccf9f1541007754c09a93ee86bab764819c1.jpeg)

Any idea why it isn’t working?

---

<div class="post-metadata">

### Author: ![Joep\_Vullings](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joep_vullings/32/9293_2.png) [@Joep\_Vullings](https://community.homey.app/u/Joep_Vullings)
#### Post date: [January 20, 2019, 7:07pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/3 "2019-01-20T19:07:14Z")

</div>

I’m sorry, I used the wrong url. Use this one please…

`https://123456789.connect.athom.com/api/app/com.internet/testbericht/12345`

---

<div class="post-metadata">

### Author: ![Rik\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rik_post/32/8148_2.png) [@Rik\_Post](https://community.homey.app/u/Rik_Post)
#### Post date: [January 20, 2019, 8:11pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/4 "2019-01-20T20:11:52Z")

</div>

Thanks! This is working fine!

---

<div class="post-metadata">

### Author: ![Ype](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ype/32/8406_2.png) [@Ype](https://community.homey.app/u/Ype)
#### Post date: [January 27, 2019, 9:24am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/5 "2019-01-27T09:24:21Z")

</div>

it is not working yet by me

- do you enter a tag at Als ??
- when i run it on opdrachten i get an error  
 ![Image-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6f68f02b16a38a7fabcae9b6d0f17d53c99abe2c.jpeg)

what did i do wrong

---

<div class="post-metadata">

### Author: ![NickvanderGraaf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nickvandergraaf/32/2377_2.png) [@NickvanderGraaf](https://community.homey.app/u/NickvanderGraaf)
#### Post date: [January 27, 2019, 2:36pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/7 "2019-01-27T14:36:46Z")

</div>

http://[youre-ip]:80/api/app/com.internet/whitelist/testbericht/12345  
https://[CloudID].connect.athom.com/api/app/com.internet/whitelist/testbericht/12345

and add you’re ip to the whitelist in de homey app off course

---

<div class="post-metadata">

### Author: ![Bart\_van\_Diem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bart_van_diem/32/74980_2.png) [@Bart\_van\_Diem](https://community.homey.app/u/Bart_van_Diem)
#### Post date: [January 27, 2019, 2:42pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/8 "2019-01-27T14:42:40Z")

</div>

> [@Joep\_Vullings](#):
>
> [https://123456789.connect.athom.com/api/app/com.internet/testbericht/12345](https://123456789.connect.athom.com/api/app/com.internet/testbericht/12345)

Hi Joep,

This is a very interesting tutorial and it works like charm. Thanks for sharing this. I learn a lot this way as homey newbie.

Just a small concern.  
Disabling AUTHORIZATION ON API is not something I like to do because I cannot oversee the implications of possible unauthorized calls.  
Unfortunately the whitelist functionality does not work in R2.0.  
Or maybe I am just to paranoid.🙄  
What are your thoughts on this?

---

<div class="post-metadata">

### Author: ![Joep\_Vullings](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joep_vullings/32/9293_2.png) [@Joep\_Vullings](https://community.homey.app/u/Joep_Vullings)
#### Post date: [January 27, 2019, 4:46pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/9 "2019-01-27T16:46:29Z")

</div>

I’m a newbie as well so unfortunately I can’t help you with that question.

I was lucky to get it working so I thought it might prove helpful for others. Unfortunately I can’t comment with possible arguments regarding the whitelist feature, because I don’t know what it does exactly…

---

<div class="post-metadata">

### Author: ![Bart\_van\_Diem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bart_van_diem/32/74980_2.png) [@Bart\_van\_Diem](https://community.homey.app/u/Bart_van_Diem)
#### Post date: [January 28, 2019, 10:00am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/10 "2019-01-28T10:00:46Z")

</div>

Good to know that you know what you are doing😜

I assume that the whitelist does the following: unauthorized calls are possible from listed, trusted IP addresses while the “require authorization checkbox from API” remains checked. The setting will block all other calls from other IP addresses.

This whitelist option sounds safer than unchecking “require authorization” although I have no idea how unsafe it is to possibly accept calls from others without authorization.

I will leave the checkbox unchecked for now because I really like the Siri Shortcuts functionality but I hope the whitelist functionality will be restored in the near future.

Thanks again for your tutorial!

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [January 28, 2019, 10:04am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/11 "2019-01-28T10:04:40Z")

</div>

> [@Bart\_van\_Diem](#):
>
> This whitelist option sounds safer than unchecking “require authorization”

It is. However, v2.0 removed the functionality to access the origin IP-address of requests, which is what’s required to implement the whitelisting feature.

---

<div class="post-metadata">

### Author: ![Edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@Edgar](https://community.homey.app/u/Edgar)
#### Post date: [February 7, 2019, 9:12am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/12 "2019-02-07T09:12:28Z")

</div>

Unbelievable… this is really awesome!! thnx! it works straight outta box…

---

<div class="post-metadata">

### Author: ![Ferry\_van\_E](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferry_van_e/32/10953_2.png) [@Ferry\_van\_E](https://community.homey.app/u/Ferry_van_E)
#### Post date: [February 7, 2019, 6:49pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/13 "2019-02-07T18:49:06Z")

</div>

@Joep_Vullings is a hero (=eindbaas). Thank you very much for this!!!

---

<div class="post-metadata">

### Author: ![kooskortekaas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kooskortekaas/32/134_2.png) [@kooskortekaas](https://community.homey.app/u/kooskortekaas)
#### Post date: [February 9, 2019, 4:58pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/14 "2019-02-09T16:58:18Z")

</div>

Thanks for the tutorial @Joep_Vullings!

Now I wonder if it is also possible to start a timer on the iPhone from a flow in Homey. Have already tried a few things but do not get out of it yet?!

Does anyone have suggestions or tips?

---

<div class="post-metadata">

### Author: ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)
#### Post date: [February 9, 2019, 5:55pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/17 "2019-02-09T17:55:12Z")

</div>

I don’t think it’s possible: automations in Homekit can be created based on the state of a device changing (“lamp X turned on”), but you can’t create timers from Homekit automations (from what I can see).

You _can_ create timers from the Shortcuts app, but you can’t base those on Homekit “triggers” (like the above-mentioned “lamp X turned on”). And I can’t find any other possible triggers for Shortcuts that are useful (although possibly, there might be third-party apps that can provide such triggers, will have to search for those).

---

<div class="post-metadata">

### Author: ![Mario\_Me](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mario_me/32/12703_2.png) [@Mario\_Me](https://community.homey.app/u/Mario_Me)
#### Post date: [February 10, 2019, 1:50am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/18 "2019-02-10T01:50:49Z")

</div>

Yeah, thanks for providing that! You should get money for doing the work of the manufacturer. 🙂

---

<div class="post-metadata">

### Author: ![Mario\_Me](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mario_me/32/12703_2.png) [@Mario\_Me](https://community.homey.app/u/Mario_Me)
#### Post date: [February 10, 2019, 1:55am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/19 "2019-02-10T01:55:54Z")

</div>

Question is:  
What is the purpose?

Just starting a timer might can be worked around by creating virtual devices and using timers; then pushing that VD to HomeKit and create a Siri-Shortcut for it.

Didn’t have the time yet to create all flows in v2 reliable as the export to Homekit just makes sense to do it at the end, but then I’ll be setting up Siri phrases for flows (already works btw with Heimdall, when I tell Siri “Hey Siri, pass aufs Haus auf” she activates the surveillance mode. If she wants to.)

---

<div class="post-metadata">

### Author: ![Edje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edje/32/5971_2.png) [@Edje](https://community.homey.app/u/Edje)
#### Post date: [February 15, 2019, 2:41pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/20 "2019-02-15T14:41:26Z")

</div>

Many thanks for the tutorial, it works! **@Joep_Vullings!**

---

<div class="post-metadata">

### Author: ![Daniel\_J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_j/32/38761_2.png) [@Daniel\_J](https://community.homey.app/u/Daniel_J)
#### Post date: [February 15, 2019, 3:35pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/21 "2019-02-15T15:35:50Z")

</div>

Thank you for the tutorial works like a charm and i Also learnd some stuff about HTTP request !

---

<div class="post-metadata">

### Author: ![Joep\_Vullings](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joep_vullings/32/9293_2.png) [@Joep\_Vullings](https://community.homey.app/u/Joep_Vullings)
#### Post date: [February 16, 2019, 1:49am UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/22 "2019-02-16T01:49:08Z")

</div>

No problem!

---

<div class="post-metadata">

### Author: ![Roberto](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto/32/6205_2.png) [@Roberto](https://community.homey.app/u/Roberto)
#### Post date: [February 16, 2019, 1:24pm UTC](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473/23 "2019-02-16T13:24:57Z")

</div>

Well Joep, I was trying to get everything like you did explain above. Thanks for that. However now I found this HomeyKit app…and everything works with Siri and Apples Home App. This is a lot easier (for me). Thanks for your tutorial anyway.  
[https://apps.athom.com/app/com.swttt.homekit](https://apps.athom.com/app/com.swttt.homekit)

[Next page](https://community.homey.app/t/tutorial-using-siri-shortcuts-for-activating-flows-with-pics/7473.md?page=2)
