You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››

Permissions

An app (which is actually just an API user) requires permissions. The permission model is based on the Homey URI scheme.

Examples:

  • homey:manager:speech-output
  • homey:manager:ledring
  • homey:wireless:433

Permissions are shown to the user before they install your app. So only include permissions you actually need, or users might not trust your app!

An overview of all available permissions can be found on GitHub.

Adding permissions

Permissions are added to your /app.json, in an array named permissions.

/app.json

"id": "com.athom.weather",
...,
"permissions": [
	"homey:manager:speech-output",
	"homey:manager:ledring",
	"homey:app:com.athom.example"
]

App-to-app communication

Apps can also talk to each other through their API's, however you need to define the correct permissions first. Follow Homey's URI scheme, where the last part is the app's ID.

Examples:

  • homey:app:com.athom.example
  • homey:app:com.yahoo.weather

Visit ApiApp to learn more about apps talking to each other.