Testing a homey app without homey pro

Hi everyone, I’m developing an app to connect Homey to an eWeLink account in order to have access to all the account’s devices from the Homey app. I have a Homey Premium subscription but I haven’t purchased a Homey Pro yet. Is it possible to test the app without having Homey Pro?

Thank you,

Simone

Technical if the App also would run on Homey (Cloud) it could…

But:
You need to Develop for Cloud, so a Verified App: Homey Cloud | Homey Apps SDK
So you need to be a Homey Verified Developer,
Therefore you need to be a company or developing for a company.

and you need a Homey Verified Developer | Homey Store and have a VAT number.

Beside that is possible (You have a VAT number and become a Verified Developer…) It could be Athom isn’t going to publish your App for Homey Cloud if You are not in contact with eWeLink …

Do you need to be a verified developer to run a Homey app in Docker for testing?

1 Like

Good one, I didn’t test that.
In that case nothing would be necessary.

Thank you guys.

To run a Homey App for testing I don’t need to be a verified developer but I need Docker and I need to have a Homey Pro. Is my undestranding correct?

I’m trying to run the basic app (created with ‘homey app create’) but I get the error:

code: ‘MODULE_NOT_FOUND’,
requireStack: [ ‘/homey-app-runner/lib/App.js’, ‘/homey-app-runner/index.js’ ]

I think the problem was that I’m trying tu run the app without Homey Pro. Is it correct?

any ideas?

Have you followed the steps in Getting Started | Homey Apps SDK, including the bit about installing Docker?
AFAIK, no Homey Pro is required to run via Docker.

Hi Adrian and first of all sorry for the delay in replying.

I’m trying to create the initial sample app (homey app create) and launch it (homey app run) but I’m getting the error “Cannot find module ‘/app/app.json’”. Docker is correctly started.

In the guide it says:

" First, make sure that Homey is either:

  • directly connected to your PC/laptop over USB, or
  • connected to the same Wi-Fi network as the PC/laptop you are working on."

Hence the doubt that it is not possible to program an app for Homy unless you have a Homy Pro available.

It’s correct?

Simone

Do you have a Homey (cloud) account?
The error you report seems more like the app is not complete. Do you have an app.json file as part of the app?

I have also a Homey Pro but in another house. I’d like to develop also when I haven’t Homey Pro available.

App.json is present in the root of the project (with app.js).

I have only done “homey app create” (with no error) and then “honey app run” as in the guide.

I assume the file app.json exists in your project directory and it’s not being excluded due to it being mentioned in .gitignore or .homeyignore?

this is the explorer of my project:

and this is the content of the file.gitignore:
image

That looks okay. Do you use Windows?

Yes, win10 with VS Code

Could be that, Athom doesn’t really test on Windows and historically there’ve been issues with the CLI tool.

So to develop app for homey I need to use Linux or Mac?

I use Windows and have no issues with the CLI.

1 Like

Also no issues with the boilerplate app that gets created by homey app create?

It used to work, but I haven’t created a new app for about 9 months, so maybe something has broken since then.

I have just thought, as it is trying to run on a cloud account, I wonder if the app.json has been targeted as a cloud app?

I tried to launch the example project on my network with Homey Pro but I still get the same error (“Cannot find module ‘/app/app.json’”). I had a doubt: should Docker just be started or is some configuration necessary?