Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Supportthread Resol-Adapter

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Supportthread Resol-Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Faz @Gargano last edited by

      @gargano hast du mir ein Link damit ich das richtige instaliere.

      Gargano 1 Reply Last reply Reply Quote 0
      • Gargano
        Gargano @Faz last edited by

        @faz https://github.com/danielwippermann/resol-vbus

        1 Reply Last reply Reply Quote 0
        • Gargano
          Gargano last edited by

          @faz Deinstalliere dann die Resol Instanz und neu Installieren nachdem der vbus Adapter installiert ist.

          F 1 Reply Last reply Reply Quote 0
          • F
            Faz @Gargano last edited by

            @gargano Myvbus installiert, Resol deinstalliert und neu installiert. Die mx.2xx Daten sind jetzt vorhanden.
            Fehlermelung ist die selbe.

            9ffbbdc4-d39c-4fa2-bccd-f929b314a756-grafik.png

            Gargano 1 Reply Last reply Reply Quote 0
            • Gargano
              Gargano @Faz last edited by

              @faz was sagt denn der Debug Log?

              F 1 Reply Last reply Reply Quote 0
              • F
                Faz @Gargano last edited by

                @gargano diese Fehlermeldungen

                36ab4d01-bb31-4a17-9ef2-c876df1b7ca7-grafik.png

                1 Reply Last reply Reply Quote 0
                • Gargano
                  Gargano last edited by

                  @faz Manchmal sieht man den Wald vor lauter Bäumen nicht. Da war ein Punkt zu viel im Namen.

                  Bitte nochmal dieses File
                  deltasol-mx2xx.js
                  in

                  /opt/iobroker/node_modules/iobroker.resol/lib/resol-setup
                  

                  kopieren und Instanz nochmal starten.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Faz @Gargano last edited by

                    @gargano keine Veränderung immer noch selber Fehler.

                    9cc947c1-8d0b-45db-ba0c-cd5888b5e170-grafik.png

                    Gargano 2 Replies Last reply Reply Quote 0
                    • Gargano
                      Gargano @Faz last edited by Gargano

                      @faz mmh. Da muss ich doch tiefer reintauchen.
                      Ich vermute mal , daß immer noch die Datei vom V1 genommen wird.

                      1 Reply Last reply Reply Quote 0
                      • Gargano
                        Gargano @Faz last edited by Gargano

                        @faz Jetzt müssen wir etwas debuggen.

                        Bitte im Verzeichnis

                        /opt/iobroker/node_modules/iobroker.resol
                        

                        main.js kopieren in main_org.js als Sicherheitskopie.

                        Dann in main.js die Zeile

                        ctx.hsc.on('headerSet', () => {
                        

                        suchen und dann die 3 Zeilen ergänzen die hier ganz links stehen.

                                   // HeaderSetConsolidator handler - creates object tree and updates values in preset interval
                                    ctx.hsc.on('headerSet', () => {
                                        const packetFields = spec.getPacketFieldsForHeaders(ctx.headerSet.getSortedHeaders());
                        this.log.debug('received raw data: ' + JSON.stringify(packetFields));
                                        const data = _.map(packetFields, function (pf) {
                                            return {
                                                id: pf.id,
                        minorVersion : pf.packet.minorVersion, 
                        majorVersion : pf.packet.majorVersion, 
                                                name: _.get(pf, ['packetFieldSpec', 'name', language]),
                                                rawValue: pf.rawValue,
                        

                        Instanz resol auf debug stellen und neu starten.
                        Die Ausgaben received raw data und received data hier posten. Aber bitte mit copy und paste in codetags, nicht als screenshot.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Faz @Gargano last edited by

                          @gargano es sind zu viele Zeichen um sie in codetags zu setzen.

                          received data.txt

                          received raw data.txt

                          Gargano 1 Reply Last reply Reply Quote 0
                          • Gargano
                            Gargano @Faz last edited by

                            @faz Danke , dann kannst Du die Zeile

                            this.log.debug('received raw data: ' + JSON.stringify(packetFields));
                            

                            auskommentieren , sonnst wird Dein Protokoll so voll gemüllt. ( mit // am Anfang)

                            Dann muß ich auf die Antwort vom Daniel warten. Ich hatte gehofft da gäbe es ein majorVersion

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              Faz @Gargano last edited by

                              @gargano erledigt, Dankeschön

                              Gargano 1 Reply Last reply Reply Quote 0
                              • Gargano
                                Gargano @Faz last edited by

                                @faz Du kannst nochmal eins versuchen.

                                Such mal im main.js dies :

                                const options = {
                                                    optimize: !readConfig
                                                };
                                

                                und ersetze es mit diesem

                                const options = {
                                                    optimize: !readConfig,
                                                    deviceMajorVersion : 2
                                                };
                                

                                dann die Instanz neu starten und schauen ob dann die Fehlermeldung weg ist.
                                Evtl. funktioniert es dann ja auch.

                                Andernfalls müssen wir auf Daniel warten.

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  Faz @Gargano last edited by

                                  @gargano sagte in Supportthread Resol-Adapter:

                                  const options =

                                  Hat leider auch nicht funktoniert. Fehlermeldung bleibt.

                                  1 Reply Last reply Reply Quote 0
                                  • Gargano
                                    Gargano last edited by Gargano

                                    @faz Daniel hat sich noch nicht gemeldet , aber jetzt habe ich noch etwas gefunden:
                                    Suche mal in main.js dies (das gibt es zwei mal, alle beide ersetzen)

                                    const optimizer = await vbus.ConfigurationOptimizerFactory.createOptimizerByDeviceAddress(context.deviceAddress);
                                    

                                    kommentiere es aus mit '//' am Anfang und setze dafür dies ein :

                                    const options1 = {
                                                        deviceAddress : context.deviceAddress,
                                                        version : 2
                                                    }
                                    const optimizer = await vbus.ConfigurationOptimizerFactory.createOptimizer(options1);
                                    

                                    Damit teilst Du dem Optimizer auch die Version mit.
                                    Und Instanz wieder neu starten.

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      Faz @Gargano last edited by

                                      @gargano Schade immer noch der gleiche Fehler.

                                      Gargano 1 Reply Last reply Reply Quote 0
                                      • Gargano
                                        Gargano @Faz last edited by

                                        @faz Versuch mal

                                        deviceMajorVersion : 2
                                        

                                        anstatt

                                        version : 2
                                        

                                        an beiden Stellen und die Instanz wieder neu starten.

                                        Ist im Moment ziemlich eine Raterei, aber ich meine da wäre die richtige Stelle.

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          Faz @Gargano last edited by

                                          @gargano sagte in Supportthread Resol-Adapter:

                                          deviceMajorVersion : 2

                                          Auch hier bleibt die Fehlermeldung.

                                          1 Reply Last reply Reply Quote 0
                                          • Gargano
                                            Gargano @Faz last edited by Gargano

                                            @faz sagte in Supportthread Resol-Adapter:

                                            Sollte da nicht die "resol-deltasol-mx-2xx-data.js" sein?

                                            Schau mal in dieses Verzeichnis ob, die Datei auch in dem Verzeichnis ist.

                                            /opt/iobroker/node_modules/iobroker.resol/node_modules/resol-vbus/src/configuration-optimizers
                                            

                                            Da wird wahrscheinlich auch die optimizer drin sein, aber ohne resol-deltasol-mx-2xx-data.js.

                                            Damit der Resol Adapter den richtigen Pfad nimmt ändere bitte ganz am Anfang den Pfad von

                                            const vbus = require('resol-vbus');
                                            

                                            nach

                                            const vbus = require('../resol-vbus');
                                            
                                            

                                            Und dann Instanz nochmal starten.

                                            F 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            411
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            140
                                            10636
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo