Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Netatmo Adapter lässt sich nicht einbinden

    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

    Netatmo Adapter lässt sich nicht einbinden

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

      Hallo,

      ich bin ganz neu bei IOBroker. Habe diesen gerade auf einem PI 3 installiert. Meine Homematic Geräte wurden problemlos erkannt. Als ich den Netatmo Adapter hinzufügen wollte kommt die folgende Fehlermeldung:

      iobroker	2017-11-19 15:04:25.622	error	host.pi-server error: reading io-package.json SyntaxError: Unexpected token }
         Exit 14
      

      Außerdem lässt sich der Logitech Harmony Adapter ebenfalls nicht hinzufügen, es kommt folgende Fehlermeldung (Auszug aus dem LOG):

      iobroker	2017-11-19 15:05:45.255	error	host.pi-server Cannot install harmony
      iobroker	2017-11-19 15:05:45.253	info	host.pi-server install adapter harmony
      iobroker	2017-11-19 15:05:45.238	info	ERR! /npm-debug.log
      iobroker	2017-11-19 15:05:45.236	info	npm
      iobroker	2017-11-19 15:05:45.236	info	npm ERR! Please include the following file with any support request:
      iobroker	2017-11-19 15:05:45.056	info	ERR! This is most likely not a problem with npm itself.npm ERR! Please check if you have git installed and in your PATH.
      iobroker	2017-11-19 15:05:45.050	info	npm
      iobroker	2017-11-19 15:05:45.050	info	npm ERR! Failed using git.
      iobroker	2017-11-19 15:05:45.050	info	npm ERR!
      iobroker	2017-11-19 15:05:45.050	info	npm ERR! not found: git
      iobroker	2017-11-19 15:05:45.043	info	npm ERR! code ENOGIT
      iobroker	2017-11-19 15:05:45.043	info	npm ERR! npm v2.15.11
      iobroker	2017-11-19 15:05:45.043	info	npm ERR! node v4.8.6
      iobroker	2017-11-19 15:05:45.043	info	ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
      iobroker	2017-11-19 15:05:45.038	info	npm
      iobroker	2017-11-19 15:05:44.605	info	ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128: undefinednpm ERR! git
      iobroker	2017-11-19 15:05:44.603	info	npm
      iobroker	2017-11-19 15:05:44.529	info	WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package
      iobroker	2017-11-19 15:05:44.527	info	npm
      iobroker	2017-11-19 15:05:44.493	info	npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128 because of error: { [Error: no
      iobroker	2017-11-19 15:05:44.493	info	npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
      iobroker	2017-11-19 15:05:44.493	info	WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/acce
      iobroker	2017-11-19 15:05:44.490	info	
      iobroker	2017-11-19 15:05:44.477	info	npm
      iobroker	2017-11-19 15:05:44.477	info	npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
      iobroker	2017-11-19 15:05:44.475	info	npm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
      iobroker	2017-11-19 15:05:44.473	info	Error: not found: git
      iobroker	2017-11-19 15:05:44.458	info	WARN addRemoteGit
      iobroker	2017-11-19 15:05:44.456	info	npm
      iobroker	2017-11-19 15:05:43.524	info	WARN engine harmonyhubjs-client@1.1.10: wanted: {"npm":">=3.0.0"} (current: {"node":"4.8.6","npm":"2.15.11"})
      iobroker	2017-11-19 15:05:43.520	info	
      iobroker	2017-11-19 15:05:43.518	info	npm
      iobroker	2017-11-19 15:05:39.860	info	npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
      iobroker	2017-11-19 15:05:39.557	info	host.pi-server install adapter harmony
      iobroker	2017-11-19 15:05:39.542	info	npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
      iobroker	2017-11-19 15:05:39.540	info	
      iobroker	2017-11-19 15:05:39.359	info	Please check if you have git installed and in your PATH.
      iobroker	2017-11-19 15:05:39.355	info	npm ERR!
      iobroker	2017-11-19 15:05:39.355	info	npm ERR! Failed using git.npm ERR! This is most likely not a problem with npm itself.
      iobroker	2017-11-19 15:05:39.353	info	npm ERR!
      iobroker	2017-11-19 15:05:39.353	info	npm ERR! not found: git
      iobroker	2017-11-19 15:05:39.353	info	npm ERR! code ENOGIT
      iobroker	2017-11-19 15:05:39.344	info	npm ERR! npm v2.15.11
      iobroker	2017-11-19 15:05:39.344	info	npm ERR! node v4.8.6
      iobroker	2017-11-19 15:05:39.344	info	ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
      iobroker	2017-11-19 15:05:39.342	info	npm
      iobroker	2017-11-19 15:05:39.017	info	ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128: undefinednpm ERR! git
      iobroker	2017-11-19 15:05:39.015	info	npm
      iobroker	2017-11-19 15:05:38.979	info	WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote /root/.npm/_git-remotes/https-github-
      iobroker	2017-11-19 15:05:38.976	info	npm
      iobroker	2017-11-19 15:05:38.976	info	npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
      iobroker	2017-11-19 15:05:38.976	info	addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
      iobroker	2017-11-19 15:05:38.972	info	WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)npm WARN
      iobroker	2017-11-19 15:05:38.966	info	at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)npm
      iobroker	2017-11-19 15:05:38.965	info	npm WARN addRemoteGit
      iobroker	2017-11-19 15:05:38.965	info	WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
      iobroker	2017-11-19 15:05:38.963	info	npm
      iobroker	2017-11-19 15:05:38.730	info	npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package
      iobroker	2017-11-19 15:05:38.011	info	WARN engine harmonyhubjs-client@1.1.10: wanted: {"npm":">=3.0.0"} (current: {"node":"4.8.6","npm":"2.15.11"})
      iobroker	2017-11-19 15:05:38.004	info	npm
      iobroker	2017-11-19 15:05:34.816	info	npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
      iobroker	2017-11-19 15:05:34.482	info	host.pi-server install adapter harmony
      iobroker	2017-11-19 15:05:34.411	info	npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
      iobroker	2017-11-19 15:05:34.409	info	
      iobroker	2017-11-19 15:05:34.233	info	Please check if you have git installed and in your PATH.
      iobroker	2017-11-19 15:05:34.226	info	npm ERR!
      iobroker	2017-11-19 15:05:34.226	info	Failed using git.npm ERR! This is most likely not a problem with npm itself.
      iobroker	2017-11-19 15:05:34.224	info	ERR!
      iobroker	2017-11-19 15:05:34.221	info	npm
      iobroker	2017-11-19 15:05:34.221	info	npm ERR!
      iobroker	2017-11-19 15:05:34.221	info	npm ERR! not found: git
      iobroker	2017-11-19 15:05:34.212	info	v2.15.11npm ERR! code ENOGIT
      iobroker	2017-11-19 15:05:34.210	info	npm ERR! npm
      iobroker	2017-11-19 15:05:34.210	info	npm ERR! node v4.8.6
      iobroker	2017-11-19 15:05:34.210	info	ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
      iobroker	2017-11-19 15:05:34.207	info	npm
      iobroker	2017-11-19 15:05:33.791	info	ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128: undefinednpm ERR! git
      iobroker	2017-11-19 15:05:33.789	info	npm
      iobroker	2017-11-19 15:05:33.732	info	WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package
      iobroker	2017-11-19 15:05:33.730	info	npm
      iobroker	2017-11-19 15:05:33.645	info	npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128 because of error: { [Error: no
      iobroker	2017-11-19 15:05:33.645	info	npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
      iobroker	2017-11-19 15:05:33.645	info	npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
      iobroker	2017-11-19 15:05:33.645	info	npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
      iobroker	2017-11-19 15:05:33.645	info	npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
      iobroker	2017-11-19 15:05:33.645	info	npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
      iobroker	2017-11-19 15:05:33.634	info	at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
      iobroker	2017-11-19 15:05:33.632	info	WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit
      iobroker	2017-11-19 15:05:33.631	info	npm
      iobroker	2017-11-19 15:05:32.755	info	WARN engine harmonyhubjs-client@1.1.10: wanted: {"npm":">=3.0.0"} (current: {"node":"4.8.6","npm":"2.15.11"})
      iobroker	2017-11-19 15:05:32.752	info	npm
      iobroker	2017-11-19 15:05:28.870	info	npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
      iobroker	2017-11-19 15:05:26.742	info	add harmony
      

      Kann mir jemand helfen? Vielen Dank

      Markus

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Hallo Markus und Willkommen im Forum!

        Da brat mir doch einer nen Storch!

        @MarkusB:

        gerade auf einem PI 3 `
        Mit aktuellem raspbian? Oder altes image?

        @MarkusB:

        npm ERR! code ENOGIT `
        Bitte git installieren

        sudo apt-get install git
        

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • M
          MarkusB last edited by

          @Homoran:

          Hallo Markus und Willkommen im Forum! `
          Danke. Und Danke für Deine schnelle Antwort.

          @Homoran:

          Mit aktuellem raspbian? Oder altes image? `
          Es ist jessie installiert.

          @Homoran:

          Bitte git installieren `
          Habe ich germacht. Harmony hat sich jetzt installieren lassen. Netatmo noch nicht.

          Danke und viele Grüße

          Markus

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            @MarkusB:

            Es ist jessie installiert. `
            Irgendwann gab es mal ein raspbian, in dem git nicht vorinstalliert war. Davor und aktuell ist es nämlich mit drin.

            Mit netatmo habe ich keine Erfahrung.

            Über die Konsole könntest du versuchen

            cd /opt/ iobroker 
            sudo iobroker stop
            sudo npm cache clean
            sudo npm install iobroker.netatmo
            sudo iobroker start
            

            Ohne Gewähr!

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • M
              MarkusB last edited by

              @Homoran:

              Mit netatmo habe ich keine Erfahrung.

              Über die Konsole könntest du versuchen

              cd /opt/ iobroker 
              sudo iobroker stop
              sudo npm cache clean
              sudo npm install iobroker.netatmo
              sudo iobroker start
              

              Ohne Gewähr!

              Gruß

              Rainer `

              Hallo Rainer, Danke auch Dir für die schnelle Antwort.

              Ich habe die Zeilen eingegeben. Es kam keine Fehlermeldung, aber nach neuem Aufruf von IOBroker war der Adapter nicht installiert. Erneut gedrückt auf hinzufügen, gleicher Fehler. Schade.

              VG

              Markus

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                Sorry, mein Fehler (?).

                Der code installierte den Adapter neu, nicht die Instanz.

                Wenn es, wie ich vorausgesetzt hatte, an einem Problem mit diesen Daten gelegen hätte, hätte natürlich vorher die Instanz und der Adapter gelöscht werden müssen.

                Gruß

                Rainer

                1 Reply Last reply Reply Quote 0
                • M
                  MarkusB last edited by

                  @Homoran:

                  Sorry, mein Fehler (?).

                  Der code installierte den Adapter neu, nicht die Instanz.

                  Wenn es, wie ich vorausgesetzt hatte, an einem Problem mit diesen Daten gelegen hätte, hätte natürlich vorher die Instanz und der Adapter gelöscht werden müssen.

                  Gruß

                  Rainer `

                  Verstehe ich nicht ganz. Netatmo war ja gar nicht installiert. Es tauchte weder in der Instanzenliste auf, noch war etwas bei dem Adapter vermerkt, dass es installiert ist.

                  Was hätte ich denn anderes machen/schreiben müssen, um den den Fehler zu verhindern?

                  VG

                  Markus

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    Nochmals sorry!

                    Ist heute wohl nicht mein Tag :oops:

                    Dann war mein erstes herangehen doch richtig!

                    Watt nu?

                    Möglicherweise wäre die Installation aus github noch eine Rettung.

                    http://www.iobroker.net/docu/?page_id=5 … stallieren

                    Solltest du aber bereits als Repository latest eingestellt haben, wäre das zwar die gleiche Version, jedoch ein anderer Installationsweg.

                    Nur zur Sicherheit:

                    js- controller und admin sind aber aktuell?

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • M
                      MarkusB last edited by

                      @Homoran:

                      Nur zur Sicherheit:

                      js- controller und admin sind aber aktuell?

                      Gruß

                      Rainer `

                      Naja, unter Adapter updates wird nichts aufgeführt. Muss ich das noch woanders überprüfen?

                      1 Reply Last reply Reply Quote 0
                      • M
                        MarkusB last edited by

                        @Homoran:

                        Möglicherweise wäre die Installation aus github noch eine Rettung.

                        http://www.iobroker.net/docu/?page_id=5 … stallieren

                        Solltest du aber bereits als Repository latest eingestellt haben, wäre das zwar die gleiche Version, jedoch ein anderer Installationsweg.

                        Gruß

                        Rainer `
                        Habe ich jetzt mal durchgeführt. Hier mal die Logeinträge:

                        iobroker	2017-11-19 18:49:18.172	info	exit 1
                        iobroker	2017-11-19 18:49:18.147	error	at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:332:29)
                        iobroker	2017-11-19 18:49:18.147	error	at upload (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:280:57)
                        iobroker	2017-11-19 18:49:18.147	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:697:40
                        iobroker	2017-11-19 18:49:18.147	error	at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:214:23)
                        iobroker	2017-11-19 18:49:18.147	error	at require (internal/module.js:12:17)
                        iobroker	2017-11-19 18:49:18.147	error	at Module.require (module.js:353:17)
                        iobroker	2017-11-19 18:49:18.147	error	at Function.Module._load (module.js:300:12)
                        iobroker	2017-11-19 18:49:18.147	error	at Module.load (module.js:343:32)
                        iobroker	2017-11-19 18:49:18.147	error	at Object.Module._extensions..json (module.js:424:27)
                        iobroker	2017-11-19 18:49:18.147	error	at Object.parse (native)
                        iobroker	2017-11-19 18:49:18.147	error	SyntaxError: /opt/iobroker/node_modules/iobroker.netatmo/io-package.json: Unexpected token }
                        iobroker	2017-11-19 18:49:18.147	error	^
                        iobroker	2017-11-19 18:49:18.147	error	module.js:427 throw err;
                        iobroker	2017-11-19 18:49:18.063	info	upload [0] netatmo.admin /opt/iobroker/node_modules/iobroker.netatmo/admin/index.html index.html text/html
                        iobroker	2017-11-19 18:49:17.791	info	upload [1] netatmo.admin /opt/iobroker/node_modules/iobroker.netatmo/admin/netatmo.png netatmo.png image/png
                        iobroker	2017-11-19 18:49:17.764	info	got /opt/iobroker/node_modules/iobroker.netatmo/admin
                        iobroker	2017-11-19 18:48:40.207	info	npm install https://github.com/PArns/ioBroker.netatmo/tarball/master --production --prefix "/opt/iobroker" (System call)
                        iobroker	2017-11-19 18:48:39.820	info	install https://github.com/PArns/ioBroker.netatmo/tarball/master
                        iobroker	2017-11-19 18:48:38.350	info	url "https://github.com/PArns/ioBroker.netatmo/tarball/master" netatmo
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        694
                        Online

                        32.0k
                        Users

                        80.6k
                        Topics

                        1.3m
                        Posts

                        2
                        10
                        694
                        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