Mal ne ganz blöde Frage: Muss eigentlich die Tuya App auf einem Smartphone, Tablet etc. installiert sein um Tuya auf den IOBroker Server installiert zu bekommen?
Bei mir laufen die Tuya Steckdosen über die Smart Life App, wollte nicht noch eine zusättzliche App installieren. Der Hintergrund ist, das ich Tuya nicht im IOBroker installiert bekomme, weder über die Oberfläche, noch über die Kommandozeile.
Ich habe mal hier die Meldungen bei der fehlgeschlagenen Installation auf dem IOBroker:
$ ./iobroker add tuya –host IOBroker-RasPi
NPM version: 6.4.1
npm install iobroker.tuya --production --save --prefix "/opt/iobroker" (System call)
npm
WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/anyproxy/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/clean-css/package.json'
npm
WARN JSON.parse Failed to parse jsonnpm WARN JSON.parse Unexpected token in JSON at position 197 while parsing near '...2,592,27384,592,592]...'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/fast-json-stringify/package.json'
npm
WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/pug-filters/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/qrcode/package.json'
npm
WARN JSON.parse Failed to parse jsonnpm WARN JSON.parse Unexpected token in JSON at position 191 while parsing near '...2,592,27384,592,592]...'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tuyapi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/clean-css/node_modules/source-map/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/pug-filters/node_modules/uglify-js/package.json'
npm WARN JSON.parse Failed to parse json
npm WARN JSON.parse Unexpected token in JSON at position 512 while parsing near '...ion",
npm WARN JSON.parse "args",
npm WARN JSON.parse ...'
npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm
ERR! path /opt/iobroker/node_modules/.staging/punycode-3e191f9fnpm ERR! code Unknown system error -117
npm
ERR! errno -117npm ERR! syscall unlink
npm ERR!
Unknown system error -117: Unknown system error -117, unlink '/opt/iobroker/node_modules/.staging/punycode-3e191f9f'
npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-12-07T19_27_00_928Z-debug.log
ERROR: host.IOBroker-RasPi Cannot install iobroker.tuya: 139
ERROR: process exited with code 25