@Jan1 done.
NEWS
Latest posts made by rebe09
-
RE: gelöst: Script an bestimmter Zeit ausführen
Ok.
Zeitzone war tatsächlich falsch.
Habe mittelssudo dpkg-reconfigure tzdata
die Zeitzone richtiggestellt + Neustart, nun klappt es
Danke! -
RE: gelöst: Script an bestimmter Zeit ausführen
@Jan1 wie kann ich das prüfen?
-
RE: gelöst: Script an bestimmter Zeit ausführen
@htrecksler Das klappt auch nicht, schon probiert.
-
gelöst: Script an bestimmter Zeit ausführen
Hallo.
Zu meinem Problem gibt es zwar einige Einträge aber ich finde den Fehler einfach nicht.
Ein Script enthält eine Funktion die zu einer bestimmten Zeit, einmal pro Tag ausgeführt werden soll.
Nun habe ich das Scipt so minimiert:schedule("58 9 * * *", Testfunktion); function Testfunktion() { console.log('Testfunktion ausgeführt'); };
Das Script sollte also um 09:58 Uhr ausgeführt werden, tut es aber nicht.
Wenn ich die Zeit auf z.b. alle 5Minuten ändere, tut es (dann alle 5Minuten)
Frage: Hat jemand eine Idee?
Gibt es einen bekannten Fehler? -
RE: "Adapter verfügbar" wird nicht mehr angezeigt
@bahnuhr
Danke.
Du hast da ja 4 Zeilen drinnen.
Sollte ich da auch mehr als die 2 haben? -
RE: "Adapter verfügbar" wird nicht mehr angezeigt
Ich seh auch nur die aktuell installierten Adapter.
Wo muss ich was eintragen damit ich wieder alles "installierbaren" angezeigt bekomme?
Vielen Dank! -
RE: Amazon Dash Adapter spinnt sich aus
Hallo nochmals.
Ich habe nun nochmals versucht auf einem andern Raspberry iobroker neu aufzusetzen und anschließend den Amazon Adapter zu installieren.
Das klappt leider auch nicht.
folgender Output:
! $ ./iobroker add amazon-dash –host raspberrypi
! NPM version: 6.4.1
! npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
! WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
! E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
! ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::Callback(uv_poll_t*, int, int)’:../socket_watcher.cpp:77:60: warning: ‘v8::Local v8::valueNan::MakeCallback(v8::Localv8::object, v8::Localv8::function, int, v8::Localv8::value*)’ is deprecated [-Wdeprecated-declarations]
! Nan::MakeCallback(watcher->handle(), callback, argc, argv);
! ^
! In file included from ../socket_watcher.hpp:8:0, from ../socket_watcher.cpp:5:
! ../../nan/nan.h:959:46: note: declared here
! NAN_DEPRECATED inline v8::Local v8::valueMakeCallback(
! ^~~~~~~~~~~~</v8::value></v8::value></v8::function></v8::object></v8::value> -
RE: Amazon Dash Adapter spinnt sich aus
Hallo.
Ich bekomme bei install Versuch folgende Fehlermeldung(en)
! $ ./iobroker add amazon-dash –host octopi
! npm install iobroker.amazon-dash --production --prefix "/root" (System call)
! npm
! WARN addRemoteGit Error: Command failed: git config --get remote.origin.urlnpm WARN addRemoteGit
! npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:199:12)
! npm WARN addRemoteGit at emitTwo (events.js:106:13)
! npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
! npm WARN addRemoteGit git+https://github.com/bytzdev/node-socketwatcher.git resetting remote /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de because of error: { Error: Command failed: git config --get remote.origin.url
! npm WARN addRemoteGit
! npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:199:12)
! npm WARN addRemoteGit at emitTwo (events.js:106:13)
! npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
! npm WARN addRemoteGit killed: false,
! npm WARN addRemoteGit code: 1,
! npm WARN addRemoteGit signal: null,
! npm WARN addRemoteGit cmd: 'git config --get remote.origin.url' }
! npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: Please run git without sudo, your regular user account is enough
! npm ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/root"
! npm
! ERR! node v6.13.0
! npm ERR! npm v3.10.10
! npm ERR! code 1
! npm
! ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02denpm ERR!
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
! npm
! ERR! Please include the following file with any support request:npm ERR!
! /npm-debug.log
! host.octopi install adapter amazon-dash
! npm install iobroker.amazon-dash --production --prefix "/root" (System call)
! npm
! WARN addRemoteGit Error: Command failed: git config --get remote.origin.urlnpm WARN addRemoteGit
! npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:199:12)
! npm WARN addRemoteGit at emitTwo (events.js:106:13)
! npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! npm WARN addRemoteGit
! at Socket. <anonymous>(internal/child_process.js:351:11)npm WARN addRemoteGit at emitOne (events.js:96:13)
! npm WARN addRemoteGit at Socket.emit (events.js:188:7)
! npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:509:12)
! npm WARN addRemoteGit git+https://github.com/bytzdev/node-socketwatcher.git resetting remote /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de because of error: { Error: Command failed: git config –get remote.origin.url
! npm WARN addRemoteGit
! npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:199:12)
! npm WARN addRemoteGit at emitTwo (events.js:106:13)
! npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! npm WARN addRemoteGit at Socket. <anonymous>(internal/child_process.js:351:11)
! npm WARN addRemoteGit at emitOne (events.js:96:13)
! npm WARN addRemoteGit at Socket.emit (events.js:188:7)
! npm
! WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:509:12)npm WARN addRemoteGit killed: false,
! npm
! WARN
! addRemoteGit
! code: 1,npm WARN addRemoteGit signal: null,
! npm WARN addRemoteGit cmd: 'git config –get remote.origin.url' }
! npm
! ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: Please run git without sudo, your regular user account is enough
! npm
! ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/root"
! npm ERR! node v6.13.0
! npm ERR! npm v3.10.10
! npm ERR! code 1
! npm
! ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02denpm ERR!
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
! npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
! host.octopi install adapter amazon-dash
! npm install iobroker.amazon-dash --production --prefix "/root" (System call)
! npm
! WARN addRemoteGit Error: Command failed: git config --get remote.origin.url
! npm WARN addRemoteGit npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:199:12)
! npm WARN addRemoteGit at emitTwo (events.js:106:13)
! npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! npm WARN addRemoteGit at Socket. <anonymous>(internal/child_process.js:351:11)
! npm WARN addRemoteGit at emitOne (events.js:96:13)
! npm WARN addRemoteGit at Socket.emit (events.js:188:7)
! npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:509:12)
! npm WARN addRemoteGit git+https://github.com/bytzdev/node-socketwatcher.git resetting remote /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de because of error: { Error: Command failed: git config –get remote.origin.url
! npm WARN addRemoteGit
! npm WARN addRemoteGit
! at ChildProcess.exithandler (child_process.js:199:12)npm WARN addRemoteGit at emitTwo (events.js:106:13)
! npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! npm
! WARN
! addRemoteGit at Socket. <anonymous>(internal/child_process.js:351:11)npm WARN addRemoteGit at emitOne (events.js:96:13)
! npm WARN addRemoteGit at Socket.emit (events.js:188:7)
! npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:509:12)
! npm WARN addRemoteGit killed: false,
! npm WARN addRemoteGit
! code: 1,
! npm
! WARN addRemoteGit signal: null,npm WARN addRemoteGit cmd: 'git config –get remote.origin.url' }
! npm
! ERR!
! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de:
! Please run git without sudo, your regular user account is enough
! npm
! ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/root"
! npm ERR! node v6.13.0
! npm ERR! npm v3.10.10npm ERR! code 1
! npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02denpm ERR!
! npm ERR!
! npm ERR! If you need help, you may report this error at:
! npm ERR! <https://github.com/npm/npm/issues>
! npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
! host.octopi install adapter amazon-dash
! ERROR: host.octopi Cannot install amazon-dash
! ERROR: process exited with code 13</anonymous></anonymous></anonymous></anonymous>weiss jemand was zu tun ist und sagt es mir auch?
Vielen Dank!!