Du sprichst in Rätseln. Die Plugin Liste hat mit dem Item Tree nichts zu tun und sollte im Item Tree auch nicht erscheinen.
Ankündigung
Einklappen
Keine Ankündigung bisher.
einfache Lichtschaltung über smartVISU klappt nicht
Einklappen
X
-
plugin datei.png
Item Baum.png
Plugin Liste.png
so sieht es aus, wenn ich ich "knx" und "plugin name: knx" kommentiert lasse.
Kommentar
-
Zitat von Msinn Beitrag anzeigenDu sprichst in Rätseln. Die Plugin Liste hat mit dem Item Tree nichts zu tun und sollte im Item Tree auch nicht erscheinen.
Kommentar
-
habe es jetzt verstanden mit dem log-files. Es gibt mehrere Seiten 😅
Code:in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 21:22:41 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 21:22:41 CRITICAL lib.config No valid file '/usr/local/smarthome/etc/plugin.*' found with plugin configuration 2020-12-27 21:27:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 21:28:49 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 21:29:21 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 21:29:26 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 21:29:26 CRITICAL lib.config No valid file '/usr/local/smarthome/etc/plugin.*' found with plugin configuration 2020-12-27 21:29:41 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 21:29:41 CRITICAL lib.config No valid file '/usr/local/smarthome/etc/plugin.*' found with plugin configuration 2020-12-27 21:32:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 21:37:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 21:42:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 21:47:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 21:52:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 21:57:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 22:01:34 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 22:02:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 22:03:31 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 22:03:31 CRITICAL lib.config No valid file '/usr/local/smarthome/etc/plugin.*' found with plugin configuration 2020-12-27 22:04:57 ERROR lib.shyaml YAML-file load error in /usr/local/smarthome/etc/plugin.yaml: while parsing a block mapping in "<unicode string>", line 3, column 1: cli: ^ (line: 3) expected <block end>, but found '<block mapping start>' in "<unicode string>", line 39, column 2: knx: ^ (line: 30) NOTE: Look for the error at the expected <block end>, near the second specified line number 2020-12-27 22:07:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 22:12:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 22:17:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads' 2020-12-27 22:22:25 ERROR logics.env_stat Logic: logics.env_stat, File: /usr/local/smarthome/lib/env/stat.py, Line: 26, Method: <module>, Exception: 'Item' object has no attribute 'threads' > Traceback (most recent call last): > File "/usr/local/smarthome/lib/scheduler.py", line 632, in _task > exec(obj.bytecode) > File "/usr/local/smarthome/lib/env/stat.py", line 26, in <module> > sh.env.core.threads(threading.activeCount(), logic.lname) > AttributeError: 'Item' object has no attribute 'threads'
Kommentar
-
Zitat von wvhn Beitrag anzeigenMit welchem Editor hast Du die yaml Dateien bearbeitet? Ist der auf UTF-8 Codierung eingestellt?
Kommentar
-
OK, gut. Wenn Du jetzt Lampen über den item-Baum schalten kannst (was auch immer dazu geführt haben mag, dass das jetzt klappt), dann kannst Du mit smartVISU weiter machen. Dazu muss in smarthomeNG das Plugin "visu_websocket" aktiviert sein und in der Konfiguration der smartVISU muss die IP-Adresse Deines Raspberrys und der Port 2424 eingestellt sein.
Wenn alles richtig eingestellt ist, sollte das Schalten der Lampe mit Deiner oben geposteten Testseite funktionieren.
Kommentar
-
Zitat von bmx Beitrag anzeigenBeende SHNG sofern es läuft dann lösche mal alle logfiles aus var/log und starte neu. Dann wieder beenden und die logfiles hier oder über ein gist posten.
Kommentar
Kommentar