This version of the API shipped with Indigo 7.5.0 - check the Api Version Chart to see what version of the API is available in which Indigo versions.
indigo.server.getPluginList() and check if a plugin instance is installed plugin.isInstalled().Added optional level argument to the indigo.server.log() method to specify the python logging level that will determine the Event Log window text color used. Possible values include: logging.INFO (black), logging.WARNING (orange), logging.ERROR (red). The default plugin instance logger will also now map self.logger.warn() to use an orange text color as well. Example usage:
import logging indigo.server.log("info log message which will show in black text", level=logging.INFO) indigo.server.log("warning log message which will show in orange text", level=logging.WARNING) indigo.server.log("error log message which will show in red text", level=logging.ERROR)
self.logger.info("info log message which will show in black text") self.logger.warn("warning log message which will show in orange text") self.logger.error("error log message which will show in red text")