I have been experimenting with the MyCroft open source voice assistant and associated homeseer skill.
The skill makes a request to <HomeSeer URL>/JSON?request=getstatus to retrieve a list of available devices. It does not seem to pay any attention to the "voice" property of each device and returns every device in the system.
As you might expect, this makes voice commands difficult as a lot of devices can share similar names.
What I would like to do, is create a user account specifically for Mycroft, and have it scoped to only be able to access a small number of voice controllable devices.
Unfortunately every device already in the system is set to "All Users" for access.
What I need to be able to do is set every device to "Admin users". Following that I can manually add the Mycroft guest account to a few devices for control.
Does anyone have a script or other method that can systematically edit the permissions on a few hundred devices?
Thanks.
The skill makes a request to <HomeSeer URL>/JSON?request=getstatus to retrieve a list of available devices. It does not seem to pay any attention to the "voice" property of each device and returns every device in the system.
As you might expect, this makes voice commands difficult as a lot of devices can share similar names.
What I would like to do, is create a user account specifically for Mycroft, and have it scoped to only be able to access a small number of voice controllable devices.
Unfortunately every device already in the system is set to "All Users" for access.
What I need to be able to do is set every device to "Admin users". Following that I can manually add the Mycroft guest account to a few devices for control.
Does anyone have a script or other method that can systematically edit the permissions on a few hundred devices?
Thanks.
Comment