NEWS
CC2531 funktioniert nicht mehr
-
Guten Tag,
seit gestern habe ich endlich auch einen CC2531 Stick (über ebay kleinanzeigen fertig geflasht gekauft). Diesen habe ich gleich an den Raspberry eingesteckt und den nötigen Zigbee adapter installiert + COM PORT eingetragen. Lief soweit auch alles und (Verbunden mit Host, Lebenszeichen und verbunden mit zigbee war alles grün). Zigbee Geräte konnten ebenfalls gesucht werden.
Nun zu meinem Problem: Nach einem Stromausfall standen auf einmal alle Verbindungen des Adapters (Verbunden mit Host, Lebenszeichen und verbunden mit zigbee auf ROT) und ich bekomme ihn auch nicht mehr zum laufen.
Das ist der Log, den ich da ich noch ein Neuling im Gebiet IOBroker bin, nicht richtig verstehe
host.raspberrypi 2019-01-16 03:50:09.190 info Restart adapter system.adapter.zigbee.0 because enabled host.raspberrypi 2019-01-16 03:50:09.190 error instance system.adapter.zigbee.0 terminated with code 1 () host.raspberrypi 2019-01-16 03:50:09.190 error Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10) host.raspberrypi 2019-01-16 03:50:09.190 error Caught by controller[0]: at Module._compile (module.js:652:30) host.raspberrypi 2019-01-16 03:50:09.190 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.zigbee/node_modules/serialport/lib/bindings/linux.js:2:36) host.raspberrypi 2019-01-16 03:50:09.190 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:81:44) host.raspberrypi 2019-01-16 03:50:09.190 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-01-16 03:50:09.190 error Caught by controller[0]: at Module.require (module.js:596:17) host.raspberrypi 2019-01-16 03:50:09.190 error Caught by controller[0]: at Function.Module._load (module.js:497:3) host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: at tryModuleLoad (module.js:505:12) host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: at Module.load (module.js:565:32) host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: at Object.Module._extensions..node (module.js:681:18) host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: NODE_MODULE_VERSION 67\. This version of Node.js requires host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: was compiled against a different Node.js version using host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/serialport/build/Release/serialport.node' host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: ^ host.raspberrypi 2019-01-16 03:50:09.188 error Caught by controller[0]: throw e host.raspberrypi 2019-01-16 03:50:09.186 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:88 host.raspberrypi 2019-01-16 03:50:06.512 info instance system.adapter.zigbee.0 started with pid 1471</anonymous>
Wäre nett wenn ihr mir helfen könntet
Lg Fabian
-
lass mich raten
> du hast nix gemacht
host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.raspberrypi 2019-01-16 03:50:09.189 error Caught by controller[0]: NODE_MODULE_VERSION 67\. This version of Node.js requires
ausser neue Node Version installiert.. und jetzt passt es nicht mehr zusammen
machmal
node -v
und poste die ausgabe
-
- root@raspberrypi:~# node -v
v11.6.0
Npm Rebuild und Install habe ich auch schon probiert, jedoch ohne Erfolg
-
ohh Fabian..
node 11.6 wird doch garnicht unterstützt ..im ganzen iobroker…
mach ein downgrade auf 8.xx
sudo apt-get purge node sudo apt-get purge nodejs sudo apt-get purge npm sudo apt-get autoremove curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
`node -v [code] hier sollte die ausgabe 8.xx sein [code] npm -v[/code]` hier irgendwas mit 6.xx[/code]
-
Alles so durchgeführt nach deiner Anleitung
Anscheinend habe ich 2 versionen von Node installiert.
/usr/bin/node -v
v8.15.0
/usr/local/bin/node -v
v11.6.0
Npm -v
v6.5.0-next.0
Das ist der neue LOG: (Alle paar sek blinkt der Adapter jetzt mal ganz kurz gelb)
- host.raspberrypi 2019-01-17 07:58:05.371 error instance system.adapter.zigbee.0 terminated with code 0 (OK)
host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[7]: Thu, 17 Jan 2019 06:58:05 GMT cc-znp:SREQ –> SYS:osalNvRead, { id: 3840, offset: 0, len: 1, value: [ 85 ] } host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[6]: 2019-01-17T06:58:05.314Z zigbee-shepherd:request REQ –> SYS:osalNvRead host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[5]: Thu, 17 Jan 2019 06:58:05 GMT cc-znp The serialport /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0019366935-if00 is opened. host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[4]: 2019-01-17T06:58:05.305Z zigbee:controller info zigbee-shepherd stopped undefined host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[3]: 2019-01-17T06:58:05.304Z zigbee-shepherd zigbee-shepherd is stopped. host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[2]: 2019-01-17T06:58:05.300Z zigbee-shepherd zigbee-shepherd is stopping. host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: '/opt/iobroker/node_modules/iobroker.js-controller/../../iobroker-data/zigbee_0/shepherd.db' } host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: path: host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: syscall: 'open', host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: code: 'EACCES', host.raspberrypi 2019-01-17 07:58:05.371 error Caught by controller[1]: errno: -13, host.raspberrypi 2019-01-17 07:58:05.370 error Caught by controller[1]: { [Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/../../iobroker-data/zigbee_0/shepherd.db'] host.raspberrypi 2019-01-17 07:58:05.370 error Caught by controller[0]: 2019-01-17T06:58:05.249Z zigbee-shepherd:init zigbee-shepherd booting… host.raspberrypi 2019-01-17 07:58:03.457 info instance system.adapter.zigbee.0 started with pid 5509 host.raspberrypi 2019-01-17 07:58:02.422 info Restart adapter system.adapter.zigbee.0 because enabled
-
Moin
Hab es auch versucht so von 11.6.0 weg zu kommen…aber nachdem er alles macht mit den Befehlen habe ich am Ende immer noch v11.6.0 :roll:
-
ja dann mach do
rm -f /usr/local/bin/node
und dann nochmal
node -v
-
Habe ich gemacht
node -v ist jetzt
8.15.0
npm
6.5.0-next.0
Aber das ist immer noch der aktuelle LOG: (zigbee adapter ist übrigens Version 0.8.0)
- host.raspberrypi 2019-01-19 01:08:37.757 error instance system.adapter.zigbee.1 terminated with code 1 ()
host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Module._compile (module.js:653:30) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/serialport/lib/bindings/linux.js:2:36) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/serialport/node_modules/bindings/bindings.js:81:44) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Module.require (module.js:597:17) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-01-19 01:08:37.756 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: at Object.Module._extensions..node (module.js:682:18) host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: NODE_MODULE_VERSION 67\. This version of Node.js requires host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: was compiled against a different Node.js version using host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/serialport/build/Release/serialport.node' host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: ^ host.raspberrypi 2019-01-19 01:08:37.755 error Caught by controller[0]: throw e host.raspberrypi 2019-01-19 01:08:37.754 error Caught by controller[0]: /opt/iobroker/node_modules/serialport/node_modules/bindings/bindings.js:88</anonymous>
-
ja du musst ein rebuild machen..
-
Jetzt habe ich folgendes Problem:
LOG:
host.raspberrypi 2019-01-22 00:08:40.271 error instance system.adapter.zigbee.0 terminated with code 1 ()
host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/auto-detect.js:16:22)
host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at require (internal/module.js:11:18)
host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at Module.require (module.js:597:17)
host.raspberrypi 2019-01-22 00:08:40.271 error Caught by controller[0]: at Function.Module._load (module.js:498:3)
host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at tryModuleLoad (module.js:506:12)
host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at Module.load (module.js:566:32)
host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
host.raspberrypi 2019-01-22 00:08:40.270 error Caught by controller[0]: at Module._compile (module.js:653:30)
host.raspberrypi 2019-01-22 00:08:40.264 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/linux.js:2:36)
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:93:9)
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/compiled/8.15.0/linux/arm/serialport.node
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/default/serialport.node
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Release/serialport.node
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Release/serialport.node
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/Debug/serialport.node
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/out/Debug/serialport.node
host.raspberrypi 2019-01-22 00:08:40.263 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node
host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Debug/serialport.node
host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: → /opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/serialport.node
host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: Error: Could not locate the bindings file. Tried:
host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: ^
host.raspberrypi 2019-01-22 00:08:40.262 error Caught by controller[0]: throw err
host.raspberrypi 2019-01-22 00:08:40.261 error Caught by controller[0]: /opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:96</anonymous></anonymous>
-
am einfachsten währe Adapter löschen installieren.. da stimmt was mit den dependecies nicht..
-
Dies habe ich schon ein paar mal gemacht, jedoch leider ohne Erfolg
-
Setze doch mal ioBroker neu in einem lxc container auf.
-
Setze doch mal ioBroker neu in einem lxc container auf bzw komplett neu auf dem rPi