NEWS
Bitte rflink, modbus, mysensors Testen (serialport upgrade)
-
Korrekt, aber wenn das so ist dann gibts an sich auch Fehler bei der Installation des Adapters!
Wenn es die nicht gab und Seriell auftaucht dann die Frage: Läuft iobroker auf der Maschine als Root oder nicht? `
Das ist das was ich auch vermute.Ich habe zuwenig Ahnung von Linux.
Früher habe ich alles als "echter" root installiert, dann nur noch mit sudo, letzte Zeit nur noch mit sudo su. (auch die aktuellen Images!)
Trotzdem denke ich, dass da ein Unterschied zur echten root-Installation ist. Zumindest glaube ich, dass der Besitzer trotzdem der nicht privilegierte User bleibt, auch wenn root am Prompt steht.
Gruß
Rainer
-
ok, hier noch Repositories, dort aber habe ich nichts verstellt… `
Danke, aber entscheidend ist die Auswahl, die unter dem Reiter Haupteinstellungen steht.
Gruß
Rainer
-
ok, Danke Rainer… Unter Haupteinstellungen sieht man nicht viel...siehe Bild.
ich habe alles neu aufgesetzt! Anbei der Auszug aus der Konsole von derb Installation!
Welcome to ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i System load: 1.20 Up time: 7 hours Memory usage: 8 % of 2014Mb IP: 192.168.1.99 CPU temp: 34°C Usage of /: 7% of 29G storage/: 7% of 29G Last login: Mon Jun 5 13:15:16 2017 from lenovo-pc.fritz.box root@orangepiplus2e:~# sudo npm install https://github.com/ioBroker/ioBroker.rflink/tarball/master --production > serialport@4.0.7 install /root/node_modules/avrgirl-arduino/node_modules/serialport > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.10.3 (node-v48 ABI) (falling back to source compile with node-gyp) make: Entering directory '/root/node_modules/avrgirl-arduino/node_modules/serialport/build' CXX(target) Release/obj.target/serialport/src/serialport.o ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:90:52: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:102:53: warning: ‘v8::Local <v8::number>v8::Value::ToNumber() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8166): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToNumber()->NumberValue(); ^ ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’: ../src/serialport.cpp:174:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = argv[1]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:193:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:217:116: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:252:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:369:32: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] baton->fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:480:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:528:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:585:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ CXX(target) Release/obj.target/serialport/src/serialport_unix.o ../src/serialport_unix.cpp: In function ‘OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Local<v8::object>&)’: ../src/serialport_unix.cpp:44:109: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] result->vmin = Nan::Get(options, Nan::New<v8::string>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ ../src/serialport_unix.cpp:45:111: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] result->vtime = Nan::Get(options, Nan::New<v8::string>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ CXX(target) Release/obj.target/serialport/src/serialport_poller.o ../src/serialport_poller.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport_poller.cpp:86:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] obj->fd_ = info[0]->ToInt32()->Int32Value(); ^ SOLINK_MODULE(target) Release/obj.target/serialport.node COPY Release/serialport.node make: Leaving directory '/root/node_modules/avrgirl-arduino/node_modules/serialport/build' > serialport@4.0.7 install /root/node_modules/iobroker.rflink/node_modules/serialport > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.10.3 (node-v48 ABI) (falling back to source compile with node-gyp) make: Entering directory '/root/node_modules/iobroker.rflink/node_modules/serialport/build' CXX(target) Release/obj.target/serialport/src/serialport.o ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:90:52: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:102:53: warning: ‘v8::Local <v8::number>v8::Value::ToNumber() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8166): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToNumber()->NumberValue(); ^ ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’: ../src/serialport.cpp:174:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = argv[1]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:193:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:217:116: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:252:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:369:32: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] baton->fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:480:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:528:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:585:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] int fd = info[0]->ToInt32()->Int32Value(); ^ CXX(target) Release/obj.target/serialport/src/serialport_unix.o ../src/serialport_unix.cpp: In function ‘OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Local<v8::object>&)’: ../src/serialport_unix.cpp:44:109: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] result->vmin = Nan::Get(options, Nan::New<v8::string>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ ../src/serialport_unix.cpp:45:111: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] result->vtime = Nan::Get(options, Nan::New<v8::string>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ CXX(target) Release/obj.target/serialport/src/serialport_poller.o ../src/serialport_poller.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport_poller.cpp:86:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.10.3/include/node/v8.h:8202): Use maybe version [-Wdeprecated-declarations] obj->fd_ = info[0]->ToInt32()->Int32Value(); ^ SOLINK_MODULE(target) Release/obj.target/serialport.node COPY Release/serialport.node make: Leaving directory '/root/node_modules/iobroker.rflink/node_modules/serialport/build' /root └─┬ iobroker.rflink@1.1.5 ├─┬ avrgirl-arduino@1.11.12 │ ├─┬ async@2.4.1 │ │ └── lodash@4.17.4 │ ├─┬ awty@0.1.0 │ │ └── isval@0.0.2 │ ├── browser-serialport@2.0.3 (git://github.com/noopkat/browser-serialport.git#a1cecbee1276bfe78b0491f8d13544c70859ff36) │ ├── chip.avr.avr109@1.1.0 │ ├── colors@1.1.2 │ ├── graceful-fs@4.1.11 │ ├── intel-hex@0.1.1 │ ├── minimist@1.2.0 │ ├─┬ serialport@4.0.7 │ │ ├── nan@2.6.2 │ │ └─┬ node-pre-gyp@0.6.32 │ │ ├─┬ mkdirp@0.5.1 │ │ │ └── minimist@0.0.8 │ │ ├─┬ nopt@3.0.6 │ │ │ └── abbrev@1.0.9 │ │ ├─┬ npmlog@4.0.1 │ │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ │ ├── delegates@1.0.0 │ │ │ │ └─┬ readable-stream@2.2.2 │ │ │ │ ├── buffer-shims@1.0.0 │ │ │ │ ├── core-util-is@1.0.2 │ │ │ │ ├── inherits@2.0.3 │ │ │ │ ├── isarray@1.0.0 │ │ │ │ ├── process-nextick-args@1.0.7 │ │ │ │ ├── string_decoder@0.10.31 │ │ │ │ └── util-deprecate@1.0.2 │ │ │ ├── console-control-strings@1.1.0 │ │ │ ├─┬ gauge@2.7.2 │ │ │ │ ├── aproba@1.0.4 │ │ │ │ ├── has-unicode@2.0.1 │ │ │ │ ├── object-assign@4.1.0 │ │ │ │ ├── signal-exit@3.0.2 │ │ │ │ ├─┬ string-width@1.0.2 │ │ │ │ │ ├── code-point-at@1.1.0 │ │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ │ │ └── number-is-nan@1.0.1 │ │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ ├── supports-color@0.2.0 │ │ │ │ └── wide-align@1.1.0 │ │ │ └── set-blocking@2.0.0 │ │ ├─┬ rc@1.1.6 │ │ │ ├── deep-extend@0.4.1 │ │ │ ├── ini@1.3.4 │ │ │ ├── minimist@1.2.0 │ │ │ └── strip-json-comments@1.0.4 │ │ ├─┬ request@2.79.0 │ │ │ ├── aws-sign2@0.6.0 │ │ │ ├── aws4@1.5.0 │ │ │ ├── caseless@0.11.0 │ │ │ ├─┬ combined-stream@1.0.5 │ │ │ │ └── delayed-stream@1.0.0 │ │ │ ├── extend@3.0.0 │ │ │ ├── forever-agent@0.6.1 │ │ │ ├─┬ form-data@2.1.2 │ │ │ │ └── asynckit@0.4.0 │ │ │ ├─┬ har-validator@2.0.6 │ │ │ │ ├─┬ chalk@1.1.3 │ │ │ │ │ ├── ansi-styles@2.2.1 │ │ │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ │ └── supports-color@2.0.0 │ │ │ │ ├─┬ is-my-json-valid@2.15.0 │ │ │ │ │ ├── generate-function@2.0.0 │ │ │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ │ │ └── is-property@1.0.2 │ │ │ │ │ ├── jsonpointer@4.0.0 │ │ │ │ │ └── xtend@4.0.1 │ │ │ │ └─┬ pinkie-promise@2.0.1 │ │ │ │ └── pinkie@2.0.4 │ │ │ ├─┬ hawk@3.1.3 │ │ │ │ ├── boom@2.10.1 │ │ │ │ ├── cryptiles@2.0.5 │ │ │ │ ├── hoek@2.16.3 │ │ │ │ └── sntp@1.0.9 │ │ │ ├─┬ http-signature@1.1.1 │ │ │ │ ├── assert-plus@0.2.0 │ │ │ │ ├─┬ jsprim@1.3.1 │ │ │ │ │ ├── extsprintf@1.0.2 │ │ │ │ │ ├── json-schema@0.2.3 │ │ │ │ │ └── verror@1.3.6 │ │ │ │ └─┬ sshpk@1.10.1 │ │ │ │ ├── asn1@0.2.3 │ │ │ │ ├── assert-plus@1.0.0 │ │ │ │ ├── bcrypt-pbkdf@1.0.0 │ │ │ │ ├── dashdash@1.14.1 │ │ │ │ ├── ecc-jsbn@0.1.1 │ │ │ │ ├── getpass@0.1.6 │ │ │ │ ├── jodid25519@1.0.2 │ │ │ │ ├── jsbn@0.1.0 │ │ │ │ └── tweetnacl@0.14.4 │ │ │ ├── is-typedarray@1.0.0 │ │ │ ├── isstream@0.1.2 │ │ │ ├── json-stringify-safe@5.0.1 │ │ │ ├─┬ mime-types@2.1.13 │ │ │ │ └── mime-db@1.25.0 │ │ │ ├── oauth-sign@0.8.2 │ │ │ ├── qs@6.3.0 │ │ │ ├── stringstream@0.0.5 │ │ │ ├─┬ tough-cookie@2.3.2 │ │ │ │ └── punycode@1.4.1 │ │ │ ├── tunnel-agent@0.4.3 │ │ │ └── uuid@3.0.1 │ │ ├─┬ rimraf@2.5.4 │ │ │ └─┬ glob@7.1.1 │ │ │ ├── fs.realpath@1.0.0 │ │ │ ├─┬ inflight@1.0.6 │ │ │ │ └── wrappy@1.0.2 │ │ │ ├── inherits@2.0.3 │ │ │ ├─┬ minimatch@3.0.3 │ │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ │ ├── balanced-match@0.4.2 │ │ │ │ └── concat-map@0.0.1 │ │ │ ├─┬ once@1.4.0 │ │ │ │ └── wrappy@1.0.2 │ │ │ └── path-is-absolute@1.0.1 │ │ ├── semver@5.3.0 │ │ ├─┬ tar@2.2.1 │ │ │ ├── block-stream@0.0.9 │ │ │ ├─┬ fstream@1.0.10 │ │ │ │ └── graceful-fs@4.1.11 │ │ │ └── inherits@2.0.3 │ │ └─┬ tar-pack@3.3.0 │ │ ├─┬ debug@2.2.0 │ │ │ └── ms@0.7.1 │ │ ├─┬ fstream@1.0.10 │ │ │ ├── graceful-fs@4.1.11 │ │ │ └── inherits@2.0.3 │ │ ├─┬ fstream-ignore@1.0.5 │ │ │ ├── inherits@2.0.3 │ │ │ └─┬ minimatch@3.0.3 │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ ├── balanced-match@0.4.2 │ │ │ └── concat-map@0.0.1 │ │ ├─┬ once@1.3.3 │ │ │ └── wrappy@1.0.2 │ │ ├─┬ readable-stream@2.1.5 │ │ │ ├── buffer-shims@1.0.0 │ │ │ ├── core-util-is@1.0.2 │ │ │ ├── inherits@2.0.3 │ │ │ ├── isarray@1.0.0 │ │ │ ├── process-nextick-args@1.0.7 │ │ │ ├── string_decoder@0.10.31 │ │ │ └── util-deprecate@1.0.2 │ │ └── uid-number@0.0.6 │ ├─┬ stk500@1.0.4 (git://github.com/noopkat/js-stk500v1.git#e116a1f72abdafc7d57eb0ee58221556d2b5def4) │ │ ├── async@0.9.2 │ │ └── buffer-equal@0.0.1 │ └─┬ stk500-v2@1.0.2 │ └── async@0.9.2 ├─┬ request@2.81.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.6.0 │ ├── caseless@0.12.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.1 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.1.4 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@4.2.1 │ │ ├─┬ ajv@4.11.8 │ │ │ ├── co@4.6.0 │ │ │ └─┬ json-stable-stringify@1.0.1 │ │ │ └── jsonify@0.0.0 │ │ └── har-schema@1.0.5 │ ├─┬ hawk@3.1.3 │ │ ├── boom@2.10.1 │ │ ├── cryptiles@2.0.5 │ │ ├── hoek@2.16.3 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@1.1.1 │ │ ├── assert-plus@0.2.0 │ │ ├─┬ jsprim@1.4.0 │ │ │ ├── assert-plus@1.0.0 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.13.0 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.1 │ │ ├─┬ dashdash@1.14.1 │ │ │ └── assert-plus@1.0.0 │ │ ├── ecc-jsbn@0.1.1 │ │ ├─┬ getpass@0.1.7 │ │ │ └── assert-plus@1.0.0 │ │ ├── jodid25519@1.0.2 │ │ ├── jsbn@0.1.1 │ │ └── tweetnacl@0.14.5 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.15 │ │ └── mime-db@1.27.0 │ ├── oauth-sign@0.8.2 │ ├── performance-now@0.2.0 │ ├── qs@6.4.0 │ ├── safe-buffer@5.1.0 │ ├── stringstream@0.0.5 │ ├─┬ tough-cookie@2.3.2 │ │ └── punycode@1.4.1 │ ├── tunnel-agent@0.6.0 │ └── uuid@3.0.1 └─┬ serialport@4.0.7 ├─┬ commander@2.9.0 │ └── graceful-readlink@1.0.1 ├─┬ debug@2.6.8 │ └── ms@2.0.0 ├─┬ lie@3.1.1 │ └── immediate@3.0.6 ├── nan@2.6.2 └─┬ node-pre-gyp@0.6.32 ├─┬ mkdirp@0.5.1 │ └── minimist@0.0.8 ├─┬ nopt@3.0.6 │ └── abbrev@1.0.9 ├─┬ npmlog@4.0.1 │ ├─┬ are-we-there-yet@1.1.2 │ │ ├── delegates@1.0.0 │ │ └─┬ readable-stream@2.2.2 │ │ ├── buffer-shims@1.0.0 │ │ ├── core-util-is@1.0.2 │ │ ├── inherits@2.0.3 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ ├── console-control-strings@1.1.0 │ ├─┬ gauge@2.7.2 │ │ ├── aproba@1.0.4 │ │ ├── has-unicode@2.0.1 │ │ ├── object-assign@4.1.0 │ │ ├── signal-exit@3.0.2 │ │ ├─┬ string-width@1.0.2 │ │ │ ├── code-point-at@1.1.0 │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ └── number-is-nan@1.0.1 │ │ ├─┬ strip-ansi@3.0.1 │ │ │ └── ansi-regex@2.0.0 │ │ ├── supports-color@0.2.0 │ │ └── wide-align@1.1.0 │ └── set-blocking@2.0.0 ├─┬ rc@1.1.6 │ ├── deep-extend@0.4.1 │ ├── ini@1.3.4 │ ├── minimist@1.2.0 │ └── strip-json-comments@1.0.4 ├─┬ request@2.79.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.5.0 │ ├── caseless@0.11.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.0 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.1.2 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@2.0.6 │ │ ├─┬ chalk@1.1.3 │ │ │ ├── ansi-styles@2.2.1 │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ └── ansi-regex@2.0.0 │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ └── ansi-regex@2.0.0 │ │ │ └── supports-color@2.0.0 │ │ ├─┬ is-my-json-valid@2.15.0 │ │ │ ├── generate-function@2.0.0 │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ └── is-property@1.0.2 │ │ │ ├── jsonpointer@4.0.0 │ │ │ └── xtend@4.0.1 │ │ └─┬ pinkie-promise@2.0.1 │ │ └── pinkie@2.0.4 │ ├─┬ hawk@3.1.3 │ │ ├── boom@2.10.1 │ │ ├── cryptiles@2.0.5 │ │ ├── hoek@2.16.3 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@1.1.1 │ │ ├── assert-plus@0.2.0 │ │ ├─┬ jsprim@1.3.1 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.10.1 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.0 │ │ ├── dashdash@1.14.1 │ │ ├── ecc-jsbn@0.1.1 │ │ ├── getpass@0.1.6 │ │ ├── jodid25519@1.0.2 │ │ ├── jsbn@0.1.0 │ │ └── tweetnacl@0.14.4 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.13 │ │ └── mime-db@1.25.0 │ ├── oauth-sign@0.8.2 │ ├── qs@6.3.0 │ ├── stringstream@0.0.5 │ ├─┬ tough-cookie@2.3.2 │ │ └── punycode@1.4.1 │ ├── tunnel-agent@0.4.3 │ └── uuid@3.0.1 ├─┬ rimraf@2.5.4 │ └─┬ glob@7.1.1 │ ├── fs.realpath@1.0.0 │ ├─┬ inflight@1.0.6 │ │ └── wrappy@1.0.2 │ ├── inherits@2.0.3 │ ├─┬ minimatch@3.0.3 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ ├─┬ once@1.4.0 │ │ └── wrappy@1.0.2 │ └── path-is-absolute@1.0.1 ├── semver@5.3.0 ├─┬ tar@2.2.1 │ ├── block-stream@0.0.9 │ ├─┬ fstream@1.0.10 │ │ └── graceful-fs@4.1.11 │ └── inherits@2.0.3 └─┬ tar-pack@3.3.0 ├─┬ debug@2.2.0 │ └── ms@0.7.1 ├─┬ fstream@1.0.10 │ ├── graceful-fs@4.1.11 │ └── inherits@2.0.3 ├─┬ fstream-ignore@1.0.5 │ ├── inherits@2.0.3 │ └─┬ minimatch@3.0.3 │ └─┬ brace-expansion@1.1.6 │ ├── balanced-match@0.4.2 │ └── concat-map@0.0.1 ├─┬ once@1.3.3 │ └── wrappy@1.0.2 ├─┬ readable-stream@2.1.5 │ ├── buffer-shims@1.0.0 │ ├── core-util-is@1.0.2 │ ├── inherits@2.0.3 │ ├── isarray@1.0.0 │ ├── process-nextick-args@1.0.7 │ ├── string_decoder@0.10.31 │ └── util-deprecate@1.0.2 └── uid-number@0.0.6 npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' npm WARN root No description npm WARN root No repository field. npm WARN root No README data npm WARN root No license field. root@orangepiplus2e:~#</v8::int32></v8::string></v8::int32></v8::string></v8::int32></v8::object></v8::int32></v8::int32></v8::int32></v8::int32></v8::int32></v8::string></v8::int32></v8::int32></v8::int32></v8::number></v8::object></v8::int32></v8::object></v8::int32></v8::string></v8::int32></v8::string></v8::int32></v8::object></v8::int32></v8::int32></v8::int32></v8::int32></v8::int32></v8::string></v8::int32></v8::int32></v8::int32></v8::number></v8::object></v8::int32></v8::object>
Die ersten Zeilen spucken schon Fehler aus!
****> serialport@4.0.7 install /root/node_modules/avrgirl-arduino/node_modules/serialport
node-pre-gyp install –fallback-to-build****
****node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd … arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.10.3 (node-v48 ABI) (falling back to source compile with node-gyp)****
Ideeen ????
1526_unbenannt9.png -
ok, Danke Rainer… Unter Haupteinstellungen sieht man nicht viel...siehe Bild. `
Man sieht, dass du das "default" Repository und damit das stable ausgewählt hast, das erklärt auch, dass deine angebotene rf-Link Version relativ alt ist.Gruß
Rainer
-
o.k, kommen wir der Sache etwa näher???
der Link unten funktioniert nicht. Kein Wunder dass es Fehler spuckt…
Welche Repository soll ich als default wählen?
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.10.3 (node-v48 ABI) (falling back to source compile with node-gyp)
1526_unbenannt10.png -
o.k, kommen wir der Sache etwa näher??? `
Nee, wir entfernen uns schon wieder vom bestmöglichen!default ist ok = stable
WENN du auf latest gehen WILLST nicht die Pfade ändern, sondern unter Haupteinstellungen im pulldown default gegen latest tauschen.
Da du aber sogar die Github-Version hast bist du auf dem allerneuesten Stand.
der Link unten funktioniert nicht. Kein Wunder dass es Fehler spuckt… `
Das sind keine Fehler!Die Installation überprüft ob es für deine Hardware passende fertige Pakete gibt - und findet keine.
Das ist vollkommen normal.
Jetzt sagt sich die Installation: Mist, dann muss ich das Paket selber bauen und macht das dann auch.
> (falling back to source compile with node-gyp)
Gruß
Rainer
-
Und die Installation danach sieht ok aus. serialport ist installiert.
AM besten mal in Debug laufen lassen und Log schicken. Log vom Aufruf der Admin-Seite reicht
-
Hier mein log:
rflink.0 2017-06-05 20:43:36.055 debug sendTo "readNewVersion" to system.adapter.admin.0 from system.adapter.rflink.0 rflink.0 2017-06-05 20:43:35.955 debug sendTo "listUart" to system.adapter.admin.0 from system.adapter.rflink.0 rflink.0 2017-06-05 20:43:35.952 info List of port: [{"comName":"/dev/ttyS0"},{"comName":"/dev/ttyS1"},{"comName":"/dev/ttyS2"},{"comName":"/dev/ttyS3"}] rflink.0 2017-06-05 20:43:35.850 debug inMem message messagebox.system.adapter.rflink.0 messagebox.system.adapter.rflink.0 command=listUart, message=null, from=system.adapter.admin.0, message=null, id=12, ack=false, time=1496688215043, _ rflink.0 2017-06-05 20:43:35.045 debug inMem message messagebox.system.adapter.rflink.0 messagebox.system.adapter.rflink.0 command=readNewVersion, message=null, from=system.adapter.admin.0, message=null, id=11, ack=false, time=1496688215 rflink.0 2017-06-05 20:43:32.342 error No serial port defined rflink.0 2017-06-05 20:43:32.195 info starting. Version 1.1.5 in /opt/iobroker/node_modules/iobroker.rflink, node: v6.10.3 rflink.0 2017-06-05 20:43:32.141 debug statesDB connected rflink.0 2017-06-05 20:43:32.091 debug objectDB connected
in der Konfig gibt es nur /dev/ttyS0 bis S3 kein USB und kein AMA0 (?)
Daher kann ich da auch nichts sinnvolles auswählen
Gruß
Rainer
-
bei mir unter Instanzen taucht nach der Installation kein RFLINK-Adapter auf.
Ich versuchte es gerade frisch vom Github.
host.orangepiplus2e 2017-06-05 20:49:47.100 info Update repository "latest" under "http://download.iobroker.net/sources-dist-latest.json" iobroker 2017-06-05 20:49:45.945 info exit 0 iobroker 2017-06-05 20:49:45.828 info upload [0] rflink.admin /opt/iobroker/node_modules/iobroker.rflink/admin/index.html index.html text/html iobroker 2017-06-05 20:49:45.726 info upload [1] rflink.admin /opt/iobroker/node_modules/iobroker.rflink/admin/parse.js parse.js application/javascript iobroker 2017-06-05 20:49:41.871 info upload [2] rflink.admin /opt/iobroker/node_modules/iobroker.rflink/admin/rflink.png rflink.png image/png iobroker 2017-06-05 20:49:41.842 info got /opt/iobroker/node_modules/iobroker.rflink/admin iobroker 2017-06-05 20:49:36.494 info npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/stk500/package.json' iobroker 2017-06-05 20:49:36.490 info npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/mdns/package.json' iobroker 2017-06-05 20:49:36.468 info └── stk500@1.0.4 (git://github.com/noopkat/js-stk500v1.git#e116a1f72abdafc7d57eb0ee58221556d2b5def4) iobroker 2017-06-05 20:49:36.468 info ├── browser-serialport@2.0.3 (git://github.com/noopkat/browser-serialport.git#a1cecbee1276bfe78b0491f8d13544c70859ff36) iobroker 2017-06-05 20:49:36.468 info └─┬ avrgirl-arduino@1.11.12 iobroker 2017-06-05 20:49:36.468 info iobroker@1.0.0 /opt/iobroker└─┬ iobroker.rflink@1.1.5 iobroker 2017-06-05 20:48:25.543 info npm install https://github.com/ioBroker/ioBroker.rflink/tarball/master --production --prefix "/opt/iobroker" (System call) iobroker 2017-06-05 20:48:24.988 info install https://github.com/ioBroker/ioBroker.rflink/tarball/master iobroker 2017-06-05 20:48:22.950 info url "https://github.com/ioBroker/ioBroker.rflink/tarball/master" rflink --debug
-
@ Rainer…
schau Dir bitte das Bild an. Unter Adapter sieht man die installierte und verfügbare Version des RFLink Adapters richtig?
beides in der Version 1.1.5. Unter Instanzen tauch der Adapter bei mir nicht auf... Wie ist das möglich? Deshalb dachte ich die ganze Zeit, dass der Adapter nicht installiert worden ist... Kann es sein dass es nur ein Anzeigefehler ist? Irgendwo muß es doch installiert sein...
1526_unbenannt11.png -
Unter Adapter sieht man die installierte und verfügbare Version des RFLink Adapters richtig? `
Ja!Unter Instanzen tauch der Adapter bei mir nicht auf… Wie ist das möglich? `
Deswegen hatte ich vorhin darauf bestanden dir den Unterschied zwischen Installation des Adapters und Erzeugung einer Instanz zu erklären, …Du hast immer noch keine Instanz erzeugt!
Gruß
Rainer
-
@Rainer, ich habe es am laufen
1526_unbenannt12.png
1526_unbenannt13.png