# Cloud Webhooks not work on TEST status

**URL:** https://community.homey.app/t/cloud-webhooks-not-work-on-test-status/154411
**Category:** Apps
**Created:** [May 1, 2026, 10:12am UTC](https://community.homey.app/t/cloud-webhooks-not-work-on-test-status/154411 "2026-05-01T10:12:07Z")
**Posts on this page:** 4
**Page:** 2

<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: [May 1, 2026, 3:07pm UTC](https://community.homey.app/t/cloud-webhooks-not-work-on-test-status/154411/21 "2026-05-01T15:07:04Z")

</div>

> [@Tendertec\_Developmen](#):
>
> It also not work in this case.

And by that you mean that `getDevices()` returns 0 devices?

---

<div class="post-metadata">

### Author: ![Tendertec\_Developmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tendertec_developmen/32/122028_2.png) [@Tendertec\_Developmen](https://community.homey.app/u/Tendertec_Developmen)
#### Post date: [May 1, 2026, 5:31pm UTC](https://community.homey.app/t/cloud-webhooks-not-work-on-test-status/154411/22 "2026-05-01T17:31:53Z")

</div>

**To clarify my setup — every time I switch between local and test versions, I always:**

1. **Remove all paired devices first**

2. **Uninstall the app completely**

3. **Install the new version (local or test) fresh**

4. **Re-pair the device from scratch**

**So there’s no scenario where a device was paired under a local version and then “not found” by the test version. The device is always freshly paired under whichever version is currently installed.**

**Despite this, when running the test version from the app store, `getDevices()` consistently returns 0 — even though the device was just paired moments ago under that exact test version.**

**The same code works perfectly when running locally with `homey app run`. Is there something different about how `getDevices()` behaves in a published/test app environment?**

---

<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: [May 1, 2026, 5:36pm UTC](https://community.homey.app/t/cloud-webhooks-not-work-on-test-status/154411/23 "2026-05-01T17:36:07Z")

</div>

> [@Tendertec\_Developmen](#):
>
> Is there something different about how `getDevices()` behaves in a published/test app environment?

There shouldn’t be.

---

<div class="post-metadata">

### Author: ![Tendertec\_Developmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tendertec_developmen/32/122028_2.png) [@Tendertec\_Developmen](https://community.homey.app/u/Tendertec_Developmen)
#### Post date: [May 2, 2026, 12:02pm UTC](https://community.homey.app/t/cloud-webhooks-not-work-on-test-status/154411/24 "2026-05-02T12:02:01Z")

</div>

yes, so I changed to using **Typescript** instead of **javascript** , it work

[Previous page](https://community.homey.app/t/cloud-webhooks-not-work-on-test-status/154411.md?page=1)
