NEWS
(gelöst)zigbee Adapter kann ich nicht installieren
-
zigbee Adapter kann ich nicht installieren .
ich habe zigbee Adapter gelöscht und jetzt kann ich nicht installieren.
2021-11-23 00:00:26.932 - [32minfo[39m: host.raspberrypi4-iob instance system.adapter.zigbee.0 started with pid 8269 2021-11-23 00:00:35.164 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/jsonfile/index.js:56 2021-11-23 00:00:35.164 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: throw err 2021-11-23 00:00:35.164 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: ^ 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: SyntaxError: /opt/iobroker/node_modules/iobroker.zigbee/io-package.json: Unexpected token } in JSON at position 167 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at JSON.parse (<anonymous>) 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at Object.readFileSync (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/jsonfile/index.js:52:17) 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at new Adapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:409:30) 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at new Zigbee (/opt/iobroker/node_modules/iobroker.zigbee/main.js:60:9) 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:807:5) 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) 2021-11-23 00:00:35.165 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) 2021-11-23 00:00:35.166 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) 2021-11-23 00:00:35.166 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) 2021-11-23 00:00:35.166 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) 2021-11-23 00:00:35.166 - [31merror[39m: host.raspberrypi4-iob instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-11-23 00:00:35.166 - [32minfo[39m: host.raspberrypi4-iob Restart adapter system.adapter.zigbee.0 because enabled 2021-11-23 00:00:40.710 - [33mwarn[39m: mihome-vacuum.0 (17564) State value to set for "mihome-vacuum.0.control.fan_power" has value "90" less than min "101" 2021-11-23 00:01:00.829 - [33mwarn[39m: mihome-vacuum.0 (17564) State value to set for "mihome-vacuum.0.control.fan_power" has value "90" less than min "101" 2021-11-23 00:01:05.213 - [32minfo[39m: host.raspberrypi4-iob instance system.adapter.zigbee.0 started with pid 9422 2021-11-23 00:01:09.871 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/jsonfile/index.js:56 2021-11-23 00:01:09.872 - [31merror[39m: host.raspberrypi4-iob Caught by controller[0]: throw err -
@arnold
Wie installierst du das neu?
Und ist nodeJS richtig installiert? Welche Versionen?
npm cache Mal gelöscht?
Und warum stimmt deine Uhrzeit nicht? -
@thomas-braun
Verfügbare Version:1.5.6 installiere ich über

pi@raspberrypi4-iob:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v12.22.7 v12.22.7 6.14.15 OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 https://repos.influxdata.com/debian buster InRelease OK:4 https://deb.nodesource.com/node_12.x buster InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 https://repos.influxdata.com/debian buster InRelease OK:4 https://deb.nodesource.com/node_12.x buster InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 12.22.7-deb-1nodesource1 Installationskandidat: 12.22.7-deb-1nodesource1 Versionstabelle: *** 12.22.7-deb-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf PackagesHabe neu installiert nodejs und iobroker fix , mindestens Uhrzeit stimmt schon wieder.
Zigbee kann ich nicht installieren gleiche Fehler -
iobroker update -i cd /opt/iobroker sudo -u iobroker npm cache clear --force -
@thomas-braun said in zigbee Adapter kann ich nicht installieren:
sudo -u iobroker npm cache clear --force
gemacht , leider kommt bei Installation noch
iobroker Uncaught Rejection: TypeError: Cannot read property 'common' of undefined at Install.installAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:745:25) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:859:29) at processImmediate (internal/timers.js:463:21) iobroker host.raspberrypi4-iob error: reading io-package.json SyntaxError: /opt/iobroker/node_modules/iobroker.zigbee/io-package.json: Unexpected token } in JSON at position 167MOD-EDIT: Code in code-tags gesetzt!
-
Bitte keine Screenshots von Texten. Kann und will ich nicht entziffern.
-
@thomas-braun
ich habe ausgeführtiobroker update -i
cd /opt/iobroker
sudo -u iobroker npm cache clear --forcedann Adapter installiert
kommt Fehler
$ iobroker add zigbee --host raspberrypi4-iob
host.raspberrypi4-iob install adapter zigbee
host.raspberrypi4-iob error: reading io-package.json SyntaxError: /opt/iobroker/node_modules/iobroker.zigbee/io-package.json: Unexpected token } in JSON at position 167
Uncaught Rejection: TypeError: Cannot read property 'common' of undefined at Install.installAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:745:25) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:859:29) at processImmediate (internal/timers.js:463:21)
ERROR: Process exited with code 27
-
@arnold Problem gelöst?
Falls nicht dann versuche mal über die Katze folgenden link
https://github.com/ioBroker/ioBroker.zigbee
zu installieren und dann eine Instanz hinzuzufügen.Gruß
Andreas -
@andi19851985 said in zigbee Adapter kann ich nicht installieren:
hallo
habe über Katze installiert jetzt ist zigbee Adapter gelb.
bei pairing

Einstellung in com steht
/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001936DCEE-if00pi@raspberrypi4-iob:~ $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0451:16a8 Texas Instruments, Inc. Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
error Error herdsman starterror Failed to start Zigbee
error Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
error Error herdsman start
error Failed to start Zigbee
error Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
host.raspberrypi4-iob
error instance system.adapter.zigbee.0 terminated by request of the instance itself and will not be restarted, before user restarts it.error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined
host.raspberrypi4-iob
error instance system.adapter.zigbee.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)error zigbee.0 already running
2021-11-27 19:57:43.540 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined
2error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined
error Error herdsman start
error Failed to start Zigbee
error Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
error Error herdsman start
error Failed to start Zigbee
error Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
host.raspberrypi4-iob
error instance system.adapter.zigbee.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
host.raspberrypi4-iob
error instance system.adapter.zigbee.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)pi@raspberrypi4-iob:~ $ iobroker stop pi@raspberrypi4-iob:~ $ cd /opt/iobroker/node_modules/iobroker.zigbee pi@raspberrypi4-iob:/opt/iobroker/node_modules/iobroker.zigbee $ sudo npm rebuil d --unsafe-perm @iobroker/adapter-core@2.5.1 /opt/iobroker/node_modules/iobroker.zigbee/node_mod ules/@iobroker/adapter-core @types/iobroker@3.3.4 /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@t ypes/iobroker pi@raspberrypi4-iob:/opt/iobroker/node_modules/iobroker.zigbee $ cd pi@raspberrypi4-iob:~ $ iobroker start -
-
@thomas-braun
habe jetzt ohne sudo gemachtpi@raspberrypi4-iob:~ $ iobroker stop pi@raspberrypi4-iob:~ $ cd /opt/iobroker/node_modules/iobroker.zigbee pi@raspberrypi4-iob:/opt/iobroker/node_modules/iobroker.zigbee $ npm rebuild --u nsafe-perm @iobroker/adapter-core@2.5.1 /opt/iobroker/node_modules/iobroker.zigbee/node_mod ules/@iobroker/adapter-core @types/iobroker@3.3.4 /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@t ypes/iobroker pi@raspberrypi4-iob:/opt/iobroker/node_modules/iobroker.zigbee $ cd pi@raspberrypi4-iob:~ $ iobroker start
cc2531 wird gefunden
pi@raspberrypi4-iob:~ $ ls -la /dev/serial/by-id insgesamt 0 drwxr-xr-x 2 root root 60 Nov 27 20:36 . drwxr-xr-x 4 root root 80 Nov 27 20:36 .. lrwxrwxrwx 1 root root 13 Nov 27 20:36 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001936DCEE-if00 -> ../../ttyACM0 -
Die Extended PAN-Id auf eine 16stellige HEX-Zahl ändern.
Ein Neustart des Adapters sieht jetzt wie aus?
-
@thomas-braun said in zigbee Adapter kann ich nicht installieren:
Die Extended PAN-Id auf eine 16stellige HEX-Zahl ändern
kannst du mir ein Beispiel machen 16stellige HEX-Zahl
-
-
-
PAN-Id ist auch nicht die Extended PAN-Id / Erweiterte PAN-Id
-
@thomas-braun
Extended PAN-Id keine Ahnung ist mir zu hoch .
CC2531 vielleicht Kaputt ,Diode geht aber an .
kann ich das prüfen ? -
@arnold sagte in zigbee Adapter kann ich nicht installieren:
Extended PAN-Id keine Ahnung ist mir zu hoch .
Was ist denn da zu hoch? Das ist zwei Dinge:

Wenns an Englisch hapert: Extended = Erweitert
CC2531 vielleicht Kaputt
Ja, die Dinger sind 'defective by design'.
-
@thomas-braun
Extended PAN-Id geändert .
jetzt im log2021-11-27 23:28:47.997 - warn: zigbee.0 (5429) Failed to stop zigbee during st artup 2021-11-27 23:28:47.998 - info: zigbee.0 (5429) terminating 2021-11-27 23:28:48.000 - info: zigbee.0 (5429) Terminated (ADAPTER_REQUESTED_T ERMINATION): Without reason 2021-11-27 23:28:48.858 - info: host.raspberrypi4-iob stopInstance system.adapt er.zigbee.0 killing pid 5429 2021-11-27 23:28:49.237 - warn: mihome-vacuum.0 (1181) State value to set for " mihome-vacuum.0.control.fan_power" has value "90" less than min "101" 2021-11-27 23:28:49.586 - info: host.raspberrypi4-iob "system.adapter.zigbee.0" enabled 2021-11-27 23:28:49.628 - info: host.raspberrypi4-iob instance system.adapter.z igbee.0 started with pid 28076 2021-11-27 23:28:52.552 - error: zigbee.0 (28076) zigbee.0 already running 2021-11-27 23:28:52.555 - warn: zigbee.0 (28076) Terminated (ADAPTER_ALREADY_RU NNING): Without reason 2021-11-27 23:28:53.461 - error: host.raspberrypi4-iob instance system.adapter. zigbee.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2021-11-27 23:28:53.462 - info: host.raspberrypi4-iob Restart adapter system.ad apter.zigbee.0 because enabled 2021-11-27 23:29:09.274 - warn: mihome-vacuum.0 (1181) State value to set for "mihome-vacuum.0.control.fan_power" has value "90" less than min "101" 2021-11-27 23:29:23.553 - info: host.raspberrypi4-iob instance system.adapter.zigbee.0 started with pid 28961 2021-11-27 23:29:24.550 - error: host.raspberrypi4-iob instance system.adapter.zigbee.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2021-11-27 23:29:24.553 - info: host.raspberrypi4-iob Do not restart adapter system.adapter.zigbee.0 because desired by instance 2021-11-27 23:29:27.076 - info: zigbee.0 (28961) starting. Version 1.6.7 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.7, js-controller: 3.3.20 2021-11-27 23:29:27.183 - info: zigbee.0 (28961) Starting Zigbee npm ... 2021-11-27 23:29:27.658 - info: zigbee.0 (28961) Installed Version: ioBroker/ioBroker.zigbee#ca9442058258080026170f14d74d1c4d56b47338Adapter noch gelb
-
iobroker restart

