Hallo,
bei mir lief das 1w Plugin nicht mehr -ich glaube nach dem Umstieg auf 1.4.
Die Konfiguration sah so aus:
Damit gibt es diesen Fehler:
Wenn ich cycle = 120 auskommentiere, funktioniert es.
Was mache ich falsch?
Gruß,
Hendrik
bei mir lief das 1w Plugin nicht mehr -ich glaube nach dem Umstieg auf 1.4.
Die Konfiguration sah so aus:
Code:
ow: class_name: OneWire class_path: plugins.onewire host: 192.168.177.3 port: 4304 cycle: 120
Code:
[LIST=1][*]2018-01-07 11:28:05 ERROR plugin lib.plugin Plugin 'onewire' from section 'ow' exception: invalid literal for int() with base 10: '' -- plugin.py:__init__:123[*]Traceback (most recent call last):[*]File "/usr/local/smarthome/lib/plugin.py", line 111, in __init__[*]plugin_thread = PluginWrapper(smarthome, plugin, classname, classpath, args, instance, self.meta)[*]File "/usr/local/smarthome/lib/plugin.py", line 413, in __init__[*]exec("self.plugin.__init__(smarthome{0}{1})".format("," if len(arglist) else "", argstring))[*]File "<string>", line 1, in <module>[*]File "/usr/local/smarthome/plugins/onewire/__init__.py", line 252, in __init__[*]self._cycle = int(cycle)[*]ValueError: invalid literal for int() with base 10: ''[/LIST]
Was mache ich falsch?
Gruß,
Hendrik
Kommentar