I am trying to use a set of on/off URL's that require basic HTTP authentication. This worked fine under v1.53. Now I get the follwing error:
Code: Select all
EPS - Device Extensions Error Exception in plugin.urlDeviceAction line 1810: global name 'base64' is not defined
CODE: b64 = base64.encodestring('%s:%s' % (dev.pluginProps["username"], dev.pluginProps["password"])).replace('\n', '')
EPS - Device Extensions Error send "Skylight blinds" on failed
1) Under the core python libraries, import base64 has been omitted from the new version.
2) If I try to add the import base64, reload the plugin and turn the device on, I get a new error:
Code: Select all
<addinfourl at 4527938088 whose fp = <socket._fileobject object at 0x10da4ba50>>Reverting back to v1.53 has fixed the error for now.
My support information is as follows:
Code: Select all
#####################################################################
# EPS - Device Extensions #
#####################################################################
# #
# Plugin Version : 2.0.7 #
# Template Version : 3.2.1 #
# Core Engine Version : 2.4.5 #
# Indigo Version : 7.1.1 #
# Indigo API Version : 2.0 #
# #
# Alphas, Betas and Pre-Releases can be downloaded from: #
# https://github.com/Colorado4Wheeler #
# #
# All support inquiries, questions or comments go to: #
# http://forums.indigodomo.com/viewforum.php?f=192 #
# #
# Copyright (c) 2018 - Colorado4Wheeler & EPS #
# #
#####################################################################