Ja, hatte ich schon versucht:
Leider ohne Erfolg…
Ja, hatte ich schon versucht:
Leider ohne Erfolg…
Hallo zusammen!
Bin dabei mein erstes Skript mit blockly zu erstellen. Es soll um 20:14 die Kabelbox und den Fernseher einschalten, auf ARD wechseln und dann die Tagesschau aufnehmen. Anschalten und Aufnehmen funktioniert so weit.
Das Skript soll aber nur laufen, wenn der Fernseher nicht läuft, d.h. ausgeschaltet ist (und weder die activity Fernseher noch die activity Smart_TV aktiv ist). Und hier habe ich die Schwierigkeit den Status auszulesen:
Danke für Eure Hilfe!
Und schon funktionierts.
Danke!
Guten Abend,
Die Installation von ioBroker 1.1.3 auf win32 hat funktioniert und auch der HUE Adapter funktioniert. Leider schlug aber die Installation des Logitech Harmony Adapter fehl. Dem Log verstehe ich so, dass gewisse Komponenten fehlen, komme da aber nicht weiter:
$ ./iobroker add harmony
npm install iobroker.harmony --production --prefix "C:/ioBroker" (System call)
npm
WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https: www.npmjs.com/package/@xmpp/xml="">
npm
WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:14:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:69:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:81:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:90:16
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN
addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:14:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:69:19)
npm WARN
addRemoteGit
at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:81:29)npm
WARN addRemoteGit
at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:90:16npm WARN
addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm
WARN
addRemoteGit
at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm
ERR! git clone --template=C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefinednpm ERR!
git clone --template=C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
npm
ERR! Windows_NT 10.0.15063
npm
ERR! argv
"C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.harmony" "--production" "--prefix" "C:/ioBroker"
npm ERR! node
v6.11.2
npm
ERR! npm v3.10.10
npm
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! C:\ioBroker\node_modules\iobroker\npm-debug.log
host.TV-BOX install adapter harmony
npm install iobroker.harmony --production --prefix "C:/ioBroker" (System call)
npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https: www.npmjs.com/package/@xmpp/xml="">
npm
WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:14:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:69:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:81:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:90:16
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)npm
WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:14:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:69:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:81:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:90:16
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm
ERR! git clone --template=C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefinednpm
ERR!
git clone --template=C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
npm
ERR! Windows_NT 10.0.15063
npm
ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.harmony" "--production" "--prefix" "C:/ioBroker"
npm ERR! node v6.11.2npm ERR! npm v3.10.10
npm
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! C:\ioBroker\node_modules\iobroker\npm-debug.log
host.TV-BOX install adapter harmony
npm install iobroker.harmony --production --prefix "C:/ioBroker" (System call)
npm
WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https: www.npmjs.com/package/@xmpp/xml="">
npm
WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:14:12)
npm
WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:69:19)npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:81:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:90:16
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: git
npm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:14:12)
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:69:19)
npm
WARN addRemoteGit
at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:81:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:90:16npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5
npm
WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm WARN addRemoteGit
at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm
ERR! git clone --template=C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefinednpm ERR!
git clone --template=C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
npm
ERR! Windows_NT 10.0.15063npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.harmony" "--production" "--prefix" "C:/ioBroker"
npm
ERR! node
v6.11.2npm ERR! npm v3.10.10
npm 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! C:\ioBroker\node_modules\iobroker\npm-debug.log
host.TV-BOX install adapter harmony
ERROR: host.TV-BOX Cannot install harmony
ERROR: process exited with code 13</https:></https:></https:>
Danke für die Hilfe!