Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter von Github

    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

    Adapter von Github

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

      Danke für deine Unterstützung.

      Steige da nicht wirklich durch was npm unter Windows angeht.

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

        Der wiffi-wz taucht jetzt unter dem Reiter Adapter auf.

        Sobald ich aber versuche den Adapter zu installieren kommen folgende Meldungen.

        Gruß
        3448_wiif-install.png
        3448_wiifi-wz.png

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

          Unvollständiges log - da müsste am Ende ein „Exit 0“ oder so stehen. aber an sich sollte ok sein. Sind nur Warnungen.

          Gesendet vom Handy …

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

            @apollon77: Nein, das Log von bibo09 ist nicht unvollständig. Die Installation bleibt tatsächlich an dieser Stelle auf Windows einfach hängen. Habe das auch bei mir getestet.

            Ausgelöst wird das IMHO vom Aufruf

            package.json
              "scripts": {
                "install": "node main.js --install",
                "test": "node node_modules/mocha/bin/mocha --exit"
              },
            

            , also genauer von

            node main.js --install
            

            das letzendlich den folgenden "Dauerfehler" erzeugt:

            C:\dev\iobroker\node_modules\iobroker.wiffi-wz>node main.js --install --log --console
            2018-08-30 22:12:34.083  - info: wiffi-wz.0 starting. Version 1.2.4 in C:/dev/iobroker/node_modules/iobroker.wiffi-wz, node: v8.11.1
            2018-08-30 22:12:34.091  - info: wiffi-wz.0 Opening socket ...
            2018-08-30 22:12:34.092  - info: wiffi-wz.0 Opening local server on 0.0.0.0:8181
            2018-08-30 22:12:34.095  - info: wiffi-wz.0 Server listening on 0.0.0.0:8181
            2018-08-30 22:12:39.244  - info: wiffi-wz.0 Stopping adapter ...
            ReferenceError: sock is not defined
                at Server. <anonymous>(C:\dev\iobroker\node_modules\iobroker.wiffi-wz\main.js:220:36)
                at emitNone (events.js:106:13)
                at Server.emit (events.js:208:7)
                at emitCloseNT (net.js:1671:8)
                at _combinedTickCallback (internal/process/next_tick.js:135:11)
                at process._tickCallback (internal/process/next_tick.js:180:9)
            2018-08-30 22:12:39.251  - error: wiffi-wz.0 uncaught exception: sock is not defined
            2018-08-30 22:12:39.251  - error: wiffi-wz.0 ReferenceError: sock is not defined
                at Server. <anonymous>(C:\dev\iobroker\node_modules\iobroker.wiffi-wz\main.js:220:36)
                at emitNone (events.js:106:13)
                at Server.emit (events.js:208:7)
                at emitCloseNT (net.js:1671:8)
                at _combinedTickCallback (internal/process/next_tick.js:135:11)
                at process._tickCallback (internal/process/next_tick.js:180:9)
            2018-08-30 22:12:39.251  - info: wiffi-wz.0 Stopping adapter ...
            ReferenceError: sock is not defined
                at Server. <anonymous>(C:\dev\iobroker\node_modules\iobroker.wiffi-wz\main.js:220:36)
                at emitNone (events.js:106:13)
                at Server.emit (events.js:208:7)
                at emitCloseNT (net.js:1671:8)
                at _combinedTickCallback (internal/process/next_tick.js:135:11)
                at Immediate._tickCallback [as _onImmediate] (internal/process/next_tick.js:180:9)
                at runCallback (timers.js:794:20)
                at tryOnImmediate (timers.js:752:5)
                at processImmediate [as _immediateCallback] (timers.js:729:5)
            2018-08-30 22:12:39.253  - error: wiffi-wz.0 uncaught exception: sock is not defined
            2018-08-30 22:12:39.254  - error: wiffi-wz.0 ReferenceError: sock is not defined
                at Server. <anonymous>(C:\dev\iobroker\node_modules\iobroker.wiffi-wz\main.js:220:36)
                at emitNone (events.js:106:13)
                at Server.emit (events.js:208:7)
                at emitCloseNT (net.js:1671:8)
                at _combinedTickCallback (internal/process/next_tick.js:135:11)
                at Immediate._tickCallback [as _onImmediate] (internal/process/next_tick.js:180:9)
                at runCallback (timers.js:794:20)
                at tryOnImmediate (timers.js:752:5)
                at processImmediate [as _immediateCallback] (timers.js:729:5)
            2018-08-30 22:12:39.257  - info: wiffi-wz.0 Stopping adapter ...
            ReferenceError: sock is not defined
            [...]</anonymous></anonymous></anonymous></anonymous>
            

            Deshalb die Bitte an bibo09: Bitte Issue für den Adapter-Entwickler auf GitHub erstellen.

            Wenn man die –install-Zeile weglässt, läuft die Installation durch. DIe Objekte sind auch unterhalb des root-Devices angelegt. Nur werden sie nicht aktualisiert...

            7446_2018-08-30_22_11_33-objects_-_iobroker.png

            PS: Jaja, schon klar, dass 127.0.0.1 nicht geht. Musste aber was für den Screenshot angeben…

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

              @bibo09 Der param12 muss noch auf 8081 gestellt sein.

              1 Reply Last reply Reply Quote 0
              • X
                x4tlaoguo last edited by

                Hallo Leute,

                der Fehler "sock not found" ist ein echter Adapter-Fehler, welcher in der Version 1.2.5 gefixed sein sollte. Was die Installationsprobleme betrifft schließe ich mich Apollon an, das liegt, zumindest sieht das bei mir so aus, nicht am Adapter. Ich nutze Windows 10 auf zwei Systemen und die Installation und der Adapter läuft.

                1 Reply Last reply Reply Quote 0
                • X
                  x4tlaoguo last edited by

                  Mit fällt zu den NPM Problemen unter Windows noch Folgendes ein. Ich hatte ähnliche Probleme und habe daraufhin NPM wie hier https://stackoverflow.com/questions/184 … on-windows beschrieben geupdated.

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

                    Npm ist 6.4.0. Neuer geht nicht. Schau doch oben mal das Log von dem install-Aufruf an. Socket error und der Prozess beendet sich nicht bei —install.

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

                      ggf ein explizizes process.exit() bzw adapter.stop() einbauen ?! (mit zeitlicher verzögerung!)

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

                        @Stabilostick

                        Danke für dein Support der Adapter fuktioniert jetzt soweit. Werte per json kommen auch rein.

                        Mal schauen ob das Problem bei der Installation unter Win 10 gelöst wird.

                        Gruß

                        bibo

                        Gesendet von meinem SM-G930F mit Tapatalk

                        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

                        695
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        4
                        18
                        2297
                        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