Asconasny wrote:Hi, nice work on this one
im getting this:
- Code: Select all
HomeKit Bridge Error Exception in plugin.onAfter_nonpluginDeviceUpdated line 677: 'ascii' codec can't encode character u'\xd8' in position 37: ordinal not in range(128)
CODE: self.logger.debug ("Indigo device {} changed and is linked to HomeKit, checking if that change impacts HomeKit".format(newDev.name))
HomeKit Bridge Error Exception in plugin.onAfter_nonpluginDeviceUpdated line 677: 'ascii' codec can't encode character u'\xd8' in position 37: ordinal not in range(128)
CODE: self.logger.debug ("Indigo device {} changed and is linked to HomeKit, checking if that change impacts HomeKit".format(newDev.name))
I'm betting that you have a strange character in the name of the device. Fortunately that's an "annoyance" message and not a functionality one, you should still work fine with that coming up since it's just an error trying to log something to the debugger, but I'll see if I can put something in for the next release to fix that. The worst case, based on where this code sits, is that you may have to restart your HomeKit server device or the plugin itself so it picks up whatever you changed in that particular device since it didn't auto-restart the HomeKit server as a result of your change.