# Homey Pro (Early 2023) - (P)Review Alpha Testing

**URL:** <https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051>\
**Category:** Developers\
**Tags:** homey-pro, homey-bridge, advancedflow\
**Created:** [January 13, 2023, 10:51pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051 "2023-01-13T22:51:23Z")\
**Posts on this page:** 20\
**Page:** 5

<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:** [February 12, 2023, 2:45pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/82 "2023-02-12T14:45:19Z")

</div>

Yesss, thanks so much, @Emile! 🎉😃  
Much appreciated!

---

<div class="post-metadata">

**Author:** ![Fredrik\_Backman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredrik_backman/32/48921_2.png) [@Fredrik\_Backman](https://community.homey.app/u/Fredrik_Backman)\
**Post date:** [February 12, 2023, 8:19pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/83 "2023-02-12T20:19:53Z")

</div>

Fantastic! 🙏🎉

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [February 13, 2023, 6:44pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/84 "2023-02-13T18:44:43Z")

</div>

Split this topic on February 13, 2023, 6:44pm UTC

8 posts were merged into an existing topic: [Homey Mobile App (v7 necessary for New Homey Pro Early 2023) - (P)Review Alpha Testing](https://community.homey.app/t/homey-mobile-app-v7-necessary-for-new-homey-pro-early-2023-p-review-alpha-testing/76432/2)

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [February 17, 2023, 1:26pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/85 "2023-02-17T13:26:03Z")

</div>

Hey,

is the alarm type went on or off flow trigger gone on home zone level? on the old homey pro I can use this in the flows , now I need to add all the door sensors.

 ![Screen Shot 2023-02-17 at 14.17.22](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/a/ea4f4010b7a5bb5394153760cebc191f71d85708.jpeg)  
 ![Screen Shot 2023-02-17 at 14.18.04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/02956aa47f717686ae829bbf014991541d660510.jpeg)

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [February 17, 2023, 1:53pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/86 "2023-02-17T13:53:26Z")

</div>

#homey-pro-early-2023 channel on slack would be a better place to post this.

---

<div class="post-metadata">

**Author:** ![Django](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/django/32/30811_2.png) [@Django](https://community.homey.app/u/Django)\
**Post date:** [March 11, 2023, 8:19pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/87 "2023-03-11T20:19:04Z")

</div>

has the syntax to issue webhooks to homey pro changed in 2023 version ?  
i am not able to trigger anything from my apple through the old webhook url (with updated homeyid offcourse)

---

<div class="post-metadata">

**Author:** ![basvanderploeg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basvanderploeg/32/83556_2.png) [@basvanderploeg](https://community.homey.app/u/basvanderploeg)\
**Post date:** [March 11, 2023, 11:44pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/88 "2023-03-11T23:44:01Z")

</div>

@Django Yes, you can now use these…

Local:  
`http://<homey-ip>/webhook?event=my_event&tag=my_tag`

Cloud:  
`https://webhook.homey.app/<homey-cloud-id>/my_event?tag=my_tag`

---

<div class="post-metadata">

**Author:** ![Piotr\_Grochowski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/piotr_grochowski/32/9530_2.png) [@Piotr\_Grochowski](https://community.homey.app/u/Piotr_Grochowski)\
**Post date:** [March 14, 2023, 10:21am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/89 "2023-03-14T10:21:59Z")

</div>

Hello,  
Anyone of you know if the paths within the apps changed in new Homey Pro 2023? I’ve got an app made with SDKv3 (BleBox). On the older Homey Pro works OK, but I receive crashes with the new Homey Pro 2023 (I don’t own it, I can see it on the developer site). I’ve got a folder in my project structure called “lib” and within it I’ve got for example util.js. In several files in the project I require /lib/util.js

In the crash stack trace from 10.0.0-rc.55 I can see:

Stack trace  
Error: Cannot find module ‘/lib/util.js’  
Require stack:

- /app/app.js
- /node\_modules/@athombv/homey-apps-sdk-v3/lib/Util.js
- /node\_modules/@athombv/homey-apps-sdk-v3/lib/Device.js
- /node\_modules/@athombv/homey-apps-sdk-v3/homey.js
- /node\_modules/@athombv/homey-apps-sdk-v3/index.js
- /homey-app-runner/lib/App.js
- /homey-app-runner/index.js  
at Socket. (file:///app/lib/App.mjs:622:61)  
at Socket.onack (/node\_modules/socket.io/dist/socket.js:310:17)  
at Socket.\_onpacket (/node\_modules/socket.io/dist/socket.js:247:22)  
at /node\_modules/socket.io/dist/client.js:214:24  
at processTicksAndRejections (node:internal/process/task\_queues:77:11)

So I assume something changed with paths. Anyone knows what is wrong?  
From one of the users (maybe the one, who makes “crashed”) I get an info, that he can’t install the app - after installation it disappears from the “Apps” In the mobile application within around 10 seconds…

---

<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:** [March 14, 2023, 10:24am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/90 "2023-03-14T10:24:43Z")

</div>

> [@Piotr\_Grochowski](#):
>
> Anyone of you know if the paths within the apps changed in new Homey Pro 2023?

Yes they have, apps are now run with `/app` as working directory (whereas on the old HP it’s `/`).

> [@](#):
>
> Error: Cannot find module ‘/lib/util.js’

You should always use _relative_ paths for `require()`, not just for Homey apps but in general. In your case, it should look like this:

```auto
const util = require('./lib/util');

```

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [March 16, 2023, 10:26am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/91 "2023-03-16T10:26:32Z")

</div>

Seeing the same errors popping in my apps from people running 10.0.0.rc#  
Its a bit annoying that this is a requirement that is not validated in the nodejs tooling.  
It is kind of an SDK change that is breaking, but not clearly communicated and not validated nor can I manage it by changing a requirement in de app.  
I will try to change these and see if the people are not getting the errors anymore. trial and error  
This is why Homey should allow devs to do a device swap or something. I bought the 2019 version just last year and with loosing the ring on the device as the status light ( 😢 ) there is more to loose than to gain. So spending that much money to write off a brand new device is not something I can explain to the wife.

---

<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:** [March 16, 2023, 10:40am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/92 "2023-03-16T10:40:20Z")

</div>

Yes, it’s annoying, but OTOH, using absolute paths for `require()` has always been a bad practice with Node.js development.

Also, the ESLint rules for Homey apps throw an error when you use an absolute path:

```auto
/private/tmp/com.company.myapp/app.js
  4:21 error Do not import modules using an absolute path import/no-absolute-path

```

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [March 16, 2023, 10:57am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/93 "2023-03-16T10:57:13Z")

</div>

Interesting, looking at my code i never do an absolute path. Still get the same errors posted.  
Now i am lost 😕

---

<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:** [March 16, 2023, 11:06am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/94 "2023-03-16T11:06:31Z")

</div>

Can you post an actual stack trace?

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [March 16, 2023, 11:12am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/95 "2023-03-16T11:12:01Z")

</div>

Error: Cannot find module ‘…/…/lib/homeycrypt’

Require stack:

- /app/lib/mnm.js

- /app/drivers/chargepoint/driver.js

- /node\_modules/@athombv/homey-apps-sdk-v3/lib/Util.js

- /node\_modules/@athombv/homey-apps-sdk-v3/lib/Device.js

- /node\_modules/@athombv/homey-apps-sdk-v3/homey.js

- /node\_modules/@athombv/homey-apps-sdk-v3/index.js

- /homey-app-runner/lib/App.js

- /homey-app-runner/index.js

at Function.Module.\_resolveFilename (node:internal/modules/cjs/loader:1021:15)

at Function.Module.\_load (node:internal/modules/cjs/loader:866:27)

at Module.require (node:internal/modules/cjs/loader:1093:19)

at Module.homeyRequire [as require] (/node\_modules/@athombv/homey-apps-sdk-v3/index.js:12:19)

at require (node:internal/modules/cjs/helpers:108:18)

at Function.getAuthCookie (/app/lib/mnm.js:65:25)

at /app/drivers/chargepoint/driver.js:84:40

at PairSession.\_triggerEvent (/node\_modules/@athombv/homey-apps-sdk-v3/lib/PairSession.js:80:12)

at ManagerDrivers.\_onPairSessionEvent (/node\_modules/@athombv/homey-apps-sdk-v3/manager/drivers.js:190:20)

at processTicksAndRejections (node:internal/process/task\_queues:96:5) {

code: ‘MODULE\_NOT\_FOUND’,

requireStack: [

‘/app/lib/mnm.js’,

‘/app/drivers/chargepoint/driver.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/lib/Util.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/lib/Device.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/homey.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/index.js’,

‘/homey-app-runner/lib/App.js’,

‘/homey-app-runner/index.js’

]

}

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [March 16, 2023, 11:18am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/96 "2023-03-16T11:18:09Z")

</div>

From my other app:  
2023-03-15T18:55:38.661Z [err] [Homey:6405cb1c0ad98a0b95ea6672] [ManagerDrivers] Error Initializing Driver H61A2: Error: Cannot find module ‘…/…/api/govee-api’

Require stack:

- /app/api/govee-driver.js

- /app/drivers/H61A2/driver.js

- /node\_modules/@athombv/homey-apps-sdk-v3/lib/Util.js

- /node\_modules/@athombv/homey-apps-sdk-v3/lib/Device.js

- /node\_modules/@athombv/homey-apps-sdk-v3/homey.js

- /node\_modules/@athombv/homey-apps-sdk-v3/index.js

- /homey-app-runner/lib/App.js

- /homey-app-runner/index.js

at Function.Module.\_resolveFilename (node:internal/modules/cjs/loader:1021:15)

at Function.Module.\_load (node:internal/modules/cjs/loader:866:27)

at Module.require (node:internal/modules/cjs/loader:1093:19)

at Module.homeyRequire [as require] (/node\_modules/@athombv/homey-apps-sdk-v3/index.js:12:19)

at require (node:internal/modules/cjs/helpers:108:18)

at Object. (/app/api/govee-driver.js:5:12)

at Module.\_compile (node:internal/modules/cjs/loader:1191:14)

at Object.Module.\_extensions…js (node:internal/modules/cjs/loader:1245:10)

at Module.load (node:internal/modules/cjs/loader:1069:32)

at Function.Module.\_load (node:internal/modules/cjs/loader:904:12) {

code: ‘MODULE\_NOT\_FOUND’,

requireStack: [

‘/app/api/govee-driver.js’,

‘/app/drivers/H61A2/driver.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/lib/Util.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/lib/Device.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/homey.js’,

‘/node\_modules/@athombv/homey-apps-sdk-v3/index.js’,

‘/homey-app-runner/lib/App.js’,

‘/homey-app-runner/index.js’

]

}

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [March 16, 2023, 11:20am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/97 "2023-03-16T11:20:54Z")

</div>

I think what is happening is that I have a …/ to much in those files, and in old homey it just rooted at / while now if supersedes the app level and then tries to find the /lib as sibling off app  
So my bad anyway (of course) but still hard to debug and fix if the old devices dont enforce this while the new ones do

---

<div class="post-metadata">

**Author:** ![Piotr\_Grochowski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/piotr_grochowski/32/9530_2.png) [@Piotr\_Grochowski](https://community.homey.app/u/Piotr_Grochowski)\
**Post date:** [March 24, 2023, 6:47pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/98 "2023-03-24T18:47:09Z")

</div>

Another weird stack trace:

**Homey Version**

v10.0.0-rc.64

**Stack Trace**

Error: ENOENT: no such file or directory, open ‘/homey/user/apps/dc395f073c11ab982acd75aa71db3b95/app.json’

Does any1 know what happened?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 24, 2023, 6:49pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/99 "2023-03-24T18:49:46Z")

</div>

> [@Piotr\_Grochowski](#):
>
> Does any1 know what happened?

I guess you forgot to report here:

### [Report an Issue](https://homey.app/en-us/wiki/hp23-early-access/)

If you have encountered an issue, please report it so our team can fix it. Even if you think it has already been reported, knowing how often it occurs help a lot solving it.

- [Report an Issue with Homey Pro (Early 2023) →](https://form.asana.com/?k=RXdwV4wM7L_gRMMbbSDG3Q&d=739269396989735)

---

<div class="post-metadata">

**Author:** ![Piotr\_Grochowski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/piotr_grochowski/32/9530_2.png) [@Piotr\_Grochowski](https://community.homey.app/u/Piotr_Grochowski)\
**Post date:** [March 24, 2023, 7:04pm UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/100 "2023-03-24T19:04:00Z")

</div>

No, I didn’t. I don’t have a Homey Pro 2023. I’m an app developer, who received a crash report for my app and I wonder if it’s another problem with my app and I should change something for HP2023 (on old HP it works OK)…

---

<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:** [March 25, 2023, 6:56am UTC](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051/101 "2023-03-25T06:56:14Z")

</div>

Apparently, apps can be half-installed. I’ve seen it on some of my apps too. Nothing we can do about it ☹

[Previous page](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051.md?page=4)

[Next page](https://community.homey.app/t/homey-pro-early-2023-p-review-alpha-testing/75051.md?page=6)
