IndigoDomotics / alexa-hue-bridge

An Indigo plugin that exposes devices as Hue lights for Amazon Alexa devices (Echo, Fire TV)
The Unlicense
22 stars 2 forks source link

International (Swedish) characters in device names not handled #16

Closed glitz1 closed 6 years ago

glitz1 commented 6 years ago

I have a few virtual devices with Swedish characters (åäöÅÄÖ). If any of these characters are in the device name, I get the error below in the event log and the list of devices in the configuration dialogue in the "published alexa devices" is blank (no devices are shown). I have version 3.0.20 of the hue bridge and Indigo 7.1.1.

Please correct this, I really want to be able to use Swedish characters in the device names. I guess other characters (like for example German) will generate the same error.

Alexa-Hue Bridge Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last): File "plugin.py", line 1541, in publishedAlexaDevicesList UnicodeEncodeError: 'ascii' codec can't encode character u'\xd6' in position 7: ordinal not in range(128)

FlyingDiver commented 6 years ago

Please try pre-release 3.0.29: https://github.com/IndigoDomotics/alexa-hue-bridge/releases/tag/3.0.29

glitz1 commented 6 years ago

Works like a charm! Thanks for the quick fix!