NEWS
ZigBee neue Version 1.4.4
-
@asgothian Danke, 0x ist nicht davor, aber führende Nullen. Format:
00124B0008c12345
-
@klassisch Das ist ok
Wenn du den Controller jetzt drehst sollten schon Meldungen im Log auftauchen.
A.
-
@asgothian Danke, stopp, gut daß wir drüber gesprochen haben. Als ich Controller las, dachte ich an den Coordinator, habe das Drehgestell aus dem Datenpunkt rausgenommen und dann diese Nummer des Coordinators reingenommen.
Also ich trage jetzt die Nummer des ikea symfonisk Drehreglers rotary encoders ein. Die ist schnell gefunden und steht ja in der Objektliste.
Neue Energizer Batterie hatte ich gestern schon reingemacht. 3.13V sollte noch iO sein.
Und ja, beim Drehen kommen ELEVATED log-Einträge. Sieht in meinem laienhaften Auge ziemlich plausibel aus. -
Moin zusammen,
ich habe heute mit der beschriebenen Methode sowohl den JS-Controller als auch alle Adapter auf die aktuellste Version aktualisiert. Danach ging erstmal der Zigbee Adapter nicht mehr (v1.4.4). Mit einem Fehler bzgl Serialport. Ich habe dann Serialport mit npm aktualisiert; danach kommt jetzt folgender Fehler beim Start des Adapters - jetzt bin ich überfragt.
Ein npm rebuild hat auch nichts gebracht...host.raspberrypi 2021-03-04 22:00:47.143 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2021-03-04 22:00:47.142 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/index.js:14:22) host.raspberrypi 2021-03-04 22:00:47.142 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) host.raspberrypi 2021-03-04 22:00:47.142 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) host.raspberrypi 2021-03-04 22:00:47.142 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) host.raspberrypi 2021-03-04 22:00:47.141 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) host.raspberrypi 2021-03-04 22:00:47.141 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) host.raspberrypi 2021-03-04 22:00:47.141 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) host.raspberrypi 2021-03-04 22:00:47.140 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) host.raspberrypi 2021-03-04 22:00:47.140 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36) host.raspberrypi 2021-03-04 22:00:47.140 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:126:9) host.raspberrypi 2021-03-04 22:00:47.140 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/binding/node-v64-linux-arm/bindings.node host.raspberrypi 2021-03-04 22:00:47.139 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node host.raspberrypi 2021-03-04 22:00:47.139 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node host.raspberrypi 2021-03-04 22:00:47.139 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node host.raspberrypi 2021-03-04 22:00:47.139 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/compiled/10.22.0/linux/arm/bindings.node host.raspberrypi 2021-03-04 22:00:47.138 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/default/bindings.node host.raspberrypi 2021-03-04 22:00:47.138 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Release/bindings.node host.raspberrypi 2021-03-04 22:00:47.138 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Release/bindings.node host.raspberrypi 2021-03-04 22:00:47.138 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Debug/bindings.node host.raspberrypi 2021-03-04 22:00:47.137 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Debug/bindings.node host.raspberrypi 2021-03-04 22:00:47.137 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node host.raspberrypi 2021-03-04 22:00:47.137 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Debug/bindings.node host.raspberrypi 2021-03-04 22:00:47.137 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/bindings.node host.raspberrypi 2021-03-04 22:00:47.136 error Caught by controller[0]: Error: Could not locate the bindings file. Tried: host.raspberrypi 2021-03-04 22:00:47.136 error Caught by controller[0]: ^ host.raspberrypi 2021-03-04 22:00:47.136 error Caught by controller[0]: throw err; host.raspberrypi 2021-03-04 22:00:47.135 error Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:135
-
@jan-fiedler Bitte den Adapter noch einmal installieren, und zwar vom Admin aus, nicht aus der Konsole.
A.
-
@asgothian Hat leider nicht geholfen...
host.raspberrypi 2021-03-04 22:54:25.246 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2021-03-04 22:54:25.246 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/index.js:14:22) host.raspberrypi 2021-03-04 22:54:25.245 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) host.raspberrypi 2021-03-04 22:54:25.245 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) host.raspberrypi 2021-03-04 22:54:25.245 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) host.raspberrypi 2021-03-04 22:54:25.245 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) host.raspberrypi 2021-03-04 22:54:25.244 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) host.raspberrypi 2021-03-04 22:54:25.244 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) host.raspberrypi 2021-03-04 22:54:25.244 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) host.raspberrypi 2021-03-04 22:54:25.244 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36) host.raspberrypi 2021-03-04 22:54:25.244 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:126:9) host.raspberrypi 2021-03-04 22:54:25.243 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/binding/node-v64-linux-arm/bindings.node host.raspberrypi 2021-03-04 22:54:25.243 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node host.raspberrypi 2021-03-04 22:54:25.243 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node host.raspberrypi 2021-03-04 22:54:25.243 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node host.raspberrypi 2021-03-04 22:54:25.242 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/compiled/10.22.0/linux/arm/bindings.node host.raspberrypi 2021-03-04 22:54:25.242 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/default/bindings.node host.raspberrypi 2021-03-04 22:54:25.242 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Release/bindings.node host.raspberrypi 2021-03-04 22:54:25.242 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Release/bindings.node host.raspberrypi 2021-03-04 22:54:25.241 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Debug/bindings.node host.raspberrypi 2021-03-04 22:54:25.241 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Debug/bindings.node host.raspberrypi 2021-03-04 22:54:25.241 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node host.raspberrypi 2021-03-04 22:54:25.241 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Debug/bindings.node host.raspberrypi 2021-03-04 22:54:25.240 error Caught by controller[0]: → /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/bindings.node host.raspberrypi 2021-03-04 22:54:25.240 error Caught by controller[0]: Error: Could not locate the bindings file. Tried: host.raspberrypi 2021-03-04 22:54:25.240 error Caught by controller[0]: ^ host.raspberrypi 2021-03-04 22:54:25.240 error Caught by controller[0]: throw err; host.raspberrypi 2021-03-04 22:54:25.239 error Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:135 host.raspberrypi 2021-03-04 22:54:23.987 info instance system.adapter.zigbee.0 started with pid 8841
-
@jan-fiedler Was mir noch aufgefallen ist... Das sollte so nicht sein oder?
pi@raspberrypi:~ $ npm list serialport /home/pi └── (empty)
-
@jan-fiedler Doch, das soll so sein in deinem home.
Stell dich nach /opt/iobroker -
@jan-fiedler Doch.. der Befehl muss im Verzeichnis /opt/iobroker angegeben werden
A.
-
pi@raspberrypi:/opt/iobroker $ npm list serialport iobroker.inst@2.0.3 /opt/iobroker ├─┬ iobroker.discovery@2.5.0 │ └── serialport@9.0.7 deduped └── serialport@9.0.7
-
@jan-fiedler
Schaut bei mir anders aus:pi@raspberrypi:/opt/iobroker $ npm list serialport iobroker.inst@2.0.3 /opt/iobroker └─┬ iobroker.zigbee@1.4.4 ├─┬ zigbee-herdsman@0.13.70 │ └── serialport@9.0.6 └─┬ zigbee-herdsman-converters@14.0.57 └─┬ zigbee-herdsman@0.13.68 └── serialport@9.0.6 pi@raspberrypi:/opt/iobroker $
-
@thomas-braun Ich hab jetzt nochmal ein npm rebuild in den /opt/iobroker Verzeichnis durchgeführt. Allerdings hat das nur zu einem Haufen folgender Fehler geführt. Hab ich vllt eine inkompatible node Version?
warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-aead-crypto@2.2.0 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:
-
@jan-fiedler Wie schaut die node-Installation denn aus?
-
@thomas-braun Wie genau meinst du das? Versionsnummern? Logs?
Der Adapter ist allerdings aktuell auf Grün gewechselt spannenderweise... -
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
Dein System scheint aber auch steinalt zu sein.
sudo apt update sudo apt dist-upgrade sudo reboot
-
@thomas-braun sagte in ZigBee neue Version 1.4.4:
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
Das kann schon sein... macht halt nur ioBroker
pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v10.22.0 /usr/bin/node v10.22.0 /usr/bin/npm 6.14.6 nodejs: Installiert: 10.22.0-1nodesource1 Installationskandidat: 10.22.0-1nodesource1 Versionstabelle: *** 10.22.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.21.0~dfsg-1~deb10u1+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
-
@jan-fiedler dann mach es jetzt.
-
@thomas-braun Ziehe mir aber morgen erstmal ein Backup, nicht dass ich damit wieder alles zerschieße
-
@jan-fiedler
Backup haben ist immer gut. Backup von einem sauberen System ist noch besser. -
Ob eine neueres nodejs hilft?
Mein System ist älter und läuft im Prinzip
Node.js v10.17.0
NPM 6.11.3
js-controller Installiert: 3.2.16Verbindung über COM-Port wird hergestellt. Adapter grün.