Habs nun doch mal getestet. Gibt wohl noch Probleme:
Line 293 ist die letzte Zeile: retval.extend(struct.pack('>lBB',value[0],[value[1],value[2]))
Code:
2019-04-03 13:12:57 ERROR Main Plugin knx exception: invalid syntax (dpts.py, line 293) Traceback (most recent call last): File "/usr/local/smarthome/lib/plugin.py", line 90, in __init__ plugin_thread = PluginWrapper(smarthome, plugin, classname, classpath, args, instance) File "/usr/local/smarthome/lib/plugin.py", line 127, in __init__ exec("import {0}".format(classpath)) File "<string>", line 1, in <module> File "/usr/local/smarthome/plugins/knx/__init__.py", line 46, in <module> from . import dpts File "/usr/local/smarthome/plugins/knx/dpts.py", line 293 retval.extend(struct.pack('>lBB',value[0],[value[1],value[2]))
Kommentar