Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zigbee Adapter mit Error und findet den Stick nicht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee Adapter mit Error und findet den Stick nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @aXCell last edited by

      @axcell

      Wo klemmt es nach der Anleitung?

      Falsche Pfade löschen und künftig die Finger von nvm, n oder ähnlichen Tools lassen.

      aXCell 1 Reply Last reply Reply Quote 0
      • aXCell
        aXCell @Thomas Braun last edited by aXCell

        @thomas-braun

        Tatsächlich klemmt es bei der Aussage:
        "In der Regel kann man diese Dateien dann von Hand löschen.
        (sudo rm /pfad/zu/der/falschen/datei)"

        Das sind dann ja keine einzelne Dateien, die gelöscht werden, sondern ganze Ordner / Pfade.

        Ich kann doch nicht den ganzen Pfad:
        /usr/local/bin/node
        /usr/local/bin/npm
        /usr/local/bin/npx
        löschen?

        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @aXCell last edited by

          @axcell
          Das sind Dateien/Symlinks.
          Und genau die sollst du löschen.
          Wie kommst du überhaupt an die schräge Installation?

          Und warum ist da ein Repo für redis und die Backports aktiv? Will man beides nur aus sehr guten Gründen auf einem Server aktiv haben.

          aXCell 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @aXCell last edited by

            @axcell

            sudo rm /usr/local/bin/n*
            ls -lah /usr/local/bin/
            
            aXCell 1 Reply Last reply Reply Quote 0
            • aXCell
              aXCell @Thomas Braun last edited by

              @thomas-braun sagte in Zigbee Adapter mit Error und findet den Stick nicht:

              @axcell
              ...
              Wie kommst du überhaupt an die schräge Installation?

              Und warum ist da ein Repo für redis und die Backports aktiv? Will man beides nur aus sehr guten Gründen auf einem Server aktiv haben.

              Ähm, wie ich an die schräge installation komme? Kann ich dir leider nicht sagen.

              Warum das aktiv ist? Unnötig?

              Sorry, bin dann doch nur "ein Anwender" der sich mit Anleitungen aus dem Internet hilft.

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • aXCell
                aXCell @Thomas Braun last edited by aXCell

                @thomas-braun

                Die Ausgabe davon:

                axcell@server:~$ sudo rm /usr/local/bin/n*
                ls -lah /usr/local/bin/
                [sudo] password for axcell: 
                total 8,0K
                drwxr-xr-x  2 root root 4,0K Jul 10 22:43 .
                drwxr-xr-x 11 root root 4,0K Jul  2 02:06 ..
                lrwxrwxrwx  1 root root   46 Jul  3 22:26 camera.ui -> ../lib/node_modules/camera.ui/bin/camera.ui.js
                lrwxrwxrwx  1 root root   45 Jul  2 02:06 corepack -> ../lib/node_modules/corepack/dist/corepack.js
                

                und nach einem reboot stimmen die Pfade jetzt auch:

                axcell@server:~$ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
                x86_64
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                /usr/bin/npx
                v18.16.1
                v18.16.1
                9.5.1
                9.5.1
                4.0.24
                axcell
                axcell adm cdrom sudo dip plugdev lxd iobroker
                web
                /home/axcell
                

                Löst allerdings leider nicht das Problem, das der Zigbee Adapter immer noch meckert...

                Thomas Braun arteck 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @aXCell last edited by

                  @axcell

                  sudo rm /usr/local/bin/corepack
                  

                  Bei dem camera-Ding weiß ich nicht wie das da hinkommt. Im Zweifel auch weg damit.

                  aXCell 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @aXCell last edited by

                    @axcell sagte in Zigbee Adapter mit Error und findet den Stick nicht:

                    Warum das aktiv ist? Unnötig?

                    Ja, ist beides nicht in einer Standard-Installation dabei und auf einem Server holt man sich möglichst wenig Zeug aus weiteren Quellen dazu.

                    1 Reply Last reply Reply Quote 1
                    • aXCell
                      aXCell @Thomas Braun last edited by

                      @thomas-braun

                      Ok, vielen Dank!

                      1 Reply Last reply Reply Quote 0
                      • aXCell
                        aXCell @Thomas Braun last edited by

                        @thomas-braun

                        Camera.ui ist da, da der Server an einem TV hängt und ich so die Aussenkameras relativ einfach per Stream über HDMi auf die Glotze bekomme.

                        1 Reply Last reply Reply Quote 0
                        • arteck
                          arteck Developer Most Active @aXCell last edited by

                          @axcell sagte in Zigbee Adapter mit Error und findet den Stick nicht:

                          Löst allerdings leider nicht das Problem, das der Zigbee Adapter immer noch meckert...

                          installier mal die GIT version

                          aXCell 1 Reply Last reply Reply Quote 0
                          • aXCell
                            aXCell @arteck last edited by aXCell

                            @arteck
                            Habe ich, die Version ist: v1.8.15

                            Der Host wirft das aus:

                            host.server
                            	2023-07-11 16:04:40.369	error	instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            host.server
                            	2023-07-11 16:04:40.369	error	Caught by controller[0]: at Zigbee.onZigbeeAdapterReady (/opt/iobroker/node_modules/iobroker.zigbee/main.js:415:30)
                            host.server
                            	2023-07-11 16:04:40.369	error	Caught by controller[0]: at Zigbee.sendError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:118:32)
                            host.server
                            	2023-07-11 16:04:40.369	error	Caught by controller[0]: at Object.configureScope (/opt/iobroker/node_modules/@sentry/src/exports.ts:76:1)
                            host.server
                            	2023-07-11 16:04:40.369	error	Caught by controller[0]: at Hub.configureScope (/opt/iobroker/node_modules/@sentry/src/hub.ts:340:1)
                            host.server
                            	2023-07-11 16:04:40.369	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:122:56
                            host.server
                            	2023-07-11 16:04:40.369	error	Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'Error')
                            host.server
                            	2023-07-11 16:04:40.368	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                            

                            Der Adapter meldet:

                            zigbee.0
                            	2023-07-11 16:04:39.819	info	terminating
                            zigbee.0
                            	2023-07-11 16:04:39.319	info	Zigbee: disabling joining new devices.
                            zigbee.0
                            	2023-07-11 16:04:39.319	info	cleaned everything up...
                            zigbee.0
                            	2023-07-11 16:04:39.316	error	Cannot read properties of undefined (reading 'Error')
                            zigbee.0
                            	2023-07-11 16:04:39.316	error	TypeError: Cannot read properties of undefined (reading 'Error') at /opt/iobroker/node_modules/iobroker.zigbee/main.js:122:56 at Hub.configureScope (/opt/iobroker/node_modules/@sentry/src/hub.ts:340:1) at Object.configureScope (/opt/iobroker/node_modules/@sentry/src/exports.ts:76:1) at Zigbee.sendError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:118:32) at Zigbee.onZigbeeAdapterReady (/opt/iobroker/node_modules/iobroker.zigbee/main.js:415:30)
                            zigbee.0
                            	2023-07-11 16:04:39.307	error	unhandled promise rejection: Cannot read properties of undefined (reading 'Error')
                            zigbee.0
                            	2023-07-11 16:04:39.306	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                            zigbee.0
                            	2023-07-11 16:04:39.306	error	Unable to apply ExtPanID changes: Error: SRSP - SYS - osalNvRead after 0,2ms
                            zigbee.0
                            	2023-07-11 16:04:39.304	info	Zigbee started
                            zigbee.0
                            	2023-07-11 16:04:39.304	info	Currently no devices.
                            zigbee.0
                            	2023-07-11 16:04:39.303	info	--> transmitPower : high
                            zigbee.0
                            	2023-07-11 16:04:39.298	info	Unable to disable LED, unsupported function.
                            zigbee.0
                            	2023-07-11 16:04:39.298	info	Disable LED
                            zigbee.0
                            	2023-07-11 16:04:39.297	info	Coordinator firmware version: {"type":"zStack30x","meta":{"transportrev":2,"product":2,"majorrel":2,"minorrel":7,"maintrel":2,"revision":20201010}}
                            zigbee.0
                            	2023-07-11 16:04:39.207	info	Installed Version: ioBroker/ioBroker.zigbee#8d2778a9a17072deac120c681e6e227ecf534691
                            zigbee.0
                            	2023-07-11 16:04:39.065	info	Starting Zigbee npm ...
                            zigbee.0
                            	2023-07-11 16:04:39.064	info	delete old Backup files. keep only last 10
                            zigbee.0
                            	2023-07-11 16:04:39.033	info	starting. Version 1.8.15 (non-npm: ioBroker/ioBroker.zigbee#8d2778a9a17072deac120c681e6e227ecf534691) in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.16.1, js-controller: 4.0.24
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @aXCell last edited by

                              @axcell sagte in Zigbee Adapter mit Error und findet den Stick nicht:

                              Habe ich, die Version ist: v1.8.15

                              Die GitHub-Version siehst du nur per

                              cd /opt/iobroker && npm ls | grep zigbee
                              
                              aXCell 1 Reply Last reply Reply Quote 0
                              • aXCell
                                aXCell @Thomas Braun last edited by

                                @thomas-braun sagte in Zigbee Adapter mit Error und findet den Stick nicht:

                                cd /opt/iobroker && npm ls | grep zigbee

                                .... sagt das gleiche

                                axcell@server:~$ cd /opt/iobroker && npm ls | grep zigbee
                                [sudo] password for axcell: 
                                └── iobroker.zigbee@1.8.15 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#8d2778a9a17072deac120c681e6e227ecf534691)
                                axcell@server:/opt/iobroker$ 
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @aXCell last edited by

                                  @axcell sagte in Zigbee Adapter mit Error und findet den Stick nicht:

                                  sagt das gleiche

                                  Das ist nicht das gleiche...

                                  aXCell 1 Reply Last reply Reply Quote 0
                                  • aXCell
                                    aXCell @Thomas Braun last edited by

                                    @thomas-braun sagte in Zigbee Adapter mit Error und findet den Stick nicht:

                                    @axcell sagte in Zigbee Adapter mit Error und findet den Stick nicht:

                                    sagt das gleiche

                                    Das ist nicht das gleiche...

                                    Und das bedeutet?
                                    Für mich als unwissenden stehen in beiden Ausgaben absolut identische Versionsnummern.
                                    Hilft der zweite von mir gepostete Inhalt bei der Fehlersuche?

                                    Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @aXCell last edited by Thomas Braun

                                      @axcell

                                      Versionen aus dem GutHub können nur anhand der ID unterschieden werden. Die Versionsnummer kann gleich bleiben.
                                      Du hast also den Stand
                                      8d2778a9a17072deac120c681e6e227ecf534691
                                      ausgecheckt.

                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @aXCell last edited by

                                        @axcell

                                        Was ist denn das überhaupt für ein Stick?
                                        Kann es sein, dass du die falsche Firmware drauf hast?

                                        aXCell 1 Reply Last reply Reply Quote 0
                                        • aXCell
                                          aXCell @Thomas Braun last edited by aXCell

                                          @thomas-braun

                                          Der Coordinator ist ein CC2538 CC2592 von hier

                                          Beim Versuch den Zigbee Adapter zu starten bekomme ich diese Firmware angezeigt:

                                          Coordinator firmware version: {"type":"zStack30x","meta":{"transportrev":2,"product":2,"majorrel":2,"minorrel":7,"maintrel":2,"revision":20201010}}
                                          

                                          😕

                                          Thomas Braun arteck 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @aXCell last edited by Thomas Braun

                                            @axcell

                                            Ich vermute der braucht den Stack 3.x.0

                                            Edit: Falsche Vermutung, der 3.0.x ist richtig.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            828
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            35
                                            1721
                                            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