# Webhook via local network

**URL:** <https://community.homey.app/t/webhook-via-local-network/17252>\
**Category:** Questions & Help\
**Created:** [August 23, 2019, 4:08pm UTC](https://community.homey.app/t/webhook-via-local-network/17252 "2019-08-23T16:08:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![josjg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/josjg/32/12397_2.png) [@josjg](https://community.homey.app/u/josjg)\
**Post date:** [August 23, 2019, 4:08pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/1 "2019-08-23T16:08:03Z")

</div>

I have a Foscam camera with movement detection and a Synology NAS on which I use Surveillance Station. Within Surveillance Station I created an action rule that sends a webhook to my Homey when motion is detected. I then use a flow to act on it. I was able to do this after searching this forum and finding [this post](https://community.homey.app/t/subscribing-to-onvif-motion-detection-events/6507/6) Thanks guys!

My webhook uses the Athom cloud like this: https://[my\_cloud\_id].connect.athom.com/api/manager/logic/webhook/camera\_motion. What I could not find (yet) here, or anywhere else on the internet, is how to use a webhook within my local network with a flow card. So, without using the Athom cloud. What would be the URL?

Thanks!

---

<div class="post-metadata">

**Author:** ![JackDaniel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jackdaniel/32/11278_2.png) [@JackDaniel](https://community.homey.app/u/JackDaniel)\
**Post date:** [August 23, 2019, 5:37pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/2 "2019-08-23T17:37:19Z")

</div>

http:// **ip\_from\_homey** /api/manager/logic/webhook/camera\_motion

---

<div class="post-metadata">

**Author:** ![Joel\_Van\_der\_Kuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joel_van_der_kuur/32/10162_2.png) [@Joel\_Van\_der\_Kuur](https://community.homey.app/u/Joel_Van_der_Kuur)\
**Post date:** [August 23, 2019, 7:18pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/3 "2019-08-23T19:18:21Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/a18672e219692bb5a03a357061094c1f6e1f4f34.jpeg)  
 is camera in case;)

---

<div class="post-metadata">

**Author:** ![Joel\_Van\_der\_Kuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joel_van_der_kuur/32/10162_2.png) [@Joel\_Van\_der\_Kuur](https://community.homey.app/u/Joel_Van_der_Kuur)\
**Post date:** [August 23, 2019, 7:24pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/5 "2019-08-23T19:24:01Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8ad028f52125d938e9726868614df275c24027cf.jpeg)  
And this is my synology, only the last part of the url for privacy;)

---

<div class="post-metadata">

**Author:** ![josjg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/josjg/32/12397_2.png) [@josjg](https://community.homey.app/u/josjg)\
**Post date:** [August 23, 2019, 10:38pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/6 "2019-08-23T22:38:52Z")

</div>

@JackDaniel, that’s it! The local network URL I needed. Thanks.

---

<div class="post-metadata">

**Author:** ![Homey\_User\_T](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homey_user_t/32/65605_2.png) [@Homey\_User\_T](https://community.homey.app/u/Homey_User_T)\
**Post date:** [July 12, 2023, 7:46am UTC](https://community.homey.app/t/webhook-via-local-network/17252/7 "2023-07-12T07:46:12Z")

</div>

That doens’t seem to be true anymore for Homey Pro 2023. Anyone knows how local webhooks are possible?

---

<div class="post-metadata">

**Author:** ![RNLDNKP](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@RNLDNKP](https://community.homey.app/u/RNLDNKP)\
**Post date:** [August 17, 2023, 8:14pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/8 "2023-08-17T20:14:30Z")

</div>

Same issue here. Old local URL is no longer valid.

Have been using the webhooks to trigger Homey when pressing Shellyix3 buttons for example. The Shelly app does not support differencing a single, double, triple press of a button. Don’t like to use the public webhooks just to turn on a light, especially if I want it to work when the house is offline.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 17, 2023, 9:06pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/9 "2023-08-17T21:06:21Z")

</div>

Local webhook for H2023, this should work

> [@Webhook wakker/slapen](https://community.homey.app/t/webhook-wakker-slapen/80152/18):
>
> http://my\_homey\_ip/webhook?event=my\_event&tag=my\_tag

For H201x this works:  
[http://my.homey.ip/api/manager/logic/webhook/my\_event?tag=my\_tag](http://my.homey.ip/api/manager/logic/webhook/my_event?tag=my_tag)

The ‘tag’ part for both is optional

---

<div class="post-metadata">

**Author:** ![RNLDNKP](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@RNLDNKP](https://community.homey.app/u/RNLDNKP)\
**Post date:** [August 18, 2023, 9:30pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/10 "2023-08-18T21:30:50Z")

</div>

@Peter_Kawa Werkt als een zonnetje, super, dankjewel!

---

<div class="post-metadata">

**Author:** ![valterli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valterli/32/18209_2.png) [@valterli](https://community.homey.app/u/valterli)\
**Post date:** [January 8, 2024, 7:36pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/11 "2024-01-08T19:36:44Z")

</div>

Anyone that has managed to use POST data in local Webhooks?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 9, 2024, 1:48am UTC](https://community.homey.app/t/webhook-via-local-network/17252/12 "2024-01-09T01:48:05Z")

</div>

AFAIK only Homey (cloud/premium) can handle http POST requests (tested). And it’s not local. Homey Pro’s don’t seem to able to process POST data by the “web event received” logic card. You’ll have to request for POST support at Athom [https://homey.app/support](https://homey.app/support)

Or, maybe Thomas can add POST data functionality to the local webtrigger function of his neat [Micro Web Server app](https://homey.app/a/com.sdn.webserver/), you can ask him if it’s possible, and if he’s interested to build it, in this thread here:

> [@\[App\]\[Pro\] Micro Web Server](https://community.homey.app/t/app-pro-micro-web-server/26565):
>
> Micro Web Server This app turns your Homey into a basic WebServer for your local network. App Store: [Micro Web Server](https://homey.app/a/com.sdn.webserver)[Frequently Asked Questions](https://community.homey.app/t/homey-serves/26565/2)[Change Log](https://community.homey.app/t/homey-serves/26565/3)Supported Languagesuk English de German What? Yes, a WebServer! There are some use cases where you simply do not want to run another device just to serve a few resources by http. The app runs a WebServer locally on Homey. This WebServer is not reachable from Internet. You can use it to host basically any resource you ne…

I tested to be sure, but it solely works with GET data atm.

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [January 9, 2024, 3:54pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/13 "2024-01-09T15:54:30Z")

</div>

Done!

Hi @Peter_Kawa & @valterli ,  
This is something I have been missing for a while now myself. I just pushed an update for certification.  
 → [[App][Pro] Micro Web Server - #92 by Shakesbeard](https://community.homey.app/t/app-pro-micro-web-server/26565/92)

Feel free to grab it from the test channel already if you want to play around with it without waiting on Athom to approve the update 😃

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 9, 2024, 4:33pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/14 "2024-01-09T16:33:21Z")

</div>

Oh how nice! And very quick, within 16h 🍻. Gonna check it right away, Thomas.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [January 24, 2024, 11:46am UTC](https://community.homey.app/t/webhook-via-local-network/17252/15 "2024-01-24T11:46:08Z")

</div>

I tried [http://my.homey.ip/api/manager/logic/webhook/my\_event?tag=my\_tag](http://my.homey.ip/api/manager/logic/webhook/my_event?tag=my_tag) but the tag is not handled. I sent a push notification with the received tag but it is shown as \< tag \>, i.e. no info.  
Anyone succeeded in sending tags?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 24, 2024, 5:24pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/16 "2024-01-24T17:24:46Z")

</div>

Sorry, it works when I tested this @ Pro 2019:

![Screenshot from 2024-01-24 18-09-39](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/1/711900bc3fbda3e8ec4cf94060f23959d18107ee.png)

 ![Screenshot from 2024-01-24 18-20-51](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/235084426d396773ff1e6e40d35397127efc7864.png)

When I change `my_tag ` into ` my_tags`, it fires the Else notification as it should.

Can you share the URL you use, and the flow, Anders?

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [January 25, 2024, 7:26am UTC](https://community.homey.app/t/webhook-via-local-network/17252/17 "2024-01-25T07:26:55Z")

</div>

I retried this morning and this string works "http:///webhook?event=webhooktest&tag=testing\_tag.  
Why I didn’t receive the tag was due to curl in Linux.  
I tried from browser and it worked fine.

But this string does not work for me “[http://192.168.0.144/api/manager/logic/webhook/webhooktest?tag=my\_tag](http://192.168.0.144/api/manager/logic/webhook/webhooktest?tag=my_tag)”.  
I get this error in the browser: “Cannot GET /api/manager/logic/webhook/testing”.

I am on Homey2023.

But, now I have at least one working.  
Thanks for your help @Peter_Kawa

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [January 15, 2025, 1:12pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/18 "2025-01-15T13:12:21Z")

</div>

I cannot seem to get webhooks to work locally on my HP23 as well.  
http://\<homey-ip/webhook?event=EVENTNAME only gives errors.

Does anyone have the right url (format)?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [January 15, 2025, 5:25pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/19 "2025-01-15T17:25:22Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fef2437e5cdb6c6e62e46e470a2ee5febb6f75f2.png)

---

<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 15, 2025, 5:43pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/20 "2025-01-15T17:43:00Z")

</div>

It looks like this only works on older Homey’s.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [January 15, 2025, 6:49pm UTC](https://community.homey.app/t/webhook-via-local-network/17252/21 "2025-01-15T18:49:28Z")

</div>

Yes, unfortunately, I cannot get it to work on my Homey 2023. That doesn’t comply with Athom’s “local first” policy (which does have voids; I know…).

[Next page](https://community.homey.app/t/webhook-via-local-network/17252.md?page=2)
