NEWS
KNX adapter?
-
Hi!!
Also hab alles nach deiner Anleitung durchgeführt!
Hier mal was er mir dann am schluss alles geschrieben hat:
root@raspberrypi:/opt/iobroker/node_modules/ioBroker.eibd# npm install npm ERR! install Couldn't read dependencies npm ERR! Linux 4.4.13-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.5.0 npm ERR! npm v2.15.9 npm ERR! file /opt/iobroker/node_modules/ioBroker.eibd/package.json npm ERR! code EJSONPARSE npm ERR! Failed to parse json npm ERR! Unexpected token 'a' at 5:4 npm ERR! "author": "ruhigundrelaxed<martin@qvadrat.de>", npm ERR! ^ npm ERR! File: /opt/iobroker/node_modules/ioBroker.eibd/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse npm ERR! Please include the following file with any support request: npm ERR! /opt/iobroker/node_modules/ioBroker.eibd/npm-debug.log root@raspberrypi:/opt/iobroker/node_modules/ioBroker.eibd# npm install npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue > cson@1.6.2 preinstall /opt/iobroker/node_modules/ioBroker.eibd/node_modules/grunt-replace/node_modules/applause/node_modules/cson > node ./cyclic.js npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0\. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated deflate-crc32-stream@0.1.2: module has been merged into crc32-stream \ > typechecker@2.0.8 preinstall /opt/iobroker/node_modules/ioBroker.eibd/node_modules/grunt-replace/node_modules/applause/node_modules/cson/node_modules/extract-opts/node_modules/typechecker > node ./cyclic.js > js2coffee@0.3.5 preinstall /opt/iobroker/node_modules/ioBroker.eibd/node_modules/grunt-replace/node_modules/applause/node_modules/cson/node_modules/js2coffee > node ./cyclic.js npm WARN deprecated lodash@2.1.0: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. npm WARN deprecated minimatch@0.4.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN engine xmlbuilder@2.3.0: wanted: {"node":"0.8.x || 0.10.x || 0.11.x"} (current: {"node":"4.5.0","npm":"2.15.9"}) fs@0.0.2 node_modules/fs grunt-contrib-copy@0.5.0 node_modules/grunt-contrib-copy grunt-exec@0.4.7 node_modules/grunt-exec traverse@0.6.6 node_modules/traverse eibd@0.3.5 node_modules/eibd grunt-contrib-clean@0.5.0 node_modules/grunt-contrib-clean └── rimraf@2.2.8 grunt-http@1.4.2 node_modules/grunt-http ├── tunnel-agent@0.4.3 ├── aws-sign2@0.5.0 ├── oauth-sign@0.4.0 ├── async@0.9.2 ├── tough-cookie@2.3.1 ├── http-signature@0.10.1 (assert-plus@0.1.5, ctype@0.5.3, asn1@0.1.11) ├── form-data@0.1.4 (mime@1.2.11, combined-stream@0.0.7) ├── hawk@2.3.1 (cryptiles@2.0.5, boom@2.10.1, sntp@1.0.9, hoek@2.16.3) └── request@2.47.0 (forever-agent@0.5.2, caseless@0.6.0, stringstream@0.0.5, json-stringify-safe@5.0.1, mime-types@1.0.2, node-uuid@1.4.7, qs@2.3.3, combined-stream@0.0.7, bl@0.9.5, hawk@1.1.1) grunt@0.4.5 node_modules/grunt ├── eventemitter2@0.4.14 ├── dateformat@1.0.2-1.2.3 ├── which@1.0.9 ├── async@0.1.22 ├── getobject@0.1.0 ├── colors@0.6.2 ├── lodash@0.9.2 ├── hooker@0.2.3 ├── rimraf@2.2.8 ├── grunt-legacy-util@0.2.0 ├── exit@0.1.2 ├── nopt@1.0.10 (abbrev@1.0.9) ├── coffee-script@1.3.3 ├── iconv-lite@0.2.11 ├── underscore.string@2.2.1 ├── minimatch@0.2.14 (sigmund@1.0.1, lru-cache@2.7.3) ├── glob@3.1.21 (inherits@1.0.2, graceful-fs@1.2.3) ├── grunt-legacy-log@0.1.3 (grunt-legacy-log-utils@0.1.1, lodash@2.4.2, underscore.string@2.3.3) ├── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11) └── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.16) grunt-replace@0.7.9 node_modules/grunt-replace ├── chalk@0.4.0 (ansi-styles@1.0.0, has-color@0.1.7, strip-ansi@0.1.1) └── applause@0.3.3 (lodash@2.4.2, js-yaml@3.6.1, cson@1.6.2) grunt-contrib-compress@0.8.0 node_modules/grunt-contrib-compress ├── prettysize@0.0.3 └── archiver@0.8.1 (buffer-crc32@0.2.5, lazystream@0.1.0, lodash@2.4.2, readable-stream@1.0.34, zip-stream@0.3.7, file-utils@0.1.5) grunt-contrib-jshint@0.10.0 node_modules/grunt-contrib-jshint ├── hooker@0.2.3 └── jshint@2.5.11 (underscore@1.6.0, strip-json-comments@1.0.4, exit@0.1.2, minimatch@1.0.0, console-browserify@1.1.0, shelljs@0.3.0, cli@0.6.6, htmlparser2@3.8.3) grunt-jscs@0.6.2 node_modules/grunt-jscs ├── vow@0.4.12 ├── hooker@0.2.3 ├── lodash@2.4.2 └── jscs@1.5.9 (commander@2.3.0, supports-color@0.2.0, strip-json-comments@0.1.3, colors@0.6.2, esprima@1.2.5, minimatch@0.4.0, vow-fs@0.3.6, glob@4.0.6, xmlbuilder@2.3.0) xml2js@0.4.17 node_modules/xml2js ├── sax@1.2.1 └── xmlbuilder@4.2.1 (lodash@4.15.0)</martin@qvadrat.de>
Den einen fehler im package.json hab ich selber behoben, da fehlt am ende der Zeile 5 ein Beistrich.
Danach alles weitere ausgeführt.
Nach dem neustart hab ich jetzt einen adapter der da heißt: "IO Broker Motion Adapter" ohne icon im Reiter Allgemein.
Stimmt das soweit?
MFG
-
Nachtrag…
Wenn ich jetzt den Adapter installieren will bekomme ich die Fehlermeldung:
$ ./iobroker add eibd ERROR: host.raspberrypi Unknown packetName eibd ERROR: process exited with code 5
So jetzt hab ichs…
und warte auf deine Anwort
MFG
-
Hoppla, da scheint was schief gelaufen zu sein. Motion ist ein anderer Adapter, den ich gebaut habe. Gib mir ne Sekunde, ich schau mal nach.
-
Ok, ich hab da was korrigiert. Ich hoffe das war der Fehler.
https://github.com/ruhigundrelaxed/ioBroker.eibd
Dort bitte io-package.json runterladen und ersetzen…
-
Neu Installieren auch?
-
Wenn ich von dem adapter eine Instanz erstellen will bekomme ich die fehlermeldung:
$ ./iobroker add eibd ERROR: host.raspberrypi Unknown packetName eibd ERROR: process exited with code 5
-
Hmm nö. Also, soltest du eine Motion Instanz haben, kannst du die aus iobroker entfernen. Nur die besagte Datei (io-package.json) tauschen, iobroker neu starten, dann solltest du unter adapter den eibd finden….
Das fehlende "," habe ich in die package.json eingepflegt. Danke dafür...
-
Pekommst du o.g. Fehlermeldung noch nach tauschen von io-package.json?
Bei mir sieht das so aus:
root@zuhause:/opt/iobroker# iobroker add eibd host.zuhause create instance eibd host.zuhause object system.adapter.eibd.upload created host.zuhause object system.adapter.eibd.1.uptime created host.zuhause object system.adapter.eibd.1.memRss created host.zuhause object system.adapter.eibd.1.memHeapTotal created host.zuhause object system.adapter.eibd.1.memHeapUsed created host.zuhause object system.adapter.eibd.1.connected created host.zuhause object system.adapter.eibd.1.alive created host.zuhause object system.adapter.eibd.1 created
-
Jup…
-
Hmmm….
Kannst du den Adapter unter Adapter finden?
![](</s><URL url=)<link_text text="https://github.com/ruhigundrelaxed/ioBr ... enannt.jpg">https://github.com/ruhigundrelaxed/ioBroker.eibd/blob/master/Unbenannt.jpg</link_text>" /> -
ja da hab ich Ihn.
Wenn ich dann aufs "+" klicke kommt kurz drauf die Meldung.
-
ok. da fehlte noch ein file.
https://github.com/ruhigundrelaxed/ioBr … untfile.js
bitte den noch runterladen...
-
und wohin damit??
-
ja, sorry. nach: /opt/iobroker/node_modules/iobroker.eibd (der ordner heisst bei dir auch iobroker.eibd komplett lower case?)
-
nee ioBroker.eibd heißt er -> Umbenennen?
-
jaa! :lol:
Wenn ich gleich nicht sofort, oder nur rech kurz antworte dann liegt das an der Tatsache, dass ich mit der Bahn nach hause fahre…
Gruß
-
kein problem, funktioniert ehh super!!!
jawoll Ja!!!! :lol:
Umbenannt - Instanz hinzugefügt - aktiviert und grüner punkt ist da!!!!!
Was mache ich jetzt damit?
-
Sind unter Objekte->eibd.0 keine states?
-
Doch alles da!
Aber irgendwo muss ich ja noch die Verbindung zu meinem Interface herstellen?
-
Ahhh. Läuft eibd auf der gleichen Maschine? Wenn ja ist alles io. Wir müssen wohl noch deinem eibd sagen wie er mit deinem knx/ip reden kann… Hast du eine Datei: /etc/default/eibd ?
Ps.: hab mal versucht den inhalt meiner default/eibd per copy paste zu bekommen. Aber irgendwie ist ssh in der u-bahn instabil. :roll:
Muss also warten bis ich daheim bin.