This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
Making app's with Windows PC without wifi possible?
TheoDeKoning
Member
in Archive
Waiting for version(s) the update(s) I want also to try to do some useful things for the Homey community and began to look into making app's.
Looking to the command lines by Getting started:
Because you need to select your Homey also wifi.
If that is true than I don't have, with sadness, to look further in to this.
Looking to the command lines by Getting started:
npm install -g athom-cli
athom login
athom project --create
athom project --run
Because you need to select your Homey also wifi.
If that is true than I don't have, with sadness, to look further in to this.
This discussion has been closed.
Comments
Did it yesterday, works right away
How to develop apps for Homey on Windows:
Install Node.js (windows version from their website),
Open CMD (with admin rights?)
Type "npm install -g athom-cli" (in CMD)
Type "Athom login" (in CMD)
(*login with your athom account)
Type "Athom project --create" (in CMD)
- Fill in all the values (project name etc.) (in CMD)
- A map has been created with your project name
- Navigate into the map using:
"cd com.mapname" (in CMD)
Type: "Athom project --run" (in CMD)
Editing the project can be done by any text editor.
(open app.js in the project folder)
The app will run just as it would be when installed on a Homey, the app will only work when ran with "Athom project --run", and can be terminated with CTRL + C (sometimes CTRL+ C + ENTER).
You must be connected to the same WIFI as Homey in order to upload and run your newly created project.
Any debugging can be done my writing to the Homey.log.
Good luck!
I did not know that! Thanks!
Had to use my tablet to connect Homey to my wifi.
Happy coding!
In the future we'll even add support for developing over USB :-)