Hallo,
ich scheitere mit dem Versuch dem Plugin One Wire einen Wert für CYCLE zu übergeben [SmartHome NG (Vers. 1.4.2)].
In der Anwenderdokumentation, genauer gesagt in der englischsprachigen README-Datei, ist das noch beschrieben:
Debugauszug bzw.Fehlermeldung:
Beste Grüße
ich scheitere mit dem Versuch dem Plugin One Wire einen Wert für CYCLE zu übergeben [SmartHome NG (Vers. 1.4.2)].
In der Anwenderdokumentation, genauer gesagt in der englischsprachigen README-Datei, ist das noch beschrieben:
Advanced options in plugin.conf. Please be careful.
- 'cycle' = timeperiod between two sensor cycles. Default 300 seconds. If you decrease the cycle to much you could destabilise the bus, because of the increased power consumption.
- 'io_wait' = timeperiod between two requests of 1-wire I/O chip. Default 5 seconds.
- 'button_wait' = timeperiod between two requests of ibutton-busmaster. Default 0.5 seconds.
Code:
2018-01-20 19:49:09 DEBUG plugin Main PluginWrapper __init__: Section ow, classname OneWire, classpath plugins.onewire -- plugin.py:__init__:356 2018-01-20 19:49:09 DEBUG plugin Main Plugin 'OneWire': args = '{'host': "'127.0.0.1'", 'cycle': "'150'", 'port': "'4304'"}' -- plugin.py:__init__:394 2018-01-20 19:49:09 DEBUG metadata Main plugin 'onewire': Found 'host' with value '127.0.0.1' in /etc/plugin.yaml -- metadata.py:check_parameters:611 2018-01-20 19:49:09 DEBUG metadata Main plugin 'onewire': Found 'port' with value '4304' in /etc/plugin.yaml -- metadata.py:check_parameters:611 2018-01-20 19:49:09 ERROR plugin Main 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: ''
Kommentar