NEWS
Adapter "smartmeter"
-
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
-
Hallo zusammen,
ich würde mich hier auch gern einklinken, da ich nicht weiß was ich falsch mache.
Der Zähler den ich gern auswerten würde ich von der Deutschen Zählergesellschaft Oranienburg, Modell DWSE 20.244 (Hersteller: https://www.dzg.de/ , Anleitung hier: http://www.stadtwerke-kaltenkirchen.de/ … %20DSG.pdf
Als Equipment nutze ich den vielfach angesprochenen Auslesekopf von den Volkszähler-Kollegen (auf dem Bild ist noch der nicht funktionierende ELV Kopf zu sehen, da er das genutzte Protokoll leider nicht unterstützt).
Nach allem was ich herausgefunden habe, "spricht" mein Zähler SML. Soweit ich das beurteilen kann erhalte ich auch Daten, aber wohl keine mit denen man was anfangen könnte:
smartmeter.0 2017-07-31 02:29:11.433 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e4c780c084f2128" -> null smartmeter.0 2017-07-31 02:29:11.406 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e4c780c084f21" -> null smartmeter.0 2017-07-31 02:29:11.377 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e4c780c084f" -> null smartmeter.0 2017-07-31 02:29:11.347 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e4c780c08" -> null smartmeter.0 2017-07-31 02:29:11.318 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e4c780c" -> null smartmeter.0 2017-07-31 02:29:11.288 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e4c78" -> null smartmeter.0 2017-07-31 02:29:11.258 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e4c" -> null smartmeter.0 2017-07-31 02:29:11.229 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b0e" -> null smartmeter.0 2017-07-31 02:29:11.202 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c5b" -> null smartmeter.0 2017-07-31 02:29:11.170 debug MATCH-RESULT MESSAGE: "08780a0d0a0c504c" -> null smartmeter.0 2017-07-31 02:29:11.139 debug MATCH-RESULT MESSAGE: "08780a0d0a0c50" -> null smartmeter.0 2017-07-31 02:29:11.110 debug MATCH-RESULT MESSAGE: "08780a0d0a0c" -> null smartmeter.0 2017-07-31 02:29:11.081 debug MATCH-RESULT MESSAGE: "08780a0d0a" -> null smartmeter.0 2017-07-31 02:29:11.052 debug MATCH-RESULT MESSAGE: "08780a0d" -> null smartmeter.0 2017-07-31 02:29:11.022 debug MATCH-RESULT MESSAGE: "08780a" -> null smartmeter.0 2017-07-31 02:29:10.990 debug MATCH-RESULT MESSAGE: "0878" -> null smartmeter.0 2017-07-31 02:29:10.976 debug MATCH-RESULT MESSAGE: "08" -> null smartmeter.0 2017-07-31 02:29:10.643 debug SET MESSAGE TIMEOUT TIMER: 120000 smartmeter.0 2017-07-31 02:29:10.642 debug DONE SEND 0 smartmeter.0 2017-07-31 02:29:10.642 debug INITIAL MESSAGES TO SEND: 0 smartmeter.0 2017-07-31 02:29:10.642 debug SERIALPORT RESET BAUDRATE TO 300 smartmeter.0 2017-07-31 02:29:10.642 debug SERIALPORT OPEN smartmeter.0 2017-07-31 02:29:10.641 debug CREATE SERIALPORT: 300 7 1 even smartmeter.0 2017-07-31 02:29:10.640 debug SmartmeterObis options: {"debug":2,"protocol":"SmlProtocol","transport":"SerialRequestResponseTransport","requestInterval":"60","transportSerialPort":"/dev/ttyUSB0","transportSerialBaudrate":null,"tra smartmeter.0 2017-07-31 02:29:10.637 info starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v4.8.4
Diese Daten schießen im Millisekundentakt nach oben. Innerhalb von einer Sekunde ist eine komplette Logseite voll, und die Zahl wird nach obigem Muster immer länger.
EDIT: den unter https://wiki.volkszaehler.org/hardware/ … sb-ausgang ganz unten beschriebenen Test habe ich ebenfalls durchgeführt, und auch die entsprechenden Daten bekommen
0000000 1b 1b 1b 1b 01 01 01 01 76 07 00 0a 00 6f 31 74 0000020 62 00 62 00 72 63 01 01 76 01 01 07 00 0a 00 20 0000040 10 7c 0b 06 45 4d 48 01 04 c5 6b 7d ce 01 01 63 0000060 86 9d 00 76 07 00 0a 00 6f 31 75 62 00 62 00 72 0000100 63 07 01 77 01 0b 06 45 4d 48 01 04 c5 6b 7d ce 0000120 07 01 00 62 0a ff ff 72 62 01 65 00 20 79 be 7a
Hat jemand einen Tipp für mich, was ich tun muss?
Vielen Dank!