# Powunity app- Biketrax and webhooks

**URL:** <https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128>\
**Category:** Questions & Help\
**Created:** [January 26, 2022, 6:14am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128 "2022-01-26T06:14:59Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas\_Severa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_severa/32/33929_2.png) [@Tomas\_Severa](https://community.homey.app/u/Tomas_Severa)\
**Post date:** [January 26, 2022, 6:14am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/1 "2022-01-26T06:14:59Z")

</div>

Hi there, please i have a Ebike with Powunity gps tracking. The Powunity allows to send webhooks to a smart home system - see picture. Any one can help me if it’s possible to connect it to homey to receive the webhooks for some flows?

 ![Screenshot_2022-01-26-07-10-56-164_com.powunity.app](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1ea5a8db4051f8524d479d2ea6693a87265a93db.jpeg)

---

<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 26, 2022, 6:32am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/2 "2022-01-26T06:32:05Z")

</div>

You need to install the [Webhook Manager app](https://homey.app/a/webhook.manager/)

---

<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 26, 2022, 1:34pm UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/3 "2022-01-26T13:34:34Z")

</div>

You can use use the Logics ‘a webhook has been received cards’.  
It works with GET requests, I don’t know if it works with POST requests.

The URL is different for the Homey Cloud and Homey Pro  
Cloud:

> ![Screenshot_20220126-143223_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/f/ff0ecb2321510e71d4cc752ecbe626ed040b4225.jpeg)

Pro:

> ![Screenshot_20220126-143025_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/7/7700d4a613ae3fbe597d09df3d0f8bb28d4af3f2.jpeg)

---

<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 26, 2022, 1:36pm UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/4 "2022-01-26T13:36:48Z")

</div>

The Logic cards only work with GET requests (Homey doesn’t conform to proper webhook convention), but the screenshot in OP’s post state that the system works with POST requests.

---

<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 26, 2022, 2:18pm UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/5 "2022-01-26T14:18:05Z")

</div>

Yup, I noticed that.

A question, Robert, while I’m no expert here.  
Now I have a tool called ‘HTTP Shortcuts’, which can send different types of http requests, with POST amongst them.

Now this webhook _does_ get processed by Homey cloud:

> ![Screenshot_20220126-150910_HTTP Shortcuts](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1ba76b9eda0f8f76af2ed017cc216e07febf6e4d.jpeg)

> ![Screenshot_20220126-151534_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b26c2b23d2f89c031af41171b67740158bc205dd.jpeg)

Any thoughts?

What’s interesting, with Homey Pro it indeed doesn’t work:

> ![Screenshot_20220126-153046_HTTP Shortcuts](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/9/99d125f1eb888d9f03dc7957e1ef5d60c5d38946.jpeg)

… failed with status code 404 (Not Found).  
`{"code":404,"error":"not_found","error_description":"Not found: POST /api/manager/logic/webhook/post"}`

The same URL using GET works as expected.

---

<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 26, 2022, 2:49pm UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/6 "2022-01-26T14:49:32Z")

</div>

> [@Peter\_Kawa](#):
>
> Any thoughts?

`connect.athom.com` is home made by Athom, `homeycloud.net` is using AWS’s infrastructure, perhaps that’s the difference.

---

<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 26, 2022, 2:53pm UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/7 "2022-01-26T14:53:04Z")

</div>

Seems logical, Robert.  
So @Tomas_Severa, I would say, if you use Homey Cloud (free to use with max. 5 devices) you can give it a go.  
Edit: And then from Homey cloud you can send an http GET request to Homey Pro 😉

> ![Screenshot_20220126-184402_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/0619befd4545d1c0014efd766b0b2db6af2cb1d1.jpeg)

---

<div class="post-metadata">

**Author:** ![Tomas\_Severa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_severa/32/33929_2.png) [@Tomas\_Severa](https://community.homey.app/u/Tomas_Severa)\
**Post date:** [January 27, 2022, 7:15am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/8 "2022-01-27T07:15:20Z")

</div>

Thank you boys, i will try it. I’m not familiar with these settings I hope I can do it.  
Thanks once again

---

<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 27, 2022, 12:45pm UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/9 "2022-01-27T12:45:09Z")

</div>

YW!  
This app can also process POST requests

> **[HTTP request flow cards](https://homey.app/en-us/app/com.internet/HTTP-request-flow-cards/)**
>
> HTTP request triggers, conditions and actions for flows

---

<div class="post-metadata">

**Author:** ![Tomas\_Severa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_severa/32/33929_2.png) [@Tomas\_Severa](https://community.homey.app/u/Tomas_Severa)\
**Post date:** [January 28, 2022, 4:35am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/10 "2022-01-28T04:35:11Z")

</div>

I updated the firmware of the GPS tracking.  
Now there appear this.  
It seems it works with GET and POST  
So what should I now use please?

 ![IMG_20220128_053227](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/d/0d7d22af5f832d599427a0639ba348003a78e81f.jpeg)

---

<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 28, 2022, 11:38am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/11 "2022-01-28T11:38:03Z")

</div>

Use GET I’d say

---

<div class="post-metadata">

**Author:** ![Tomas\_Severa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_severa/32/33929_2.png) [@Tomas\_Severa](https://community.homey.app/u/Tomas_Severa)\
**Post date:** [January 31, 2022, 6:15am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/12 "2022-01-31T06:15:14Z")

</div>

Hi Peter, the Guard an Unguard works now thank you for help.  
Can you help me how to use the status in a flow? I would like to ask the Ebike how is the status.

---

<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 31, 2022, 10:04am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/13 "2022-01-31T10:04:36Z")

</div>

YW!  
This might be what you’re looking for, Tomas:

> [@Setting up simple GET request and storing value as numeric logic object](https://community.homey.app/t/setting-up-simple-get-request-and-storing-value-as-numeric-logic-object/48614/3):
>
> Make a flow and at the THEN part Insert your api request at the first sentence and a name for this trigger e.g USDNOK Make a better logic numeric variable. Make a flow at the WHEN part insertvthe triggername eg USDNOK At the THEN part At the first sentence; $.USD\_NOK[0] At the second sentence your better logic variable name e.g USDNOK

---

<div class="post-metadata">

**Author:** ![Tomas\_Severa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_severa/32/33929_2.png) [@Tomas\_Severa](https://community.homey.app/u/Tomas_Severa)\
**Post date:** [February 1, 2022, 8:32am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/14 "2022-02-01T08:32:07Z")

</div>

Great i working now. Thank you

---

<div class="post-metadata">

**Author:** ![nascasebastian](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nascasebastian/32/67837_2.png) [@nascasebastian](https://community.homey.app/u/nascasebastian)\
**Post date:** [November 17, 2023, 7:47am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/15 "2023-11-17T07:47:18Z")

</div>

Dear Tomas, Can you please share some screenshots? I also own a PowUnity tracker. Thanks

---

<div class="post-metadata">

**Author:** ![Gijsb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gijsb/32/48535_2.png) [@Gijsb](https://community.homey.app/u/Gijsb)\
**Post date:** [November 17, 2023, 8:22am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/16 "2023-11-17T08:22:04Z")

</div>

+1

---

<div class="post-metadata">

**Author:** ![nascasebastian](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nascasebastian/32/67837_2.png) [@nascasebastian](https://community.homey.app/u/nascasebastian)\
**Post date:** [November 20, 2023, 11:24am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/17 "2023-11-20T11:24:35Z")

</div>

Any Updates?

---

<div class="post-metadata">

**Author:** ![Tomas\_Severa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_severa/32/33929_2.png) [@Tomas\_Severa](https://community.homey.app/u/Tomas_Severa)\
**Post date:** [November 23, 2023, 6:59am UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/18 "2023-11-23T06:59:54Z")

</div>

Sorry guys, but i changed the system on my bike and so I am not longer use it, therefore i have no flows and so and because is more than year ago I cannot remember.

---

<div class="post-metadata">

**Author:** ![Gijsb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gijsb/32/48535_2.png) [@Gijsb](https://community.homey.app/u/Gijsb)\
**Post date:** [November 27, 2023, 2:16pm UTC](https://community.homey.app/t/powunity-app-biketrax-and-webhooks/59128/19 "2023-11-27T14:16:34Z")

</div>

Thanks for the reply!
