Ankündigung

Einklappen
Keine Ankündigung bisher.

einfache Lichtschaltung über smartVISU klappt nicht

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #31
    Du sprichst in Rätseln. Die Plugin Liste hat mit dem Item Tree nichts zu tun und sollte im Item Tree auch nicht erscheinen.
    Viele Grüße
    Martin

    There is no cloud. It's only someone else's computer.

    Kommentar


      #32
      ich mache mal paar Screenshots dann zeige ich es euch.

      Kommentar


        #33
        plugin datei.png
        Item Baum.png
        Plugin Liste.png

        so sieht es aus, wenn ich ich "knx" und "plugin name: knx" kommentiert lasse.

        Kommentar


          #34
          Zitat von Msinn Beitrag anzeigen
          Du sprichst in Rätseln. Die Plugin Liste hat mit dem Item Tree nichts zu tun und sollte im Item Tree auch nicht erscheinen.
          habe ich auch gedacht.

          Kommentar


            #35
            alles zurück sorry

            Kommentar


              #36
              jetzt bin ich etwas verwirrt habe drei mal die plugin.yaml datei geändert und drei mal kam der Fehler. Und jetzt ist alles wieder gut

              verstehe ich nicht

              Kommentar


                #37
                Was sagen denn die logfiles?

                Kommentar


                  #38
                  meinst du im Administrator-Interface?
                  log.png

                  Kommentar


                    #39
                    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


                      #40
                      Mit welchem Editor hast Du die yaml Dateien bearbeitet? Ist der auf UTF-8 Codierung eingestellt?

                      Kommentar


                        #41
                        Zitat von wvhn Beitrag anzeigen
                        Mit welchem Editor hast Du die yaml Dateien bearbeitet? Ist der auf UTF-8 Codierung eingestellt?
                        mit notepad++ und ist auf UTF-8.

                        Kommentar


                          #42
                          Es lassen sich die Lampen ein- und auschalten über den Schiebeschalter im ITEM-BAUM.

                          Kommentar


                            #43
                            Beende 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


                              #44
                              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


                                #45
                                Zitat von bmx Beitrag anzeigen
                                Beende 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.
                                was genau soll ich löschen? Ich habe da viele Ordner und Dateientypen.

                                Kommentar

                                Lädt...
                                X