Ankündigung

Einklappen
Keine Ankündigung bisher.

Neues Plugin - Resol VBUS / Cosmo Multi, Solarthermie logging

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

    #46
    soll das heisen die versionsangabe von Python?

    classname:
    Name of the Python class to initialize (the class that implements the plugin)

    was soll ich da eintragen?

    Danke im Voraus!!!

    Kommentar


      #47
      Wie weiter oben im Thread steht Resol (aber halt nicht resol)
      Viele Grüße
      Martin

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

      Kommentar


        #48
        Danke Msinn!
        Plugin läuft, Items angelegt und es steht auch:

        Verbundene Trigger:
        bound method WebSocket.update_item of plugins.visu_websocket.WebSo
        bound method KNX.update_item of plugins.knx
        bound method Resol.update_item of plugins.resol.R
        bound method SQL.update_item of plugins.sqlite_visu2_8
        Nur kommen keine Werte! Nur 0.

        Wo kann ich prüfen ob er mit dem DL2 überhaupt redet?

        In der plugin.yaml:

        resol:
        class_name: Resol
        class_path: plugins.resol
        ip: 100.100.0.23
        cycle: 60
        port: 7053
        username: admin
        password: admin

        Im Item:

        resol:
        resol_source: 0x7821
        resol_destination: 0x0010
        resol_command: 0x0100

        vorlauftemperatur_solar:
        type: num
        resol_offset: 0
        resol_bituse: 15
        resol_factor: 0.1
        sqlite: yes
        knx_dpt: 9
        knx_status: 0/3/0
        knx_cache: 0/3/0
        knx_reply: 0/3/0
        cycle: 60
        enforce_updates: true

        Danke schonmal!

        Kommentar


          #49
          Da ich weder die Hardware noch das Plugin kenne, kann ich Dir da nicht weiterhelfen. Da müsstest Du Dich an den Autor des Plugins wenden.
          Viele Grüße
          Martin

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

          Kommentar


            #50
            Zitat von Holoman5 Beitrag anzeigen
            Danke Msinn!
            Plugin läuft, Items angelegt und es steht auch:

            Verbundene Trigger:
            bound method WebSocket.update_item of plugins.visu_websocket.WebSo
            bound method KNX.update_item of plugins.knx
            bound method Resol.update_item of plugins.resol.R
            bound method SQL.update_item of plugins.sqlite_visu2_8
            Nur kommen keine Werte! Nur 0.

            Wo kann ich prüfen ob er mit dem DL2 überhaupt redet?

            In der plugin.yaml:

            resol:
            class_name: Resol
            class_path: plugins.resol
            ip: 100.100.0.23
            cycle: 60
            port: 7053
            username: admin
            password: admin

            Im Item:

            resol:
            resol_source: 0x7821
            resol_destination: 0x0010
            resol_command: 0x0100

            vorlauftemperatur_solar:
            type: num
            resol_offset: 0
            resol_bituse: 15
            resol_factor: 0.1
            sqlite: yes
            knx_dpt: 9
            knx_status: 0/3/0
            knx_cache: 0/3/0
            knx_reply: 0/3/0
            cycle: 60
            enforce_updates: true

            Danke schonmal!
            Mit dem alten smarthome.py hat alles funktioniert! So zur Info

            Kommentar


              #51
              Zitat von Holoman5 Beitrag anzeigen
              Danke Msinn!
              Plugin läuft, Items angelegt und es steht auch:

              Verbundene Trigger:
              bound method WebSocket.update_item of plugins.visu_websocket.WebSo
              bound method KNX.update_item of plugins.knx
              bound method Resol.update_item of plugins.resol.R
              bound method SQL.update_item of plugins.sqlite_visu2_8
              Nur kommen keine Werte! Nur 0.

              Wo kann ich prüfen ob er mit dem DL2 überhaupt redet?

              In der plugin.yaml:

              resol:
              class_name: Resol
              class_path: plugins.resol
              ip: 100.100.0.23
              cycle: 60
              port: 7053
              username: admin
              password: admin

              Im Item:

              resol:
              resol_source: 0x7821
              resol_destination: 0x0010
              resol_command: 0x0100

              vorlauftemperatur_solar:
              type: num
              resol_offset: 0
              resol_bituse: 15
              resol_factor: 0.1
              sqlite: yes
              knx_dpt: 9
              knx_status: 0/3/0
              knx_cache: 0/3/0
              knx_reply: 0/3/0
              cycle: 60
              enforce_updates: true

              Danke schonmal!
              Aber Msinn wenn das Plugin unter smarthome.py einwandfrei funktionierte, und jetzt als Classic Plugin in der SmarthomeNG läuft. Sollte es dann nicht auch laufen?
              Sorry das ich so frech frage!

              Kommentar


                #52
                Ich würde erstmal sagen: ja. Aber für Details musst Du den Plugin Autor fragen.
                Viele Grüße
                Martin

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

                Kommentar


                  #53
                  Habe hier eine Version von Marcov abgelegt, die bei Holoman5 mit aktueller Version (SmarthomeNG 1.6) funktioniert:
                  https://github.com/KHome/resol

                  Msinn : Was müsste ich tun, damit es offiziell in das Plugin-Repo aufgenommen wird?

                  Kommentar


                    #54
                    Das Plugin ist noch ein Classic Plugin und wir sind gerade dabei die letzen Classic Plugins im Plugin-Repo auf SmartPlugin umzustellen oder retiren (mangels Interesse an den Plugins. Es finden sich z.B. keine Tester).

                    Seit einiger Zeit nehmen wir neue Plugins nur noch auf, wenn sie SmartPlugins sind. Da das Plugin relativ simpel ist, sollte eine Umstellung auf SmartPlugin nicht sonderlich komplex sein. Vorteil ist (wenn die Metadaten in der plugin.yaml vollständig gepflegt sind), dass das Plugin über die graphische Administrationsoberfläche konfigurierbar ist.

                    Btw.: Ich sehe Du kommst auf Bremen. Kennst Du den Thread zum KNXUF-Stammtisch Nord (Bremen) ?

                    Zuletzt geändert von Msinn; 07.03.2020, 15:48.
                    Viele Grüße
                    Martin

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

                    Kommentar


                      #55
                      Ja, den Stammtisch kenne ich. War letztes Jahr dabei - mal sehen ob es terminlich dieses Jahr geht.

                      Ich glaube bisher läuft das Resol-Plugin bei 3-4 Usern. Solange diese (Test-)User glücklich sind, sehe ich aktuell keinen Anlass.
                      Falls es jedoch in Zukunft notwendig wird, nehme ich mir die Zeit.

                      Kommentar


                        #56
                        Vielen Dank nochmal KHome!! als Tester biete ich mich gerne an wenn!

                        Kommentar


                          #57
                          Ich habe das Plugin auf Smartplugin umgestellt, leicht erweitert und schiebe es gleich in den Develop Branch.

                          VG
                          Alex

                          Kommentar


                            #58
                            Hallo

                            hab das NG neu aufgesetzt und das neue Resol Plugin ausprobiert.

                            die rot markierte Werte stimmen einfach nicht, die anderen Werte passen.

                            Parallel auf dem Raspi und dem Classic Plugin passt alles.

                            Code:
                            resol_source: '0x7821'
                            resol_destination: '0x0010'
                            resol_command: '0x0100'
                            
                            temperatur_aussen:
                            type: num
                            resol_offset: 12
                            resol_bituse: 15
                            resol_factor: 0.1
                            database: init
                            
                            [COLOR=#e74c3c]vorlauftemperatur_solar:
                            type: num
                            knx_dpt: 9
                            visu: 'yes'
                            visu_acl: ro
                            database: init
                            enforce_updates: true
                            knx_status: 0/3/0
                            knx_cache: 0/3/0
                            knx_reply: 0/3/0
                            resol_offset: 0
                            resol_bituse: 15
                            resol_factor: 0.1[/COLOR]
                            
                            [COLOR=#e74c3c]temperatur_brauchwasserkessel_solar_unten:
                            type: num
                            resol_offset: 2
                            resol_bituse: 15
                            resol_factor: 0.1
                            database: init
                            knx_dpt: 9
                            knx_status: 0/3/1
                            knx_cache: 0/3/1
                            knx_reply: 0/3/1
                            enforce_updates: true
                            
                            vorlauftemperatur_brauchwasserkessel:
                            type: num
                            resol_offset: 4
                            resol_bituse: 15
                            resol_factor: 0.1
                            database: init
                            knx_dpt: 9
                            knx_status: 0/3/2
                            knx_cache: 0/3/2
                            knx_reply: 0/3/2
                            enforce_updates: true[/COLOR]
                            
                            [COLOR=#e74c3c]temperatur_brauchwasserkessel_oben:
                            type: num
                            resol_offset: 6
                            resol_bituse: 15
                            resol_factor: 0.1
                            database: init
                            knx_dpt: 9
                            knx_status: 0/3/3
                            knx_cache: 0/3/3
                            knx_reply: 0/3/3
                            enforce_updates: true[/COLOR]
                            
                            vorlauftemperatur_fussbodenheizung:
                            type: num
                            resol_offset: 10
                            resol_bituse: 15
                            resol_factor: 0.1
                            database: init
                            knx_dpt: 9
                            knx_status: 0/3/4
                            knx_cache: 0/3/4
                            knx_reply: 0/3/4
                            enforce_updates: true
                            Was muss da angepasst werden?


                            Kommentar


                              #59
                              In der Log steht

                              PHP-Code:
                              2021-09-16 06:22:02 ERROR plugins.resol.PollData Method plugins.resol.PollData exception: [Errno 9Ungültiger Dateideskriptor
                              Traceback (most recent call last):
                              File "/usr/local/smarthome/lib/scheduler.py"line 664in _task
                              obj()
                              File "/usr/local/smarthome/plugins/resol/__init__.py"line 77in sock
                              self.load_data()
                              File "/usr/local/smarthome/plugins/resol/__init__.py"line 118in load_data
                              buf self.readstream()
                              File "/usr/local/smarthome/plugins/resol/__init__.py"line 143in readstream
                              data += self.recv()
                              File "/usr/local/smarthome/plugins/resol/__init__.py"line 128in recv
                              dat self.sock.recv(1024).decode('Cp1252')
                              OSError: [Errno 9Ungültiger Dateideskriptor 

                              Kommentar


                                #60
                                Hallo Holoman5 ,

                                ich habe in den letzten Wochen jede Menge Robustierungen des plugins vorgenommen. Hier wurden vor allem Problem behoben, die bei Problemen mit dem Websocket (siehe oben bei Dir) auftreten. Probier mal die neuste Version des Plugins im Develop Repository aus.

                                Kommentar

                                Lädt...
                                X