how do i find plugin id for sonos plugin?
Posted: Fri Mar 28, 2014 3:33 pm
I find that occasionally one of my units will not respond to the speak command. restarting the plugin fixes it. i'd like to auto-restart the plugin on a schedule. I found this from Jay or Matt on another plugin thread:
I've dug around in the sonos plugin folder and package, but cannot find the id.
1. how do i find it?
2. what is it?
Thanks.
- Code: Select all
I just dug it out of the plugin: com.johnemeryray.nestthermostat
Revised script:
CODE: SELECT ALL
pluginId = "com.johnemeryray.nestthermostat" # supplied by the plugin's documentation
plugin = indigo.server.getPlugin(pluginId)
plugin.restart()
Just run that from a schedule periodically and it'll restart the plugin.
I've dug around in the sonos plugin folder and package, but cannot find the id.
1. how do i find it?
2. what is it?
Thanks.