Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. RFXCOM Adapter lässt sich nicht installieren

    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

    RFXCOM Adapter lässt sich nicht installieren

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

      @forum-merlin

      sudo apt update
      sudo apt install --reinstall nodejs
      iob diag
      

      Als USER, NICHT! als root!

      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Forum-merlin last edited by Thomas Braun

        @forum-merlin

        nodejs repariert?
        Gibt es die Datei
        /usr/lib/python3.11/EXTERNALLY-MANAGED
        auf dem System?

        Grundsätzlich baut der adapter nämlich:

        echad@chet:/opt/iobroker $ iob add rfxcom
        NPM version: 9.6.7
        Installing iobroker.rfxcom@2.0.2... (System call)
        
        added 53 packages in 41s
        
        118 packages are looking for funding
          run `npm fund` for details
        host.chet install adapter rfxcom
        upload [2] rfxcom.admin /opt/iobroker/node_modules/iobroker.rfxcom/admin/index.html index.html text/html
        upload [1] rfxcom.admin /opt/iobroker/node_modules/iobroker.rfxcom/admin/rfxcom.png rfxcom.png image/png
        upload [0] rfxcom.admin /opt/iobroker/node_modules/iobroker.rfxcom/admin/words.js words.js application/javascript
        host.chet object system.adapter.rfxcom created/updated
        host.chet create instance rfxcom
        host.chet object system.adapter.rfxcom.0.alive created
        host.chet object system.adapter.rfxcom.0.connected created
        host.chet object system.adapter.rfxcom.0.compactMode created
        host.chet object system.adapter.rfxcom.0.cpu created
        host.chet object system.adapter.rfxcom.0.cputime created
        host.chet object system.adapter.rfxcom.0.memHeapUsed created
        host.chet object system.adapter.rfxcom.0.memHeapTotal created
        host.chet object system.adapter.rfxcom.0.memRss created
        host.chet object system.adapter.rfxcom.0.uptime created
        host.chet object system.adapter.rfxcom.0.inputCount created
        host.chet object system.adapter.rfxcom.0.outputCount created
        host.chet object system.adapter.rfxcom.0.eventLoopLag created
        host.chet object system.adapter.rfxcom.0.sigKill created
        host.chet object system.adapter.rfxcom.0.logLevel created
        host.chet object rfxcom.0.info created
        host.chet object rfxcom.0.info.connection created
        host.chet object rfxcom.0.inclusionOn created
        host.chet object rfxcom.0.rawData created
        host.chet object rfxcom.0.firmwareVersion created
        host.chet object rfxcom.0.availableVersion created
        host.chet Set default value of rfxcom.0.info.connection: false
        host.chet object system.adapter.rfxcom.0 created
        echad@chet:/opt/iobroker $
        
        F 1 Reply Last reply Reply Quote 0
        • F
          Forum-merlin @Thomas Braun last edited by

          @thomas-braun
          Nachdem jetzt dann alles irgendwie komisch wurde hab ich die VM komplett gelöscht und neu aufgesetzt.

          ioBroker auch nach Anleitung from scratch installiert.
          Und alles unter iobroker user mit sudo wenn es in der Anleitung erwähnt wurde.

          Dann erstmal alles in ioBroker aktualisiert was ein update haben wollte.

          Adapter rfxcom als erstes installiert und der geht nun.
          Aber dafür der ZigBee nicht mehr.

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

            @forum-merlin sagte in RFXCOM Adapter lässt sich nicht installieren:

            Und alles unter iobroker user

            iobroker ist auch keine clevere Wahl. Es gibt schon einen system user mit dem Namen.
            Zeig mal die

            cat /etc/passwd | sort
            
            F 1 Reply Last reply Reply Quote 0
            • F
              Forum-merlin @Thomas Braun last edited by

              @thomas-braun

              iobroker@vm-iobroker:~$ cat /etc/passwd | sort
              _apt:x:42:65534::/nonexistent:/usr/sbin/nologin
              backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
              bin:x:2:2:bin:/bin:/usr/sbin/nologin
              daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
              games:x:5:60:games:/usr/games:/usr/sbin/nologin
              iobroker:x:1000:1000:iobroker,,,:/home/iobroker:/bin/bash
              irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
              list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
              lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
              mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
              man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
              messagebus:x:100:107::/nonexistent:/usr/sbin/nologin
              news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
              nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
              proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
              root:x:0:0:root:/root:/bin/bash
              _rpc:x:102:65534::/run/rpcbind:/usr/sbin/nologin
              sshd:x:101:65534::/run/sshd:/usr/sbin/nologin
              statd:x:103:65534::/var/lib/nfs:/usr/sbin/nologin
              sync:x:4:65534:sync:/bin:/bin/sync
              systemd-network:x:998:998:systemd Network Management:/:/usr/sbin/nologin
              systemd-timesync:x:997:997:systemd Time Synchronization:/:/usr/sbin/nologin
              sys:x:3:3:sys:/dev:/usr/sbin/nologin
              uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
              www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
              iobroker@vm-iobroker:~$
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Forum-merlin last edited by Thomas Braun

                @forum-merlin
                Ja, ungünstig. 'Richtig' sähe der user so aus:

                iobroker:x:1001:1001::/home/iobroker:/usr/sbin/nologin
                

                Leg dir einen user an, der anders heißt. Hast du keinen schönen Vornamen von deinen Eltern bekommen? Oder haben die dich iobroker genannt? Oder nenn dich 'merlin'. Egal, alles gescheiter als den user 'iobroker' zu nennen.

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Forum-merlin last edited by

                  @forum-merlin sagte in RFXCOM Adapter lässt sich nicht installieren:

                  Aber dafür der ZigBee nicht mehr.

                  Meldungen im LogFile?
                  'Geht nicht mehr' ist keine Fehlermeldung mit der irgendjemand was anfangen könnte.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Forum-merlin @Thomas Braun last edited by

                    @thomas-braun

                    Ich wollte jetzt nicht den Thread vermischen. Deswegen hab ich jetzt hier nix geschrieben und suche grad alles möglich im Forum dazu.
                    Aber vielleicht hast du ja gleich den treffenden Blick:

                    2023-07-19 19:47:12.196  - info: host.vm-iobroker instance system.adapter.zigbee.0 started with pid 1144
                    2023-07-19 19:47:13.525  - info: zigbee.0 (1144) starting. Version 1.8.18 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.17.0, js-controller: 5.0.8
                    2023-07-19 19:47:13.579  - info: zigbee.0 (1144) delete old Backup files. keep only last 10
                    2023-07-19 19:47:13.580  - info: zigbee.0 (1144) Starting Zigbee  npm ...
                    2023-07-19 19:47:13.697  - info: zigbee.0 (1144) Installed Version: iobroker.zigbee@1.8.18
                    2023-07-19 19:47:13.999  - error: zigbee.0 (1144) Configuration is not consistent with adapter state/backup!
                    2023-07-19 19:47:13.999  - error: zigbee.0 (1144) - PAN ID: configured=6754, adapter=510
                    2023-07-19 19:47:13.999  - error: zigbee.0 (1144) - Extended PAN ID: configured=00124b0018ed2fd7, adapter=00124b0018ed2fd7
                    2023-07-19 19:47:13.999  - error: zigbee.0 (1144) - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
                    2023-07-19 19:47:14.000  - error: zigbee.0 (1144) - Channel List: configured=11, adapter=11
                    2023-07-19 19:47:14.000  - error: zigbee.0 (1144) Please update configuration to prevent further issues.
                    2023-07-19 19:47:14.000  - error: zigbee.0 (1144) If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
                    2023-07-19 19:47:14.000  - error: zigbee.0 (1144) Re-commissioning your network will require re-pairing of all devices!
                    2023-07-19 19:47:14.001  - error: zigbee.0 (1144) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
                    2023-07-19 19:47:14.001  - error: zigbee.0 (1144) Failed to start Zigbee
                    2023-07-19 19:47:14.001  - error: zigbee.0 (1144) Error herdsman start
                    2023-07-19 19:47:24.001  - info: zigbee.0 (1144) Try to reconnect. 1 attempts left
                    2023-07-19 19:47:24.002  - info: zigbee.0 (1144) Starting Zigbee  npm ...
                    2023-07-19 19:47:24.012  - info: zigbee.0 (1144) Installed Version: iobroker.zigbee@1.8.18
                    2023-07-19 19:47:24.113  - error: zigbee.0 (1144) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                    2023-07-19 19:47:24.113  - error: zigbee.0 (1144) Failed to start Zigbee
                    2023-07-19 19:47:24.114  - error: zigbee.0 (1144) Error herdsman start
                    2023-07-19 19:48:45.342  - error: zigbee.0 (1144) getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
                    2023-07-19 19:48:45.442  - info: zigbee.0 (1144) List of port: [{"path":"/dev/ttyUSB0","manufacturer":"RFXCOM","serialNumber":"A1WJDDBR","pnpId":"usb-RFXCOM_RFXtrx433_A1WJDDBR-if00-port0","vendorId":"0403","productId":"6001"},{"path":"/dev/ttyACM0","manufacturer":"Texas Instruments","serialNumber":"__0X00124B0018ED2FD7","pnpId":"usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED2FD7-if00","vendorId":"0451","productId":"16a8"},{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}]
                    2023-07-19 19:50:58.641  - info: zigbee.0 (1144) cleaned everything up...
                    2023-07-19 19:50:58.643  - info: host.vm-iobroker stopInstance system.adapter.zigbee.0 (force=false, process=true)
                    2023-07-19 19:50:58.651  - info: host.vm-iobroker stopInstance system.adapter.zigbee.0 send kill signal
                    2023-07-19 19:50:58.645  - info: zigbee.0 (1144) Zigbee: disabling joining new devices.
                    2023-07-19 19:50:58.655  - warn: zigbee.0 (1144) Failed to stop zigbee during startup
                    2023-07-19 19:50:58.656  - info: zigbee.0 (1144) Got terminate signal TERMINATE_YOURSELF
                    2023-07-19 19:50:58.701  - info: zigbee.0 (1144) terminating
                    2023-07-19 19:50:58.702  - info: zigbee.0 (1144) Terminated (NO_ERROR): Without reason
                    2023-07-19 19:50:59.144  - info: zigbee.0 (1144) terminating
                    2023-07-19 19:50:59.230  - info: host.vm-iobroker instance system.adapter.zigbee.0 terminated with code 0 (NO_ERROR)
                    2023-07-19 19:51:22.922  - info: host.vm-iobroker instance system.adapter.zigbee.0 started with pid 1797
                    2023-07-19 19:51:24.257  - info: zigbee.0 (1797) starting. Version 1.8.18 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.17.0, js-controller: 5.0.8
                    2023-07-19 19:51:24.308  - info: zigbee.0 (1797) delete old Backup files. keep only last 10
                    2023-07-19 19:51:24.309  - info: zigbee.0 (1797) Starting Zigbee  npm ...
                    2023-07-19 19:51:24.422  - info: zigbee.0 (1797) Installed Version: iobroker.zigbee@1.8.18
                    2023-07-19 19:51:24.715  - error: zigbee.0 (1797) Configuration is not consistent with adapter state/backup!
                    2023-07-19 19:51:24.715  - error: zigbee.0 (1797) - PAN ID: configured=6754, adapter=510
                    2023-07-19 19:51:24.715  - error: zigbee.0 (1797) - Extended PAN ID: configured=00124b0018ed2fd7, adapter=00124b0018ed2fd7
                    2023-07-19 19:51:24.715  - error: zigbee.0 (1797) - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
                    2023-07-19 19:51:24.716  - error: zigbee.0 (1797) - Channel List: configured=11, adapter=11
                    2023-07-19 19:51:24.716  - error: zigbee.0 (1797) Please update configuration to prevent further issues.
                    2023-07-19 19:51:24.716  - error: zigbee.0 (1797) If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
                    2023-07-19 19:51:24.716  - error: zigbee.0 (1797) Re-commissioning your network will require re-pairing of all devices!
                    2023-07-19 19:51:24.717  - error: zigbee.0 (1797) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
                    2023-07-19 19:51:24.717  - error: zigbee.0 (1797) Failed to start Zigbee
                    2023-07-19 19:51:24.717  - error: zigbee.0 (1797) Error herdsman start
                    2023-07-19 19:51:34.718  - info: zigbee.0 (1797) Try to reconnect. 1 attempts left
                    2023-07-19 19:51:34.719  - info: zigbee.0 (1797) Starting Zigbee  npm ...
                    2023-07-19 19:51:34.729  - info: zigbee.0 (1797) Installed Version: iobroker.zigbee@1.8.18
                    2023-07-19 19:51:34.834  - error: zigbee.0 (1797) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                    2023-07-19 19:51:34.834  - error: zigbee.0 (1797) Failed to start Zigbee
                    2023-07-19 19:51:34.834  - error: zigbee.0 (1797) Error herdsman start
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Forum-merlin last edited by

                      @forum-merlin sagte in RFXCOM Adapter lässt sich nicht installieren:

                      Steht doch da:

                      2023-07-19 19:47:13.999 - error: zigbee.0 (1144) Configuration is not consistent with adapter state/backup!
                      2023-07-19 19:47:13.999 - error: zigbee.0 (1144) - PAN ID: configured=6754, adapter=510

                      Die IDs müsssen übereinstimmen.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        Forum-merlin @Thomas Braun last edited by

                        @thomas-braun
                        Danke Dir für Deine Hilfe.

                        Hab nun alles am Laufen.
                        (Allerdings hab ich einfach nochmal von vorne angefangen und dann auch nen anderen usernamen als initialen user verwendet. Ich hab im installer Script dann auch gesehen, dass da der user iobroker mitkommt. wer weiss wie sich das auswirkt)

                        Naja, wie auch immer, geht jetzt.

                        CLOSED!

                        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

                        913
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        2
                        15
                        379
                        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