Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter KNX v1.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lessthanmore @loverz last edited by

      @loverz Was passiert denn wenn du die 1.0.38 auswählst, wartest bis sie installiert ist, du die Seite aktualisierst und dann erneut auf die Katze gehst?
      Bei mir wird dann die 1.0.20 angezeigt.

      L 1 Reply Last reply Reply Quote 0
      • L
        loverz @lessthanmore last edited by

        @lessthanmore also auf der Katze installiert er grundsätzlich immer die neueste auf Github verfügbare Version.

        Ich mach das immer hier hinten:
        7e7ccad7-d5bc-4bfd-a570-e6dd752e5a0e-image.png

        Da ändert sich aber nichts, wenn ich auf 1.0.38 gehe, dann bleibt 1.0.38 die älteste auswählbare...

        L 1 Reply Last reply Reply Quote 0
        • L
          lessthanmore @loverz last edited by

          @loverz Kein Plan wie das über npm geht.

          L 1 Reply Last reply Reply Quote 0
          • L
            loverz @lessthanmore last edited by loverz

            @lessthanmore wo konntest du bei dir über die Katze 1.0.20 sehen?

            mit folgendem Github Link hab ich es sogar geschafft 0.7.0 zu installieren:
            https://github.com/ioBroker/ioBroker.knx/tree/0.7.0

            die scheint bisher auch zu laufen 😄

            L 1 Reply Last reply Reply Quote 0
            • L
              lessthanmore @loverz last edited by

              @loverz Bin erst auf die 1.0.38 und danach auf die 1.0.20. War aber noch vor dem neuen admin.
              Ob es jetzt noch geht kann ich nicht mehr testen, da ich den Adapter nicht mehr verwende.

              1 Reply Last reply Reply Quote 1
              • L
                loverz last edited by

                ich suche nach wie vor einen Weg zurück zur 1.0.20 zu gelangen. Leider klappt es nicht mehr, was mache ich falsch?

                Befehl:

                cd /opt/iobroker
                npm i iobroker.knx@1.0.20
                

                Fehlermeldung:

                pi@ioBroker-RasPi4:/opt/iobroker $ npm i iobroker.knx@1.0.20
                npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/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":"arm"})
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/string-similarity/package.json'
                npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/xpath/package.json'
                 
                npm ERR! code EACCES
                npm ERR! syscall unlink
                npm ERR! path /opt/iobroker/node_modules/eibd/bin/groupread
                npm ERR! errno -13
                npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/eibd/bin/groupread'
                npm ERR!  [OperationalError: EACCES: permission denied, unlink '/opt/iobroker/node_modules/eibd/bin/groupread'] {
                npm ERR!   cause: [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/eibd/bin/groupread'] {
                npm ERR!     errno: -13,
                npm ERR!     code: 'EACCES',
                npm ERR!     syscall: 'unlink',
                npm ERR!     path: '/opt/iobroker/node_modules/eibd/bin/groupread'
                npm ERR!   },
                npm ERR!   errno: -13,
                npm ERR!   code: 'EACCES',
                npm ERR!   syscall: 'unlink',
                npm ERR!   path: '/opt/iobroker/node_modules/eibd/bin/groupread',
                npm ERR!   parent: 'iobroker'
                npm ERR! }
                npm ERR!
                npm ERR! The operation was rejected by your operating system.
                npm ERR! It is likely you do not have the permissions to access this file as the current user
                npm ERR!
                npm ERR! If you believe this might be a permissions issue, please double-check the
                npm ERR! permissions of the file and its containing directories, or try running
                npm ERR! the command again as root/Administrator.
                 
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/pi/.npm/_logs/2021-09-27T19_39_58_773Z-debug.log
                 
                
                T 1 Reply Last reply Reply Quote 0
                • T
                  Tontechniker @loverz last edited by Tontechniker

                  @loverz
                  Achtung! Vor dieser Aktion ein Backup Deiner aktuellen IoBroker-Installation machen!

                  Ich würde es ändern mit

                  cd /opt/iobroker
                  iobroker stop
                  npm install iobroker.knx@1.0.20 --production
                  iobroker start

                  Das hat bis letzte Woche noch funktioniert!
                  Dann natürlich die bestehende Instanz KNX 0 (1.0.xx) löschen und die Instanz KNX 0 (Adapter 1.0.20) mit "+" wieder neu erzeugen.

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    loverz @Tontechniker last edited by

                    @tontechniker endet leider im gleichen Ergebnis:

                    pi@ioBroker-RasPi4:~ $ cd /opt/iobroker
                    pi@ioBroker-RasPi4:/opt/iobroker $ iobroker stop
                    pi@ioBroker-RasPi4:/opt/iobroker $ npm install iobroker.knx@1.0.20 --production
                    npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/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":"arm"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/eibd/package.json'
                    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/string-similarity/package.json'
                    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/xpath/package.json'
                    
                    npm ERR! code EACCES
                    npm ERR! syscall unlink
                    npm ERR! path /opt/iobroker/node_modules/iobroker.knx/node_modules/string-similarity/src/index.js
                    npm ERR! errno -13
                    npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.knx/node_modules/string-similarity/src/index.js'
                    npm ERR!  [OperationalError: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.knx/node_modules/string-similarity/src/index.js'] {
                    npm ERR!   cause: [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.knx/node_modules/string-similarity/src/index.js'] {
                    npm ERR!     errno: -13,
                    npm ERR!     code: 'EACCES',
                    npm ERR!     syscall: 'unlink',
                    npm ERR!     path: '/opt/iobroker/node_modules/iobroker.knx/node_modules/string-similarity/src/index.js'
                    npm ERR!   },
                    npm ERR!   errno: -13,
                    npm ERR!   code: 'EACCES',
                    npm ERR!   syscall: 'unlink',
                    npm ERR!   path: '/opt/iobroker/node_modules/iobroker.knx/node_modules/string-similarity/src/index.js',
                    npm ERR!   parent: 'iobroker.knx'
                    npm ERR! }
                    npm ERR!
                    npm ERR! The operation was rejected by your operating system.
                    npm ERR! It is likely you do not have the permissions to access this file as the current user
                    npm ERR!
                    npm ERR! If you believe this might be a permissions issue, please double-check the
                    npm ERR! permissions of the file and its containing directories, or try running
                    npm ERR! the command again as root/Administrator.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/pi/.npm/_logs/2021-09-28T18_51_59_956Z-debug.log
                    
                    

                    Er scheint irgendwie Zugriffsprobleme mit irgendwelchen "node_modules" zu haben.

                    Wenn ich die Objekte hier sichere:
                    228d7282-6130-496e-b992-1cc1c3fb1747-image.png

                    Kann ich sie dann nach der Adapterlöschung genau so wiederherstellen, wie ich sie gesichert habe?
                    Dann würde ich es mal probieren vor dem Befehl den Adapter bzw. die Instanz zu löschen.

                    1 Reply Last reply Reply Quote 0
                    • L
                      loverz last edited by

                      Im Übrigen kommen nach dem Neustart des iobroker auch immer folgende Fehlermeldungen vom KNX Adapter:

                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.339	info	Restart adapter system.adapter.knx.0 because enabled
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.338	error	instance system.adapter.knx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.338	error	Caught by controller[0]: }
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.337	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.knx/knx.js' ]
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.337	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.336	error	Caught by controller[0]: at Object.7../dpt2iobroker.js (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:267585) {
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.336	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.knx/knx.js:1:33256
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.336	error	Caught by controller[0]: at _0x266b04 (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:33149)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.335	error	Caught by controller[0]: at Object.6../DPT-definition.js (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:228392)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.335	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.knx/knx.js:1:33256
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.334	error	Caught by controller[0]: at _0x266b04 (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:32855)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.334	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.333	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.333	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.333	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.332	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.knx/knx.js
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.332	error	Caught by controller[0]: Require stack:
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.331	error	Caught by controller[0]: Error: Cannot find module 'string-similarity'
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.331	error	Caught by controller[0]: ^
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.330	error	Caught by controller[0]: throw err;
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:04.330	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                      host.ioBroker-RasPi4
                      2021-09-28 20:56:00.963	info	instance system.adapter.knx.0 started with pid 6935
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.898	info	Restart adapter system.adapter.knx.0 because enabled
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.897	error	instance system.adapter.knx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.897	error	Caught by controller[0]: }
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.896	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.knx/knx.js' ]
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.896	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.895	error	Caught by controller[0]: at Object.7../dpt2iobroker.js (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:267585) {
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.895	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.knx/knx.js:1:33256
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.895	error	Caught by controller[0]: at _0x266b04 (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:33149)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.894	error	Caught by controller[0]: at Object.6../DPT-definition.js (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:228392)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.894	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.knx/knx.js:1:33256
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.893	error	Caught by controller[0]: at _0x266b04 (/opt/iobroker/node_modules/iobroker.knx/knx.js:1:32855)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.893	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.892	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.892	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.891	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.891	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.knx/knx.js
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.891	error	Caught by controller[0]: Require stack:
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.890	error	Caught by controller[0]: Error: Cannot find module 'string-similarity'
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.890	error	Caught by controller[0]: ^
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.889	error	Caught by controller[0]: throw err;
                      host.ioBroker-RasPi4
                      2021-09-28 20:55:30.888	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                      

                      Ich muss die KNX Instanz immer nochmal manuell Neustarten, dass sie läuft.

                      In den Fehlermeldungen steht auh wieder etwas von "node_modules"
                      ->Ich glaube das erste Problem (Downgradeproblem) hängt mit diesem hier zusammen.

                      1 Reply Last reply Reply Quote 0
                      • L
                        loverz last edited by loverz

                        also das mit den Objekten Exportieren klappt wie ich mir das vorgestellt habe.

                        Nun habe ich den KNX Adapter gelöscht, mit dem Befehl:

                        npm install iobroker.knx@1.0.20 --production
                        

                        neu installiert.

                        v1.0.20 läuft direkt perfekt!

                        Werde wohl nie wieder auf ne höhere Version updaten 🐶

                        Noch eine kleine Frage:
                        Mir wird das hier angeboten:
                        6a7af33a-b4a3-46b8-ba79-31f4deac3818-image.png

                        sollte man das machen?

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @loverz last edited by

                          @loverz sagte in Test Adapter KNX v1.0.x:

                          Mir wird das hier angeboten:

                          sollte man das machen?

                          Nein ... nicht machen .
                          Bleib bei NPM 6.....

                          https://forum.iobroker.net/topic/46758/js-controller-3-3-jetzt-im-stable

                          1 Reply Last reply Reply Quote 1
                          • J
                            JojoS last edited by

                            ich habe auch noch das Pärchen Problem und schon mehrfach probiert, warum passt das nicht?

                            dc8a9e2d-5945-41bd-afe3-dd4b517fc86b-grafik.png

                            habe den Adapter 1.45 mit loglevel Alles oder Debug gestartet, da kommen auch keine Fehlermeldungen

                            L L 3 Replies Last reply Reply Quote 0
                            • L
                              lessthanmore @JojoS last edited by

                              @jojos 1/0/0 Hobbykeller Licht links schalten, 1/0/1 Hobbykeller Licht links schalten Status, usw.
                              Das gehört zusammen und nicht in unterschiedliche Bereiche.

                              1 Reply Last reply Reply Quote 0
                              • L
                                loverz @JojoS last edited by

                                @jojos deine Gruppenadressen sind nicht so angeordnet, wie sie es sollten.
                                GAs sollten so aufgebaut sein:
                                Etage/Typ/Raum
                                z.B.
                                EG/Beleuchtung/Wohnzimmer_schalten
                                EG/Beleuchtung/Wohnzimmer_schalten_Status

                                oder
                                OG/Jalousie/Küche_Jalousie_Position
                                OG/Jalousie/Küche_Jalousie_Position_Status

                                1 Reply Last reply Reply Quote 0
                                • L
                                  lessthanmore @JojoS last edited by

                                  @jojos https://www.knx.org/wAssets/docs/downloads/Marketing/Flyers/KNX-Project-Preparation/KNX-Project-Preparation_de.pdf
                                  Ab Seite 11 mal in Ruhe durchlesen. Ist natürlich nur ein Vorschlag.

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    loverz @lessthanmore last edited by

                                    @lessthanmore ist doch genau so wie ich vorgeschlagen habe 😉

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      JojoS last edited by

                                      Danke für die Antworten. Für die Gruppen gibt es ja verschiedene Schemata, ich hatte erst mit Etage/Typ/Raum angefangen, fand das aber unpraktisch. Im KNX Forum hatte ich verschiedene Diskussionen und Vorschläge gefunden, daher kam dieses.
                                      Ich habe jetzt gesehen das in anderen Gruppen doch Pärchen sind, da hatt die Mittelgruppe noch den Anhang 'Status'. Muss ich mir nochmal ansehen, wenn die Nachwirkungen der gestrigen Party abgeklungen sind.

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        loverz @JojoS last edited by

                                        @jojos Alternativ auf Version 1.0.20, wenn die infrage kommt, dann brauchst du auch keine "Pärchen".
                                        @chefkoch009 baut für die Zukunft vielleicht eine Option ein, damit diese Pärchen nicht zwingend nötig sind, da hier echt einige ihre Probleme damit haben.

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          JojoS @loverz last edited by JojoS

                                          @loverz den Umweg über die alte Version möchte ich endlich loswerden, das Problem ist ja auch das dann neuere Datentypen nicht importiert werden. Die 1.20 hatte afaik nicht die true/false Darstellung für bool, das hat Auswirkungen auf Scripte.
                                          Ich hatte gestern auch noch mit den Flags gespielt, aber die haben doch keine Auswirkung auf die Pärchenbildung?

                                          Ich war gestern auch nicht mehr sicher ob die Pärchen noch gebraucht werden: wenn ich Licht am Schalter ein/ausschalte, dann ändert sich der Status in der Vis trotzdem. Das war doch vorher das Problem? Ich probiere es gleich nochmal.

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            loverz @JojoS last edited by

                                            @jojos das mit der vis weiß ich nicht, nutze die nicht.
                                            1/0 statt true/false ist tatsächlich ein Nachteil der alten Version, aber meine Scripte kommen damit klar. Weiß nicht was da nicht passen soll.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            746
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            knx adapter
                                            93
                                            719
                                            136896
                                            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