NEWS
Adapter "smartmeter"
-
Hi,
danke.
Aer es funktioniert leider immer noch nicht.
Schade.
Danke und viele Grüße
Marcel Jaud
-
Dann Debug log bitte. Und schau bitte mal das die files in node_modules/OpenSml aktualisiert wurden.
-
Hallo,
ich habe es nochmal komplett deinstalliert und dann nochmal installiert.
Aber es sieht nicht so aus als ob die Daten in node_modules/open-sml aktuell sind:
! pi@rasp_pv1_goke:/opt/iobroker $ sudo npm uninstall iobroker.smartmeter
! - smartmeter-obis@0.5.12 node_modules/iobroker.smartmeter/node_modules/smartmeter-obis
! - iobroker.smartmeter@0.5.12 node_modules/iobroker.smartmeter
! pi@rasp_pv1_goke:/opt/iobroker $ sudo npm cache clean
! pi@rasp_pv1_goke:/opt/iobroker $ sudo npm install https://github.com/Apollon77/ioBroker.smartmeter –production
! iobroker@1.0.0 /opt/iobroker
! └─┬ iobroker.smartmeter@0.5.12 (git+https://github.com/Apollon77/ioBroker.s ... f4003f6acd)
! └── smartmeter-obis@0.5.12
! pi@rasp_pv1_goke:/opt/iobroker $ ls -alh /opt/iobroker/node_modules/open-sml/
! insgesamt 56K
! drwxrwxrwx 4 root root 4,0K Jul 22 02:30 .
! drwxr-xr-x 337 root root 12K Jul 24 07:47 ..
! -rw-rw-rw- 1 root root 1,9K Jun 12 12:07 Gruntfile.js
! -rw-rw-rw- 1 root root 4,1K Jun 12 12:07 index.js
! drwxrwxrwx 3 root root 4,0K Jul 22 02:30 lib
! -rw-rw-rw- 1 root root 1,1K Jun 12 12:07 LICENSE
! -rw-rw-rw- 1 root root 102 Jun 12 12:07 .npmignore
! -rw-rw-rw- 1 root root 4,8K Jun 12 12:08 package.json
! -rw-rw-rw- 1 root root 1,7K Jun 12 12:07 README.md
! drwxrwxrwx 3 root root 4,0K Jul 22 02:30 test
! pi@rasp_pv1_goke:/opt/iobroker $ ls -alh /opt/iobroker/node_modules/open-sml/lib/
! insgesamt 60K
! drwxrwxrwx 3 root root 4,0K Jul 22 02:30 .
! drwxrwxrwx 4 root root 4,0K Jul 22 02:30 ..
! -rw-rw-rw- 1 root root 2,5K Jun 12 12:07 Constants.js
! drwxrwxrwx 3 root root 4,0K Jul 22 02:30 messages
! -rw-rw-rw- 1 root root 14K Jun 12 12:07 SmlBuffer.js
! -rw-rw-rw- 1 root root 3,0K Jun 12 12:07 SmlCRC.js
! -rw-rw-rw- 1 root root 4,3K Jun 12 12:07 SmlFile.js
! -rw-rw-rw- 1 root root 4,1K Jun 12 12:07 SmlMessageBody.js
! -rw-rw-rw- 1 root root 4,4K Jun 12 12:07 SmlMessage.jsViele Grüße
Marcel Jaud
-
Interessant … versuch nochmal bitte.
Falls nicht ersetze mal das File manuell:
-
Hallo,
habe jetzt manuell drüber kopiert.
Jetzt bekomme ich nur noch:
host.rasp_pv1_goke 2017-07-24 21:35:41.501 error instance system.adapter.smartmeter.0 terminated with code 1 ()
host.rasp_pv1_goke 2017-07-24 21:35:40.719 info instance system.adapter.smartmeter.0 started with pid 11153
host.rasp_pv1_goke 2017-07-24 21:35:35.334 info Restart adapter system.adapter.smartmeter.0 because enabled
Auch wenn ich nochmal lösche und neu installiere das gleiche.
Nach der Installation erneuert sich auch nicht das Datum der SmlBuffer.js Datei.
Viele Grüße
Marcel Jaud
-
Komisch … Dann lösch mal den "open-sml" ordner und installiere dann den Adapter. Sollte dann wieder installiert werden. Falls nicht wirf auch smartmeter-obis weg (oder gleich beides)
-
Hallo,
super danke es funktioniert.
Viele Grüße
Marcel Jaud
-
Könnten die anderen User bitte auch mal auf die Github Version updaten und schauen ob noch alles tut wie bisher?
Danke!
-
Bei mir läuft alles nach dem Update!
Enrico
-
Hy,
$ ./iobroker add smartmeter npm install iobroker.smartmeter --production --prefix "/opt/iobroker" (System call) npm WARN addRemoteGit Error: not found: gitnpm 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2 because of error: { Error: not found: gitnpm 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2: undefined npm WARN addRemoteGit Error: not found: gitnpm 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)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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52 because of error: { Error: not found: git 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52: undefined npm WARN addRemoteGit Error: not found: gitnpm 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac because of error: { Error: not found: git 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) 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:16npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac: undefined npm ERR! Linux 4.9.24-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.smartmeter" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.10.3 npm ERR! npm v3.10.10npm ERR! code ENOGIT npm ERR! not found: gitnpm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log host.ioBroker-RasPi install adapter smartmeter npm install iobroker.smartmeter --production --prefix "/opt/iobroker" (System call) npm WARN addRemoteGit Error: not found: gitnpm 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) 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 npm 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/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2 because of error: { Error: not found: git 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2: undefined npm WARN addRemoteGit Error: not found: gitnpm 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)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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52 because of error: { Error: not found: git 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52: undefined npm WARN addRemoteGit Error: not found: gitnpm 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac because of error: { Error: not found: git 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac: undefined npm ERR! Linux 4.9.24-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.smartmeter" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.10.3 npm ERR! npm v3.10.10 npm ERR! code ENOGIT npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log host.ioBroker-RasPi install adapter smartmeter npm install iobroker.smartmeter --production --prefix "/opt/iobroker" (System call) npm WARN addRemoteGit Error: not found: gitnpm 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)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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2 because of error: { Error: not found: git 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-f43458a2: undefined npm WARN addRemoteGit Error: not found: gitnpm 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52 because of error: { Error: not found: git 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/apollon77/OpenSML.git /root/.npm/_git-remotes/git-https-github-com-apollon77-OpenSML-git-28622d52: undefined npm WARN addRemoteGit Error: not found: gitnpm 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) 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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)npm WARN addRemoteGit apollon77/OpenSML resetting remote /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac because of error: { Error: not found: git 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)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 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' } npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:apollon77/OpenSML.git /root/.npm/_git-remotes/git-github-com-apollon77-OpenSML-git-6ff02cac: undefined npm ERR! Linux 4.9.24-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.smartmeter" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.10.3 npm ERR! npm v3.10.10npm ERR! code ENOGIT npm ERR! not found: gitnpm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log host.ioBroker-RasPi install adapter smartmeter ERROR: host.ioBroker-RasPi Cannot install smartmeter ERROR: process exited with code 13
Ich bekomme den Adapter nicht installiert.
Woran kann das liegen?
-
… addRemoteGit Error: not found: git
apt-get install git
-
Info: Udo verkauft keine Smartmeter Leseköpfe mehr.
Alle Infos hier: https://wiki.volkszaehler.org/hardware/ … sb-ausgang
-
:?:
@apollon77:… addRemoteGit Error: not found: git
apt-get install git `
Das heißt??? -
Du musst git installiert haben. Der Adapter installiert eine Library direkt aus git. Mit Linux geht das per " apt-get install git"
-
Dankeschön, werde ich heute direkt mal testen …
Off Topic: Ich kann mich nicht mehr per putty mit root einloggen. Bekomme" Access denied" zurück. Direkt am pi mit Tastatur geht es????
-
Dankeschön, werde ich heute direkt mal testen …
Off Topic: Ich kann mich nicht mehr per putty mit root einloggen. Bekomme" Access denied" zurück. Direkt am pi mit Tastatur geht es???? `
Und wenn du per Putty versuchst dich als User "Pi" einzuloggen ?
Gesendet von iPhone mit Tapatalk Pro
-
Das geht ohne Probleme. Das ist es ja…
-
Das geht ohne Probleme. Das ist es ja… `
Der root Zugang ist von Außen gesperrt. Du kannst entweder dich als pi einloggen und dann:
su -
ausführen. Oder laut Installationsanleitung für ioBroker für Raspberry:
4. Über Putty am Raspberry anmelden. Login: pi, Kennwort: raspberry
5. mit sudo raspi-config die nötige Grundkonfiguration durchführen
6. Root Zugang freischalten
1. sudo nano /etc/ssh/sshd_config
2. Datei anpassen: PermitRootLogin without-password in PermitRootLogin yes ändern und speichern
3. SSH neu starten: sudo /etc/init.d/ssh restart
4. sudo su (jetzt ist der Root Modus gestartet)
5. mit passwd ein Passwort vergeben
6. Ausloggen und als Root über Putty anmelden
-
Du musst git installiert haben. Der Adapter installiert eine Library direkt aus git. Mit Linux geht das per " apt-get install git" `
perfekt, super DANKE funktioniert!
Welche Abfrageintervalle hältst du für sinnvoll? 60s?
VG Torsten
-
. Datei anpassen: PermitRootLogin without-password in PermitRootLogin yes ändern und speichern
An das kann ich mich irgendwie erinnern. Warum auch immer… Lol