diff --git a/Alexa-Hue Bridge.indigoPlugin/Contents/Info.plist b/Alexa-Hue Bridge.indigoPlugin/Contents/Info.plist index c354451..9904592 100755 --- a/Alexa-Hue Bridge.indigoPlugin/Contents/Info.plist +++ b/Alexa-Hue Bridge.indigoPlugin/Contents/Info.plist @@ -3,7 +3,7 @@ PluginVersion - 3.0.34 + 3.0.35 ServerApiVersion 2.0 IwsApiVersion diff --git a/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/discovery.py b/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/discovery.py index a052012..eea0886 100755 --- a/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/discovery.py +++ b/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/discovery.py @@ -179,8 +179,9 @@ def run(self): # This is the exception thrown when someone else has bound to the UPNP port, so write some errors and # stop the thread (which really isn't needed, but it logs a nice stop debug message). if e.errno == errno.EADDRINUSE: + PLUGIN.responderLogger.error(u"'{}' Responder startup failed because another app or plugin is using the UPNP port.".format(indigo.devices[self.ahbDevId].name)) - PLUGIN.responderLogger.error(u"Open a terminal window and type 'sudo lsof -i :{}}' to see a list of processes that have bound to that port and quit those applications.".format(UPNP_PORT)) + PLUGIN.responderLogger.error(u"Open a terminal window and type 'sudo lsof -i :{}' to see a list of processes that have bound to that port and quit those applications.".format(UPNP_PORT)) self.stop() elif e.errno == errno.EADDRNOTAVAIL: PLUGIN.responderLogger.error(u"'{}' Responder startup failed because host address is not available.".format(indigo.devices[self.ahbDevId].name)) diff --git a/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/plugin.py b/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/plugin.py index 18a4762..8343b9a 100755 --- a/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/plugin.py +++ b/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/plugin.py @@ -768,7 +768,7 @@ def retrievePublishedDevices(self, valuesDict, ahbDevId, infoMsg, convertVersion elif numberPublished == 1: numberPublishedUI = 'one Alexa Device' else: - numberPublishedUI = str("u{} Alexa Devices".format(numberPublished)) + numberPublishedUI = u"{} Alexa Devices".format(numberPublished) if numberPublished <= DEVICE_LIMIT: self.generalLogger.info(u"'{}' has {} published".format(self.globals['alexaHueBridge'][ahbDevId]['hubName'], numberPublishedUI))