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
Permission for zones/devices
So I thought to write a simple app for homey, since nodejs is no problem for me.
Just some action cards like all on/off, and on/off per zone seems like a manageable project.
Nice exercise, not a whole lot of in depth documentation, but I think I know how to solve the issue.
So yeah, permissions... got it, add homey:manager:zones as permission to the app.json right?
Nope it errors on initialisation with: "invalid permission `homey:manager:zones`"
So I am wondering, is it not possible to do yet or am I doing it wrong?
In the meantime, I am looking in to the global all on/off.
Something driver something something
Just some action cards like all on/off, and on/off per zone seems like a manageable project.
Nice exercise, not a whole lot of in depth documentation, but I think I know how to solve the issue.
- Make a card. (done)
- Get the zones and devices.
- Send devices the on/off command.
Homey.manager('api').get('/manager/zones', func....But if I try to log the results in my app, it errors as follows: "[Error: missing_permission:homey:manager:zones] null"
So yeah, permissions... got it, add homey:manager:zones as permission to the app.json right?
Nope it errors on initialisation with: "invalid permission `homey:manager:zones`"
So I am wondering, is it not possible to do yet or am I doing it wrong?
In the meantime, I am looking in to the global all on/off.
Something driver something something
This discussion has been closed.
Comments
And why build an app over a 'hacky' way. Well:
"Give a man a fish and he'll eat for a day. Teach a man to fish, and he'll eat for a lifetime"
Off course faking speech does not require speech-to-text service. But it does require computing to understand the sentence. It's the difference between 1ms and 100ms (I estimate, even longer for more complicated sentences) to perform the task.