Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter EnOcean v0.5.x

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Test Adapter EnOcean v0.5.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • michif100
      michif100 @Jey Cee last edited by

      @jey-cee Hallo, bei mir lief unter 0.5.4 alles tadellos, doch heute schaue ich nach einiger Zeit mal wieder ein und möchte über eine FSB14 Instanz ein CMD absetzen, doch es tut sich nichts am Aktor.
      Ich bin echt ratlos, im LOG sehe ich auch nichts Auffälliges. Habe dann testweise mal auf 0.6.0 erhöht, doch auch hier geht nichts mehr.

      Irgendwelche Tipps, wie ich bei der Problemsuche besser voran komme?

      Besten Dank

      (P.S.: Danke für die Einbindung von Serial-by-id!)

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

        @michif100 Jetzt sehe ich in der Konsole, dass folgender Fehler auftritt (Dachte vorher es bezieht sich auf ein FWS61):

        The data length for a 4BS telegram is incorrect. The length is 5
        

        Woher kommt denn das?

        Jey Cee 1 Reply Last reply Reply Quote 0
        • michif100
          michif100 @michif100 last edited by

          @michif100 Kompletter LOG:

          enocean.0
          2022-01-02 16:10:53.815	debug	Sent data: 55000b070180a50000020800ff992c810000ffc64302ff0083
          
          enocean.0
          2022-01-02 16:10:53.785	debug	Packet type 2 received: {"code":"OK"}
          
          enocean.0
          2022-01-02 16:10:53.784	debug	55000100026500
          
          enocean.0
          2022-01-02 16:10:53.769	warn	The data length for a 4BS telegram is incorrect. The length is 5
          
          enocean.0
          2022-01-02 16:10:53.765	debug	Sent data: 55000b070180a50000020800ff992c810000ffc64302ff0083
          
          enocean.0
          2022-01-02 16:10:53.741	warn	The data length for a 4BS telegram is incorrect. The length is 5
          
          enocean.0
          2022-01-02 16:10:53.733	debug	state ffc64302.CMD changed: 2 (ack = true) state: {"val":2,"ack":true,"ts":1641139853730,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1641139622743}
          
          enocean.0
          2022-01-02 16:10:53.725	debug	state ffc64302.CMD changed: 2 (ack = false) state: {"val":2,"ack":false,"ts":1641139853722,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1641139622743}
          
          1 Reply Last reply Reply Quote 0
          • Jey Cee
            Jey Cee Developer @michif100 last edited by

            @michif100 sagte in Test Adapter EnOcean v0.5.x:

            Woher kommt denn das?

            Das bedeutet es werden mehr Daten gesendet als für diesen Telegram Typ vorgesehen ist.
            Wenn die 0.5.4 zuerst funktioniert hat und dann nicht mehr gibst du wohl in einem Parameter einen falschen Wert mit.

            michif100 1 Reply Last reply Reply Quote 0
            • michif100
              michif100 @Jey Cee last edited by

              @jey-cee Hallo, danke für die schnelle Antwort. Das einzige, wa sich mache (und auch schon zuvor gemacht habe ist, in der Objekt-Übersicht über das Dropdown den Wert zu ändern. Keine eigenen Skripte etc, ich habe also nichts verstellt.

              Die einizige bewusste Änderung wäre das Update auf NodeJS 14 gewesen, weiß nicht, ob es danach noch ging. Kann das ein Problem sein?

              Bildschirmfoto 2022-01-02 um 17.41.29.png

              Jey Cee 1 Reply Last reply Reply Quote 0
              • Jey Cee
                Jey Cee Developer @michif100 last edited by

                @michif100 eine neue node version sollte keine Probleme machen.
                Verwendest du in ioBroker punkt oder komma als dezimal trennzeichen?
                Das ist in den Systemeinstellungen von ioBroker festgellegt.

                michif100 1 Reply Last reply Reply Quote 0
                • michif100
                  michif100 @Jey Cee last edited by

                  @jey-cee Ich verwende Komma. War von Beginn an so eingestellt.

                  Habe eben zum test mal iobroker neugestartet und mir dann den LOG dazu angeschaut. Es soll auch immer der Enocean Adapter nue aufgebaut werden. Nach einem Adapter Update verstehe ich das ja, das wurde aber ja nun schon gemacht, und es wird trotzdem ein Rebuild angestoßen:

                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	instance system.adapter.enocean.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	Caught by controller[0]: }
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.465	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.464	error	Caught by controller[0]: was compiled against a different Node.js version using
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.463	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.463	error	Caught by controller[0]: ^
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.463	error	Caught by controller[0]: throw e;
                  host.ubuntu-20-lts-vm
                  2022-01-02 18:13:20.463	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
                  
                  Jey Cee 1 Reply Last reply Reply Quote 0
                  • Jey Cee
                    Jey Cee Developer @michif100 last edited by

                    @michif100 dann ist das Problem das der rebuild vom adapter nicht klappt.

                    michif100 2 Replies Last reply Reply Quote 0
                    • michif100
                      michif100 @Jey Cee last edited by

                      @jey-cee Adapter löschen und neu installieren? Kann ich meine Geräte vorher exportieren, oder muss ich die wieder neu anlegen?

                      Jey Cee 1 Reply Last reply Reply Quote 0
                      • michif100
                        michif100 @Jey Cee last edited by

                        @jey-cee Eben mal den Adapter komplett gelöscht und versucht neu zu installieren:

                        $ iobroker url https://github.com/Jey-Cee/ioBroker.enocean --host ubuntu-20-lts-vm --debug
                        install Jey-Cee/ioBroker.enocean#b8dd92c56002e1d2ef27e25c4e92c33149461149
                        NPM version: 6.14.15
                        npm install Jey-Cee/ioBroker.enocean#b8dd92c56002e1d2ef27e25c4e92c33149461149 --prefix "/opt/iobroker" (System call)
                        npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        + iobroker.enocean@0.6.0updated 1 package in 8.065s
                        45 packages are looking for funding run `npm fund` for details
                        upload [6] enocean.admin /opt/iobroker/node_modules/iobroker.enocean/admin/words.js words.js application/javascript
                        upload [5] enocean.admin /opt/iobroker/node_modules/iobroker.enocean/admin/style.css style.css text/css
                        upload [4] enocean.admin /opt/iobroker/node_modules/iobroker.enocean/admin/index_m.html index_m.html text/html
                        upload [3] enocean.admin /opt/iobroker/node_modules/iobroker.enocean/admin/github.js github.js application/javascript
                        upload [2] enocean.admin /opt/iobroker/node_modules/iobroker.enocean/admin/enocean.png enocean.png image/png
                        upload [1] enocean.admin /opt/iobroker/node_modules/iobroker.enocean/admin/components.js components.js application/javascript
                        upload [0] enocean.admin /opt/iobroker/node_modules/iobroker.enocean/admin/admin.d.ts admin.d.ts video/mp2t
                        Process exited with code 0
                        
                        1 Reply Last reply Reply Quote 0
                        • Jey Cee
                          Jey Cee Developer @michif100 last edited by

                          @michif100 du kannst die Objekte exportieren und später wieder importieren, dann kannst du dir das neu anlernen Sparen.

                          michif100 1 Reply Last reply Reply Quote 0
                          • michif100
                            michif100 @Jey Cee last edited by

                            @jey-cee Habe ich gemacht, aber jetzt bekomme ich den Adapter gar nicht mehr installiert, weder 0.5.4 noch 0.6.0, siehe oben...

                            Jey Cee 1 Reply Last reply Reply Quote 0
                            • Jey Cee
                              Jey Cee Developer @michif100 last edited by

                              @michif100 versteh ich nicht, die Installation zeigt keine Fehler.
                              Hast du den auch eine Instanz hinzugefügt?

                              michif100 1 Reply Last reply Reply Quote 0
                              • michif100
                                michif100 @Jey Cee last edited by

                                @jey-cee Ähm doch, exited with code 0 ?
                                Oder habe ich da etwa sfalsch verstanden. Über die Admin Oberfläche kann ich jedenfalls kein Instanz erstellen. Muss ich das über die Konsole machen?

                                Jey Cee 1 Reply Last reply Reply Quote 0
                                • Jey Cee
                                  Jey Cee Developer @michif100 last edited by

                                  Exit code 0 bedeutet keine Fehler.

                                  Im Adapter Tab siehst du den Adapter mit der Installierten Version. Dort kannst du mit dem + eine Instanz hinzufügen.

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Jey Cee last edited by

                                    @jey-cee sagte in Test Adapter EnOcean v0.5.x:

                                    Exit code 0 bedeutet keine Fehler.

                                    Im Adapter Tab siehst du den Adapter mit der Installierten Version. Dort kannst du mit dem + eine Instanz hinzufügen.

                                    @michif100
                                    https://www.iobroker.net/de/tutorial/media/Instance_new.gif

                                    michif100 1 Reply Last reply Reply Quote 0
                                    • michif100
                                      michif100 @Homoran last edited by michif100

                                      @homoran said in Test Adapter EnOcean v0.5.x:

                                      @jey-cee sagte in Test Adapter EnOcean v0.5.x:

                                      Exit code 0 bedeutet keine Fehler.

                                      Im Adapter Tab siehst du den Adapter mit der Installierten Version. Dort kannst du mit dem + eine Instanz hinzufügen.

                                      @michif100
                                      https://www.iobroker.net/de/tutorial/media/Instance_new.gif

                                      So kannte ich das eigentlich auch, war aber nichts da. Nach nochmaligem Neustart war der Adapter nun zu sehen, ich konnte eine Instanz erstellen und nun funktioniert alles wieder!! Tausend Dank!

                                      @Jey-Cee P.S.: Ich stelle dir gerne einen Afriso CO2 Sensor zur Verfügung, wenn du denn implementieren kannst.
                                      Ich meine, dass der auch recht gut dokumentiert ist.
                                      Bei Bedarf gerne PM.

                                      1 Reply Last reply Reply Quote 0
                                      • Jey Cee
                                        Jey Cee Developer last edited by

                                        Ab sofort geht es Hier mit der version 0.6.1 weiter.

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        886
                                        Online

                                        31.6k
                                        Users

                                        79.4k
                                        Topics

                                        1.3m
                                        Posts

                                        enocean enocean adapter
                                        13
                                        90
                                        7385
                                        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