NEWS
CC2531 funktioniert nicht mehr
-
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