Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. nach JS Controller update BLE keine verbindung

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    nach JS Controller update BLE keine verbindung

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

      @grizzlyco
      Hat meist was mit einem nodejs-Update zu tun.

      Auf beiden Systemen:

      sudo ln -s /usr/bin/node /usr/bin/nodejs
      which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      

      Ausgaben pro System hier in CodeTags eingebettet wieder hier rein.

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

        @thomas-braun

        Danke für die unterstützung

        Master

        pi@raspberrypi4:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
        ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
        pi@raspberrypi4:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v14.18.2
        v14.18.2
        6.14.15
        pi
        /home/pi
        OK:1 http://phoscon.de/apt/deconz buster InRelease
        OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
        OK:3 http://archive.raspberrypi.org/debian buster InRelease
        OK:4 https://deb.nodesource.com/node_12.x buster InRelease
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Aktualisierung für 5 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
        nodejs:
          Installiert:           14.18.2-deb-1nodesource1
          Installationskandidat: 14.18.2-deb-1nodesource1
          Versionstabelle:
         *** 14.18.2-deb-1nodesource1 100
                100 /var/lib/dpkg/status
             12.22.12-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
             10.24.0~dfsg-1~deb10u1 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        

        Slave

        pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
        ln: failed to create symbolic link '/usr/bin/nodejs': File exists
        pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v14.18.2
        v14.18.2
        6.14.15
        pi
        /home/pi
        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        1 package can be upgraded. Run 'apt list --upgradable' to see it.
        nodejs:
          Installed: 14.18.2-deb-1nodesource1
          Candidate: 14.19.1-deb-1nodesource1
          Version table:
             14.19.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
         *** 14.18.2-deb-1nodesource1 100
                100 /var/lib/dpkg/status
             10.24.0~dfsg-1~deb10u1 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @grizzlyco last edited by

          @grizzlyco was steht den in ble.0.info.driverState

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

            @grizzlyco

            Setz die Quellen für nodeJS einheitlich auf.
            Auf dem Master fehlt die Quelle für node14.
            Also die Datei /etc/apt/sources.list.d/nodesource.list entsprechend editieren.

            Dann beide Systeme auf den gleichen Versionsstand bringen.

            G 1 Reply Last reply Reply Quote 0
            • G
              grizzlyco @crunchip last edited by

              @crunchip
              poweredOn

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

                @thomas-braun

                erledigt.
                Denke ich zumindestens.
                Funktion ist leider noch immer nicht vorhanden.

                Master:

                pi@raspberrypi4:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v14.19.1
                v14.19.1
                6.14.16
                pi
                /home/pi
                OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:2 http://phoscon.de/apt/deconz buster InRelease
                OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                OK:4 http://archive.raspberrypi.org/debian buster InRelease
                OK:5 https://deb.nodesource.com/node_12.x buster InRelease
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Alle Pakete sind aktuell.
                nodejs:
                  Installiert:           14.19.1-deb-1nodesource1
                  Installationskandidat: 14.19.1-deb-1nodesource1
                  Versionstabelle:
                 *** 14.19.1-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                        100 /var/lib/dpkg/status
                     10.24.0~dfsg-1~deb10u1 500
                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                
                

                Slave

                pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v14.19.1
                v14.19.1
                6.14.16
                pi
                /home/pi
                Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                All packages are up to date.
                nodejs:
                  Installed: 14.19.1-deb-1nodesource1
                  Candidate: 14.19.1-deb-1nodesource1
                  Version table:
                 *** 14.19.1-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                        100 /var/lib/dpkg/status
                     10.24.0~dfsg-1~deb10u1 500
                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                
                

                folgendes steht im Log:

                ble.2	2022-04-30 16:47:15.779	info	(949) starting scanner process...
                ble.2	2022-04-30 16:47:15.774	info	(949) monitored services: fe95
                ble.2	2022-04-30 16:47:15.771	info	(949) enabled plugins: Xiaomi, _default
                ble.2	2022-04-30 16:47:15.767	info	(949) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                ble.2	2022-04-30 16:47:15.404	info	(949) starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v14.19.1, js-controller: 4.0.23
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @grizzlyco last edited by

                  @grizzlyco sagte in nach JS Controller update BLE keine verbindung:

                  Funktion ist leider noch immer nicht vorhanden.

                  Zumindest ist jetzt die Basis aktuell und versionsgleich.

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

                    @thomas-braun
                    Ich habe noch was im Log gefunden.
                    hilft das bei der Lösungssuche?

                    host.raspberrypi	2022-04-30 16:52:02.542	warn	adapter "ble" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
                    host.raspberrypi	2022-04-30 16:52:02.541	info	system.adapter.ble.2 will be rebuilt
                    host.raspberrypi	2022-04-30 16:52:02.539	info	Adapter system.adapter.ble.2 needs rebuild and will be restarted afterwards.
                    host.raspberrypi	2022-04-30 16:52:02.538	info	instance system.adapter.ble.2 requested a rebuild of its dependencies and will be restarted after that is done.
                    host.raspberrypi	2022-04-30 16:51:54.461	info	instance system.adapter.ble.2 started with pid 2590
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @grizzlyco last edited by

                      @grizzlyco
                      Ja, der baut sich jetzt neu.
                      Warum hast du da drei Instanzen des Adapters laufen?

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

                        @thomas-braun

                        macht er das alleine oder muss ich was machen?

                        Ich habe 2 Instanzen .0 auf dem Master ( inaktiv ) und .2 auf dem Slave ( aktiv )

                        Frag mich nicht was mit 1 ist. Das System läuft so wie es ist schon länger. Kann ich mich nicht mehr dran errinern.

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

                          @grizzlyco sagte in nach JS Controller update BLE keine verbindung:

                          macht er das alleine oder muss ich was machen?

                          Hängt von der Version des js-controllers ab.

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

                            @grizzlyco

                            starting. Version 0.12.0
                            

                            Installier mal die Adapter-Version 0.13.0.
                            Die ist wenige Tage alt, aber wohl massiv umgebaut worden.

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

                              @thomas-braun
                              Ich weiß nicht genau was passiert ist. Aber auf einmal funktioniert wieder alles.
                              Manchmal hilft doch warten.

                              Danke die schnelle Hilfe.

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

                                @grizzlyco sagte in nach JS Controller update BLE keine verbindung:

                                Aber auf einmal funktioniert wieder alles.
                                Manchmal hilft doch warten.

                                Der Adapter dürfte im Hintergrund neugebaut worden sein. Das dauert.

                                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

                                922
                                Online

                                32.1k
                                Users

                                80.6k
                                Topics

                                1.3m
                                Posts

                                3
                                15
                                520
                                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