NEWS
Bitte rflink, modbus, mysensors Testen (serialport upgrade)
-
sudo npm install https://github.com/ioBroker/ioBroker.rflink/tarball/master --production
-
hmm, nach Installation findet man den Adapter unter IOBroker nicht….
login as: root root@192.168.1.99's password: ___ ____ _ ____ _____ / _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) _ |___ \| ____| | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | |_| |_ __) | _| | |_| | | | (_| | | | | (_| | __/ | __/| |_ _| / __/| |___ \___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| |_____|_____| |___/ Welcome to ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i System load: 2.80 Up time: 4 min Memory usage: 2 % of 2014Mb IP: 192.168.1.99 CPU temp: 31°C Usage of /: 7% of 29G storage/: 7% of 29G Last login: Sun Jun 4 20:17:44 2017 from lenovo-pc.fritz.box root@orangepiplus2e:~# cd /opt/iobroker root@orangepiplus2e:/opt/iobroker# iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 959 root@orangepiplus2e:/opt/iobroker# sudo npm install https://github.com/ioBroker/ioBroker.rflink/tarball/master --production iobroker@1.0.0 /opt/iobroker └─┬ iobroker.rflink@1.1.5 └─┬ avrgirl-arduino@1.11.12 ├── browser-serialport@2.0.3 (git://github.com/noopkat/browser-serialport.git#a1cecbee1276bfe78b0491f8d13544c70859ff36) └── stk500@1.0.4 (git://github.com/noopkat/js-stk500v1.git#e116a1f72abdafc7d57eb0ee58221556d2b5def4) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/mdns/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/stk500/package.json' root@orangepiplus2e:/opt/iobroker#
-
Welches Repository hast du eingestellt?
Welche Admin Version?
hmm, nach Installation findet man den Adapter unter IOBroker nicht…. `
Und warum zeigst du uns die Instanzen und nicht die verfügbaren Adapter?Oder meintest du, dass nach Hinzufügen einer Instanz diese nicht erscheint?
Gruß
-
eigentlich habe ich oben schon alles geschrieben… Hier eine kleine Zusammenfassung
root@orangepiplus2e:/opt/iobroker# node -v
v6.10.3
root@orangepiplus2e:/opt/iobroker# npm -v
3.10.10
root@orangepiplus2e:/opt/iobroker#
js-controller ist bereits die Ver. 1.0.3 installiert
IOBroker-Admin hat die Version 1.7.6
Habe Rflink 1.1.5 mit node 6.x, Ja, nach der Installation aus dem Github wird der Adapter unter den installierten Adaptern nicht angezeigt. Wenn ich allerdings ganz normal über den + installiere, geht es ohne Probleme. Dort lässt sich aber die Schnittstelle nicht auswählen. Im Feld steht Text "nicht möglich"
node 6 habe ich so installiert:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y build-essential python nodejs
Mit älteren Node Version ging es auch nicht:
root@orangepiplus2e:~# node -v
v4.2.1
root@orangepiplus2e:~# v4.2.1^C
root@orangepiplus2e:~# npm -v
2.14.7
Dort konnte man wenigstens /dev/ttyS0 auswählen. Aber auch dort war die USB Schnittstelle nicht da!
1526_unbenannt6.png
1526_unbenannt7.png
1526_unbenannt.png -
eigentlich habe ich oben schon alles geschrieben… `
leider nicht.Die Frage nach dem Repository hast du auch jetzt nicht beantwortet.
Und auch hier scheinen wir (wegen unterschiedlicher Benutzung der Termini?) aneinander vorbeizureden.
nach der Installation aus dem Github wird der Adapter unter den installierten Adaptern nicht angezeigt `
Die installierten Adapter werden im Reiter Adapter angezeigt, die angelegten Instanzen im Reiter Instanzen.Ich habe das bereits ausführlich erklärt, finde jetzt nach intensiven Suchen den Thread nicht mehr.
-
Adapter installieren bedeutet die notwendigen Dateien aus dem Internet auf den ioBroker-Server zu spielen.
-
- dabei rutscht der Adapter bei der alphabetischen Sortierung in der Liste der verfügbaren Adapter nach oben unter die installierten Adapter
dies ist der Konsolenbefehl
sudo iobroker install AdapterName
-
Instanz erzeugen bedeutet, dass eine für die Installation verwendbare und konfigurierbare Version des Adapters angelegt wird
-
- jetzt sollte zusätzlich eine [1] in der Adapterliste und die Instanz unter Instanzen erscheinen
-
- ist diese Instanz konfiguriert und gestartet erscheint unter Adapter eine [1/~~[b]~~1],
dies ist der Konsolenbefehl
sudo iobroker add AdapterName
und entspricht dem (+) im Reiter Adapter
Natürlich musstest du das noch zusätzlich(!) machen.
EDIT: nachdem ich das alles nochmal getippt habe, habe ich den Post endlich gefunden
http://forum.iobroker.net/viewtopic.php … 779#p68779
Dort lässt sich aber die Schnittstelle nicht auswählen `
Das Phänomen habe ich auf meinen Tinkerboards auch. allerdings keine ("nicht möglich" info. Die Version 1.1.5 ist ok, auf dem Pine64 läuft sie.IMHO liegt das am Paket serialport
Gruß
Rainer
-
-
o.k, wo sieht man es welche Repository ich habe? Tut mir leid Rainer, ich habe alles nach der Anleitung installiert und lediglich nur die Node in der Version 6 mit dem oben genannten Befehlen installiert.
Ich habe Bilder upgeloadet, dort sieht man doch den RF-Link Adapter und deren Version
Version 1.1.2 und installiert 1.1.5… [1/1]
Wir können jetzt noch lange so diskutieren, nur bringen tut es nicht wirklich viel…
Kannst Du helfen? Welche infos brauchst Du noch? Und wie kann ich die die Infos am besten zukommen lassen?
Ich bin kein Profi Rainer. Da könntest mir sagen wie ich an die benötigten Sachen kommen kann...
Wo sehe ich welche Repository ich habe?
-
Dort lässt sich aber die Schnittstelle nicht auswählen `
Das Phänomen habe ich auf meinen Tinkerboards auch. allerdings keine ("nicht möglich" info. Die Version 1.1.5 ist ok, auf dem Pine64 läuft sie.IMHO liegt das am Paket serialport `
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? Wenn nicht dann kann es noch daran liegen.
Mal Adapter in "Debug" laufen lassen?
-
wo sieht man es welche Repository ich habe? `
Die Pfade zu den verschiedenen Repositories sollten hier zu sehen sein:http://www.iobroker.net/docu/?page_id=6 … positories
das ausgewählte im Pulldownmenü im Reiter Haupteinstellungen unter aktiver Verwahrungsort
ich habe alles nach der Anleitung installiert und lediglich nur die Node in der Version 6 mit dem oben genannten Befehlen installiert.
Ich habe Bilder upgeloadet, dort sieht man doch den RF-Link Adapter und deren Version
Version 1.1.2 und installiert 1.1.5… [1/1] `
ist ja auch alles im grünen Bereich.Wir können jetzt noch lange so diskutieren, nur bringen tut es nicht wirklich viel.. `
naja, vielleicht für die Zukunft damit wir (und andere) nicht aneinander vorbeireden.Kannst Du helfen? `
Leider nein, wie gesagt habe ich das selbe ProblemWelche infos brauchst Du noch? Und wie kann ich die die Infos am besten zukommen lassen? `
Im Moment nichts - jetzt sind wir beide auf dem neuesten Stand - also müssen wir den gemeinsamen Nenner von OPi und Tinkerboard finden, um der Sache auf den Grund gehen zu können.Vielleicht kann @apollon77 da noch etwas zu sagen - ich glaube er hatte woanders gerade etwas gefixt.
EDIT: hat er gerade
Ich bin kein Profi Rainer. `
ich auch nicht!Gruß
Rainer
-
Ich habe das gleiche Phänomen bei den Raspis gehabt. Beim Acer Revo stecken nun alle Sticks (CUL;RFLINK;JEELINK) in einem Gerät und da funktioniert es.
Gruß Marco
-
ok, hier noch Repositories, dort aber habe ich nichts verstellt…
1526_unbenannt8.png -
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