Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Problem] Assistent Discovery Adapter bleibt stecken

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Problem] Assistent Discovery Adapter bleibt stecken

    This topic has been deleted. Only users with topic management privileges can see it.
    • Skudderon
      Skudderon last edited by

      Oh mein Gott … Asche auf mein Haupt ... ioBroker hat ein Log 😞 ... ich hab echt nicht dran gedacht

      Ich hab das Log mal drangehangen
      2366_bildschirmfoto_2017-05-14_um_11.08.56.png

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        @Skudderon:

        Oh mein Gott … Asche auf mein Haupt ... ioBroker hat ein Log 😞 ... ich hab echt nicht dran gedacht

        Ich hab das Log mal drangehangen `
        Kannst du so was machen:

        cd /opt/iobroker
        iobroker stop discovery
        node node_modules/iobroker.discovery/main.js --logs --force
        
        

        Und dann die Suche starten?

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          Bluefox, würde in http://forum.iobroker.net/viewtopic.php?p=65358 schönmache berichtet. Meine erste Recherche ergab serial als Ursache.

          Gesendet von iPhone mit Tapatalk

          1 Reply Last reply Reply Quote 0
          • Skudderon
            Skudderon last edited by

            ja, kann ich … vielen Dank für deine Hilfe ... hier ist das Ergebnis:

            ! ````
            Received "browse" event
            skipping mdns method, because no binary package...
            ping: 0%, devices - 0
            serial: 100%, devices - 1
            Discover UPnP devices...
            upnp: 0%, devices - 0
            found 192.168.2.1
            found 192.168.2.20
            UPNP Answer from 192.168.2.1
            found {"_addr":"192.168.2.1","_name":"fritz.box","_data":{"names":["fritz.box"]}}
            found {"_addr":"192.168.2.20","_name":"Henriks-MBP.fritz.box","_data":{"names":["Henriks-MBP.fritz.box"]}}
            UPNP Answer from 192.168.2.33
            UPNP Answer from 192.168.2.22
            UPNP Answer from 192.168.2.32
            UPNP Answer from 192.168.2.35
            UPNP Answer from 192.168.2.34
            ping: 8%, devices - 2
            found 192.168.2.22
            found 192.168.2.23
            found 192.168.2.27
            found 192.168.2.31
            found 192.168.2.32
            found 192.168.2.33
            found 192.168.2.34
            found 192.168.2.35
            found 192.168.2.36
            found {"_addr":"192.168.2.22","_name":"SonosZB.fritz.box","_data":{"names":["SonosZB.fritz.box"]}}
            found {"_addr":"192.168.2.23","_name":"tc.fritz.box","_data":{"names":["tc.fritz.box"]}}
            found {"_addr":"192.168.2.27","_name":"Henriks-iPad-2.fritz.box","_data":{"names":["Henriks-iPad-2.fritz.box"]}}
            found {"_addr":"192.168.2.31","_name":"192.168.2.31"}
            found {"_addr":"192.168.2.32","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}}
            found {"_addr":"192.168.2.33","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}}
            found {"_addr":"192.168.2.34","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}}
            found {"_addr":"192.168.2.35","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}}
            found {"_addr":"192.168.2.36","_name":"192.168.2.36"}
            UPNP Answer from 192.168.2.124
            upnp: 10%, devices - 7
            ping: 15%, devices - 11
            upnp: 20%, devices - 7
            ping: 23%, devices - 11
            upnp: 30%, devices - 7
            ping: 31%, devices - 11
            found 192.168.2.101
            found {"_addr":"192.168.2.101","_name":"Zigarenbox.fritz.box","_data":{"names":["Zigarenbox.fritz.box"]}}
            upnp: 40%, devices - 7
            ping: 38%, devices - 12
            found 192.168.2.115
            found {"_addr":"192.168.2.115","_name":"Danidrucker.fritz.box","_data":{"names":["Danidrucker.fritz.box"]}}
            upnp: 50%, devices - 7
            ping: 46%, devices - 13
            found 192.168.2.124
            found {"_addr":"192.168.2.124","_name":"WDMyCloud.fritz.box","_data":{"names":["WDMyCloud.fritz.box"]}}
            upnp: 60%, devices - 7
            ping: 54%, devices - 14
            upnp: 70%, devices - 7
            ping: 62%, devices - 14
            ping: 69%, devices - 14
            upnp: 80%, devices - 7
            upnp: 90%, devices - 7
            ping: 77%, devices - 14
            ping: 85%, devices - 14
            upnp: 100%, devices - 7
            ping: 92%, devices - 14
            ping: 100%, devices - undefined
            Found 22 addresses
            Test 192.168.2.23 chromecast
            Test 192.168.2.23 daikin
            Test 192.168.2.23 fronius
            Test 192.168.2.23 hm-rpc
            Test 192.168.2.23 hue
            Test 192.168.2.23 influxdb
            Test 192.168.2.23 landroid
            Test 192.168.2.23 lightify
            Test 192.168.2.23 megad
            Test 192.168.2.23 miele
            Test 192.168.2.23 nut
            Test 192.168.2.23 ping
            Test 192.168.2.23 ping DETECTED!
            Test 192.168.2.23 samsung
            Test 192.168.2.23 sonos
            Test 192.168.2.23 sql
            Test 192.168.2.23 tr-064
            Test 192.168.2.23 upnp
            Test 192.168.2.23 yamaha
            Send UDP discovery package
            Not found
            Test 192.168.2.23 hm-rega
            Test /dev/ttyAMA0 mysensors
            [TypeError: There's no write queue for that file descriptor (after write)!]
            terminating

            1 Reply Last reply Reply Quote 0
            • Bluefox
              Bluefox last edited by

              @Skudderon:

              ja, kann ich … vielen Dank für deine Hilfe ... hier ist das Ergebnis:

              ! Received "browse" event skipping mdns method, because no binary package... ping: 0%, devices - 0 serial: 100%, devices - 1 Discover UPnP devices... upnp: 0%, devices - 0 found 192.168.2.1 found 192.168.2.20 UPNP Answer from 192.168.2.1 found {"_addr":"192.168.2.1","_name":"fritz.box","_data":{"names":["fritz.box"]}} found {"_addr":"192.168.2.20","_name":"Henriks-MBP.fritz.box","_data":{"names":["Henriks-MBP.fritz.box"]}} UPNP Answer from 192.168.2.33 UPNP Answer from 192.168.2.22 UPNP Answer from 192.168.2.32 UPNP Answer from 192.168.2.35 UPNP Answer from 192.168.2.34 ping: 8%, devices - 2 found 192.168.2.22 found 192.168.2.23 found 192.168.2.27 found 192.168.2.31 found 192.168.2.32 found 192.168.2.33 found 192.168.2.34 found 192.168.2.35 found 192.168.2.36 found {"_addr":"192.168.2.22","_name":"SonosZB.fritz.box","_data":{"names":["SonosZB.fritz.box"]}} found {"_addr":"192.168.2.23","_name":"tc.fritz.box","_data":{"names":["tc.fritz.box"]}} found {"_addr":"192.168.2.27","_name":"Henriks-iPad-2.fritz.box","_data":{"names":["Henriks-iPad-2.fritz.box"]}} found {"_addr":"192.168.2.31","_name":"192.168.2.31"} found {"_addr":"192.168.2.32","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}} found {"_addr":"192.168.2.33","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}} found {"_addr":"192.168.2.34","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}} found {"_addr":"192.168.2.35","_name":"SonosZP.fritz.box","_data":{"names":["SonosZP.fritz.box"]}} found {"_addr":"192.168.2.36","_name":"192.168.2.36"} UPNP Answer from 192.168.2.124 upnp: 10%, devices - 7 ping: 15%, devices - 11 upnp: 20%, devices - 7 ping: 23%, devices - 11 upnp: 30%, devices - 7 ping: 31%, devices - 11 found 192.168.2.101 found {"_addr":"192.168.2.101","_name":"Zigarenbox.fritz.box","_data":{"names":["Zigarenbox.fritz.box"]}} upnp: 40%, devices - 7 ping: 38%, devices - 12 found 192.168.2.115 found {"_addr":"192.168.2.115","_name":"Danidrucker.fritz.box","_data":{"names":["Danidrucker.fritz.box"]}} upnp: 50%, devices - 7 ping: 46%, devices - 13 found 192.168.2.124 found {"_addr":"192.168.2.124","_name":"WDMyCloud.fritz.box","_data":{"names":["WDMyCloud.fritz.box"]}} upnp: 60%, devices - 7 ping: 54%, devices - 14 upnp: 70%, devices - 7 ping: 62%, devices - 14 ping: 69%, devices - 14 upnp: 80%, devices - 7 upnp: 90%, devices - 7 ping: 77%, devices - 14 ping: 85%, devices - 14 upnp: 100%, devices - 7 ping: 92%, devices - 14 ping: 100%, devices - undefined Found 22 addresses Test 192.168.2.23 chromecast Test 192.168.2.23 daikin Test 192.168.2.23 fronius Test 192.168.2.23 hm-rpc Test 192.168.2.23 hue Test 192.168.2.23 influxdb Test 192.168.2.23 landroid Test 192.168.2.23 lightify Test 192.168.2.23 megad Test 192.168.2.23 miele Test 192.168.2.23 nut Test 192.168.2.23 ping Test 192.168.2.23 ping DETECTED! Test 192.168.2.23 samsung Test 192.168.2.23 sonos Test 192.168.2.23 sql Test 192.168.2.23 tr-064 Test 192.168.2.23 upnp Test 192.168.2.23 yamaha Send UDP discovery package Not found Test 192.168.2.23 hm-rega Test /dev/ttyAMA0 mysensors [TypeError: There's no write queue for that file descriptor (after write)!] terminating `
              bitte diese Datei Löschen. Dann kannst du mindestens discovery nutzen.

              /opt/iobroker/node_modiles/iobroker.discovery/lib/methods/serial.js

              Ich kann momentan nicht erkennen, wo der Fehler liegt.

              Ist das Linux oder Windows (Raspi, OSX, ….)?

              discovery version?

              node.js version?

              1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 last edited by

                @bluefox: https://github.com/EmergingTechnologyAd … issues/684

                1 Reply Last reply Reply Quote 0
                • Skudderon
                  Skudderon last edited by

                  Vielen Dank @bluefox! Das hat das Problem behoben und der Assistent lief durch.

                  Um deine Frage noch zu beantworten:

                  ioBroker auf Raspi 3.

                  Node 4.8.3

                  discovery 0.2.3

                  1 Reply Last reply Reply Quote 0
                  • B
                    badplay last edited by

                    scheint genau der selbe fehler bei mir zu sein.

                    Ich probiere das gleich mal aus. Habe einen RPI 3 mit Node 4.8.3 und Discovery Adapter 0.2.3

                    Meine Installation hatte wohl ein paar Error. Aber lief alles:

                    root@raspberrypi2:~# node -v
                    v4.8.3
                    root@raspberrypi2:~# sudo mkdir /opt/iobroker
                    root@raspberrypi2:~# sudo chmod 777 /opt/iobroker
                    root@raspberrypi2:~# cd /opt/iobroker
                    root@raspberrypi2:/opt/iobroker# sudo npm install iobroker --unsafe-perm
                    /
                    > iobroker@0.9.0 install /opt/iobroker/node_modules/iobroker
                    > node lib/setup.js
                    
                    npm install iobroker.js-controller --production --prefix /opt/iobroker
                    npm install iobroker.admin --production --prefix /opt/iobroker
                    npm install iobroker.discovery --production --prefix /opt/iobroker
                    In file included from ../src/dns_sd.cpp:1:0:
                    ../src/mdns.hpp:32:20: fatal error: dns_sd.h: Datei oder Verzeichnis nicht gefunden
                     #include <dns_sd.h>
                                        ^
                    compilation terminated.
                    make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
                    gyp ERR! build error
                    gyp ERR! stack Error: `make` failed with exit code: 2
                    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                    gyp ERR! stack     at emitTwo (events.js:87:13)
                    gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
                    gyp ERR! System Linux 4.9.24-v7+
                    gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/mdns
                    gyp ERR! node -v v4.8.3
                    gyp ERR! node-gyp -v v3.4.0
                    gyp ERR! not ok
                    npm WARN optional dep failed, continuing mdns@2.3.3
                    node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v46-linux-arm.tar.gz
                    node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@4.8.3 (node-v46 ABI) (falling back to source compile with node-gyp)
                    Write "./iobroker start" to start the ioBroker
                    : Datei oder Verzeichnis nicht gefunden
                    Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
                    iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
                    iobroker@0.9.0 node_modules/iobroker
                    └── yargs@7.1.0 (get-caller-file@1.0.2, decamelize@1.2.0, camelcase@3.0.0, y18n@3.2.1, which-module@1.0.0, set-blocking@2.0.0, yargs-parser@5.0.0, require-main-filename@1.0.1, require-directory@2.1.1, cliui@3.2.0, string-width@1.0.2, os-locale@1.4.0, read-pkg-up@1.0.1)
                    root@raspberrypi2:/opt/iobroker# reboot</dns_sd.h>
                    

                    Mein Discovery Adapter funktioniert nun. Leider findet er meine Harmony Hub nicht. Obwohl das damals gefunden wurde auf meiner iobroker installation unter QNAP NAS

                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      Was heißt, funktioniert jetzt? Was ist die Änderung zu vorher wo es nicht tat?

                      1 Reply Last reply Reply Quote 0
                      • B
                        badplay last edited by

                        habe diese datei gelöscht

                        /opt/iobroker/node_modiles/iobroker.discovery/lib/methods/serial.js

                        dann lief alles

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 last edited by

                          Also wie vermutet liegt es am Seriellen testing 😞

                          1 Reply Last reply Reply Quote 0
                          • Bluefox
                            Bluefox last edited by

                            Ich konnte der Fehler nicht finden (da bei mir nicht reproduzierbar) aber ich habe eingebaut die Möglichkeit das auszuschalten:
                            48_2017-05-18_09_27_02-iobroker.admin.png

                            Bitte testen (vom git über "octocat").

                            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

                            662
                            Online

                            32.0k
                            Users

                            80.5k
                            Topics

                            1.3m
                            Posts

                            4
                            14
                            2678
                            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