Hi,
I’m updating my domitech app to the newest SDK3 and the homey-zwavedriver.
(Source code: GitHub - timkouters/nl.timkouters.domitech: This app adds support for Domitech devices in Homey.)
When I run this app on my HomeyPro early 2019 version I constantly get the error that the homey-zwavedriver cannot be found (see below).
Now the fun part, other user the do the checkout of the same code they can run the domitech app without any issues. These users are using the HomeyPro 2023 version.
Is there anything different between the 2019 and 2023 Pro version of Homey and should I therefor stick to the deprecated meshdriver?
Details of the crash:
timkouters@dev-TimKouters:~/github2/nl.timkouters.domitech$ homey app run
✓ Pre-processing app...
✓ Validating app...
✓ App validated successfully against level `debug`
✓ Packing Homey App...
— App archive size: 153.5 KB, 15 files
✓ Installing Homey App on `Homey Pro van Tim` (http://10.0.0.232:80)...
✓ Homey App `nl.timkouters.domitech` successfully installed
✓ Running `nl.timkouters.domitech`, press CTRL+C to quit
— Profile your app's performance at https://go.athom.com/app-profiling?homey=61276845aae08b0bb23bc2f3&app=nl.timkouters.domitech
─────────────── Logging stdout & stderr ───────────────
[log] 2023-06-20 17:00:11 [DomitechApp] Starting Domitech Z-Wave app
[err] 2023-06-20 17:00:11 [ManagerDrivers] [Driver:dtA19-750-27] Error Initializing Device: Error: Cannot find module 'homey-zwavedriver'
Require stack:
- /drivers/dtA19-750-27/device.js
- /opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/Util.js
- /opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/Device.js
- /opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/homey.js
- /opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/index.js
- /opt/homey-client/system/manager/ManagerApps/AppProcess/bootstrap.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at Module.require (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/index.js:1:183)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/drivers/dtA19-750-27/device.js:3:25)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/drivers/dtA19-750-27/device.js',
'/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/Util.js',
'/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/Device.js',
'/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/homey.js',
'/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/index.js',
'/opt/homey-client/system/manager/ManagerApps/AppProcess/bootstrap.js'
]
}
Who can help me out?
Kind regards,
Tim