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.
Official
Comments
This is a breaking release for anyone using the API calls to trigger flows.
The Authorization header with bearer token is now obligated for security reasons.
I use this app a lot and it always worked flawless. Great addition to Homey!
Today I've updated the app to 1.0.0 but the GET triggers aren't working for me.
Tried the http://<YourHomeyIP>/api/app/com.internet/<event>; on the same network what didn't trigger my flow.
When trying to get it triggered from out of the network (with the right token) this message is popping up:
Any idea what may cause the GET function not triggering any flows?
-edit-
I reinstalled all flows after instalation
The bearer token is only needed for external access isn't it?
Nope. It's required on all calls.
I use the the url: htpp://<Homey-ip>/api/app/com.internet/micaan
Where do I have the put the Bearer Token in the url?
It's not recommended to put the bearer-token in the url, a provider may support this however. I tried with access-token, access_token, auth_token, auth-token bearer-token and bearer_token but none of these are supported by Homey...
I asked the guys of this app for some assistance to get it working as well.
For now it looks like only POST and PUT with bearer tokens is supported in the app.
Nevertheless, great work again Erik!
Don't forget to restart the app (you can do this on the apps overview screen) after changing the settings.
By default it will require authorization.
You know you can register an callback when settings change?
There you can stop/restart/unregister etc your listeners/things.
Example (from my, yet unpublished, app)
I see an upcoming feature request
Settings - System - Show Stuff for geeks - node_version
Install Node.js:
Download Node.js (Homey's version) from https://nodejs.org/en/ and install it on your PC.
Download App.ZIP from GitHub (https://github.com/...) to your PC:
Click "Download ZIP"
Unpack ZIP:
Unpack App.ZIP on your PC
Open Node.js command prompt, and install the athom-cli tools:
npm install -g athom-cli
On the command prompt, log in to your Homey:
athom login
Navigate to the 'root' folder of the App on your PC
For running project:
athom project --run
For installing project:
athom project --run
Yes. You can read the instructions in the app store.