This, doesn't bring it to life
- Code: Select all
plugin = indigo.server.getPlugin("com.nathansheldon.indigoplugin.PioneerReceiver")
if plugin.isEnabled():
plugin.restart()
But I seem to have better luck with the menu items:
-Disable
and then
-Reload
Can I assume that the above code which uses restart, is the same as the menu's reload?
What term can be used to replace plugin.restart() to get it to function like the menu's Disable? plugin.disable() doesn't work