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.
Deploying app with 1.0.30 does reach step 4/4
patman
Member
Hi,
Yesterday I finally received my Homey.
Installed it, ran update. Added Plex etc, all works fine.
Tried my first Hello World app....
but even with help from one community member I cannot get any (console) feedback from Homey (after Flow Test).
The person who helped me does not have v 1.0.30 and it works for him.
The App is shown in Homey (Settings/Apps list)
When flow was added it was also visible in Flow manager.
But, this does not go beyond step 3/4
Any suggestions?
Homey Firmware Versie: 0.10.3
Yesterday I finally received my Homey.
Installed it, ran update. Added Plex etc, all works fine.
Tried my first Hello World app....
but even with help from one community member I cannot get any (console) feedback from Homey (after Flow Test).
The person who helped me does not have v 1.0.30 and it works for him.
The App is shown in Homey (Settings/Apps list)
When flow was added it was also visible in Flow manager.
But, this does not go beyond step 3/4
$ athom project --run
1/4 - Archiving...
2/4 - Uploading to Homey @ 192.168.1.229:80...
3/4 - Running `com.patrickbalm.hello`, press CTRL+C to abort...
(whatever I do, no 4/4 step is ever reached)
(whatever I do, no 4/4 step is ever reached)
Any suggestions?
Homey Firmware Versie: 0.10.3
node_version | v4.6.0 |
$ npm --version
2.15.9
Comments
The app is NOT listed below in the Apps section on the left pane of the UI.
Others are (like Plex, NOS Headlines,...)
And when I install it via athom project --run (see above post) that is all I get/see.
Any other pointers on where to look?
Did you start with https://developers.athom.com/ ?
[app.js]
[app.json]
Na $ athom project --run
een flow gemaakt:
{Als} Logica gezet "1>0"
{en} niets
{dan} "Patrick's Test"
Als ik deze Test dan zie ik een groene vink bij kader van 'Patrick's Test' verschijnen alleen ik zie geen console/log output en dat verbaasd me.
So, make Homey say something in your app.js when the action is being triggered and see if that works.
1. I did not install any other app via CLI
2. Does step 4/4 on your environment appear after a (short) period? Because it does not happen for me, not even after rebooting Homey.
The Apps from the store were installed first and after succesful playing with them I started my Hello World.
See screenshot for answers to your question(s).
but after a few seconds only seeing just step 3/4 i pressed enter (CLI loses connection with homey sometimes, then this helps)
and it finally showed step 4 etc, so try pressing enter a few times when step 3 is showing for a few seconds.
@caseda thx for the suggestion but there is no newline or any feedback on CLI, except when I press Ctrl+C.
Did you make a settings page? Your app will only appear when there are actually settings to adjust.
No I have not, but this is not my issue. I am just trying to get some console output.
The last line after $athom project --run
should mention 4/4 Debugging....
but is doesn't.
The app runs fine, but I can't get any Homey Log messages which makes debugging trickier.
Pressing <enter> on the CLI does not cause it to progress to step four (although I have seen that behaviour before).
https://github.com/athombv/node-athom-cli/issues/23#issuecomment-253881718
Thx.
I had to install socket.io-client@0.9.17 and afterwards run npm install -g athom-cli again to finally get this working.
socket.io-client was not even present on my machine!?
$ athom project --run
This is a guess, but what I suspect you did was install socket.io-client underneath the primary node_modules folder - at this stage, the version under athom-cli is still being used so that wouldn't have fixed it alone. Uninstalling and reinstalling athom-cli would have removed the version under athom-cli/node_modules and then on reinstall it would NOT have been installed into that folder again as you had it installed already (in the main node_modules folder)... does that makes sense?