NEWS
Zigbee startet nicht mehr
-
Hallo,
irgendwie startet mein Zigbee Adapter seit heute nicht mehr.
Meine letzte Änderung am System habe ich vor 3 Tagen durchgeführt.
Habe Raspian auf Bullseye upgedatet. Allerdings habe ich danach mehrmals das System neugestartet und hatte keine Probleme.Als Stick verwende ich einen sonoff zigbee 3.0 usb dongle plus.
Im Log kommt beim Adapterstart:
host.iobroker 2021-11-30 22:32:25.363 info Restart adapter system.adapter.zigbee.0 because enabled host.iobroker 2021-11-30 22:32:25.363 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.iobroker 2021-11-30 22:32:25.363 error Caught by controller[0]: } host.iobroker 2021-11-30 22:32:25.363 error Caught by controller[0]: ] host.iobroker 2021-11-30 22:32:25.363 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/binding/node-v83-linux-arm/bindings.node' host.iobroker 2021-11-30 22:32:25.362 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node', host.iobroker 2021-11-30 22:32:25.362 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node', host.iobroker 2021-11-30 22:32:25.362 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node', host.iobroker 2021-11-30 22:32:25.362 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/compiled/14.18.1/linux/arm/bindings.node', host.iobroker 2021-11-30 22:32:25.362 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/default/bindings.node', host.iobroker 2021-11-30 22:32:25.362 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Release/bindings.node', host.iobroker 2021-11-30 22:32:25.361 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Release/bindings.node', host.iobroker 2021-11-30 22:32:25.361 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Debug/bindings.node', host.iobroker 2021-11-30 22:32:25.361 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Debug/bindings.node', host.iobroker 2021-11-30 22:32:25.361 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node', host.iobroker 2021-11-30 22:32:25.361 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Debug/bindings.node', host.iobroker 2021-11-30 22:32:25.360 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/bindings.node', host.iobroker 2021-11-30 22:32:25.360 error Caught by controller[0]: tries: [ host.iobroker 2021-11-30 22:32:25.360 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) { host.iobroker 2021-11-30 22:32:25.360 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/index.js:14:22) host.iobroker 2021-11-30 22:32:25.360 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18) host.iobroker 2021-11-30 22:32:25.360 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) host.iobroker 2021-11-30 22:32:25.359 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) host.iobroker 2021-11-30 22:32:25.359 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) host.iobroker 2021-11-30 22:32:25.359 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) host.iobroker 2021-11-30 22:32:25.359 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) host.iobroker 2021-11-30 22:32:25.359 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36) host.iobroker 2021-11-30 22:32:25.358 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:126:9) host.iobroker 2021-11-30 22:32:25.358 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/binding/node-v83-linux-arm/bindings.node host.iobroker 2021-11-30 22:32:25.358 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node host.iobroker 2021-11-30 22:32:25.357 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node host.iobroker 2021-11-30 22:32:25.357 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node host.iobroker 2021-11-30 22:32:25.357 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/compiled/14.18.1/linux/arm/bindings.node host.iobroker 2021-11-30 22:32:25.356 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/default/bindings.node host.iobroker 2021-11-30 22:32:25.356 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Release/bindings.node host.iobroker 2021-11-30 22:32:25.356 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Release/bindings.node host.iobroker 2021-11-30 22:32:25.356 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/Debug/bindings.node host.iobroker 2021-11-30 22:32:25.356 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/out/Debug/bindings.node host.iobroker 2021-11-30 22:32:25.356 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node host.iobroker 2021-11-30 22:32:25.355 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Debug/bindings.node host.iobroker 2021-11-30 22:32:25.355 error Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/bindings.node host.iobroker 2021-11-30 22:32:25.355 error Caught by controller[0]: Error: Could not locate the bindings file. Tried: host.iobroker 2021-11-30 22:32:25.355 error Caught by controller[0]: ^ host.iobroker 2021-11-30 22:32:25.355 error Caught by controller[0]: throw err; host.iobroker 2021-11-30 22:32:25.354 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:135 chromecast.0 2021-11-30 22:32:
Mein System:
Plattform linux Betriebssystem linux Architektur arm CPUs 4 Geschwindigkeit 1500 MHz Modell ARMv7 Processor rev 3 (v7l) RAM 3.75 GB System-Betriebszeit 00:18:02 Node.js v14.18.1 (Es gibt eine neuere Version: v14.18.2) NPM 6.14.15 Datenträgergröße 227.98 GB freier Festplattenspeicher 203.57 GB Anzahl der Adapter 365 Betriebszeit 00:04:32 Aktive Instanzen 56 location /opt/iobroker/ Hostname iobroker
pi@iobroker:~ $ iobroker list instances + system.adapter.accuweather.0 : accuweather : iobroker - enabled + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin system.adapter.alias-manager.0 : alias-manager : iobroker - disabled system.adapter.asterisk.0 : asterisk : iobroker - disabled, port: 5038 + system.adapter.backitup.0 : backitup : iobroker - enabled system.adapter.birthdays.0 : birthdays : iobroker - enabled + system.adapter.bosesoundtouch.0 : bosesoundtouch : iobroker - enabled + system.adapter.calendar.0 : calendar : iobroker - enabled, port: 8095 + system.adapter.chromecast.0 : chromecast : iobroker - enabled system.adapter.coronavirus-statistics.0 : coronavirus-statistics: iobroker - enabled system.adapter.daswetter.0 : daswetter : iobroker - enabled system.adapter.daswetter.1 : daswetter : iobroker - enabled + system.adapter.device-reminder.0 : device-reminder : iobroker - enabled system.adapter.devices.0 : devices : iobroker - disabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.echarts.0 : echarts : iobroker - enabled + system.adapter.email.0 : email : iobroker - enabled + system.adapter.fullcalendar.0 : fullcalendar : iobroker - enabled + system.adapter.google-sharedlocations.0 : google-sharedlocations: iobroker - enabled system.adapter.ham.0 : ham : iobroker - disabled system.adapter.heatingcontrol.0 : heatingcontrol : iobroker - disabled system.adapter.history.0 : history : iobroker - disabled + system.adapter.hm-rega.0 : hm-rega : iobroker - enabled + system.adapter.hm-rpc.0 : hm-rpc : iobroker - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : iobroker - enabled, port: 0 system.adapter.ical.0 : ical : iobroker - enabled system.adapter.ical.1 : ical : iobroker - enabled + system.adapter.info.0 : info : iobroker - enabled + system.adapter.iot.0 : iot : iobroker - enabled + system.adapter.javascript.0 : javascript : iobroker - enabled + system.adapter.linux-control.0 : linux-control : iobroker - enabled + system.adapter.lovelace.0 : lovelace : iobroker - enabled, port: 8091, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.lovelace.1 : lovelace : iobroker - enabled, port: 8092, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.mytime.0 : mytime : iobroker - enabled + system.adapter.nina.0 : nina : iobroker - enabled + system.adapter.node-red.0 : node-red : iobroker - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.nut.0 : nut : iobroker - enabled system.adapter.openweathermap.0 : openweathermap : iobroker - enabled + system.adapter.parser.0 : parser : iobroker - enabled + system.adapter.ping.0 : ping : iobroker - enabled + system.adapter.ping.1 : ping : iobroker - enabled + system.adapter.places.0 : places : iobroker - enabled system.adapter.proxy.0 : proxy : iobroker - enabled + system.adapter.pushover.0 : pushover : iobroker - enabled + system.adapter.rpi2.0 : rpi2 : iobroker - enabled + system.adapter.rssfeed.0 : rssfeed : iobroker - enabled + system.adapter.sayit.0 : sayit : iobroker - enabled, port: 0 system.adapter.shelly.0 : shelly : iobroker - disabled, port: 1882, bind: 0.0.0.0 system.adapter.smartcontrol.0 : smartcontrol : iobroker - disabled + system.adapter.snmp.0 : snmp : iobroker - enabled + system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.sony-bravia.0 : sony-bravia : iobroker - enabled + system.adapter.sourceanalytix.0 : sourceanalytix : iobroker - enabled + system.adapter.sql.0 : sql : iobroker - enabled, port: 0 + system.adapter.statistics.0 : statistics : iobroker - enabled + system.adapter.tankerkoenig.0 : tankerkoenig : iobroker - enabled + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : iobroker - enabled + system.adapter.tr-064.0 : tr-064 : iobroker - enabled + system.adapter.trashschedule.0 : trashschedule : iobroker - enabled system.adapter.tvspielfilm.0 : tvspielfilm : iobroker - enabled system.adapter.vis.0 : vis : iobroker - enabled + system.adapter.web-speedy.0 : web-speedy : iobroker - enabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.1 : web : iobroker - enabled, port: 8083, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : iobroker - enabled, port: /dev/ttyUSB0 + instance is alive pi@iobroker:~ $
pi@iobroker:~ $ ls -l /dev/serial/by-id insgesamt 0 lrwxrwxrwx 1 root root 13 30. Nov 22:25 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_e28d28580194eb11a604aa5b3d98b6d1-if00-port0 -> ../../ttyUSB0 pi@iobroker:~ $
Hat jemand eine Idee?
Iobroker fix habe ich bereits ausgeführt. -
Nachtrag:
Was mir grad einfällt.War heute Nachmittag mal im Menü "Bindung" im Adapter um zu sehen, was man da einstellen kann.
Hab den Dialog aber über "abbrechen" verlassen.Hat der Adapter da evtl was gemacht? Im Log steht ja recht oft der Begriff "binding".
EDIT:
Auch wenn es vermutlich nichts mit dem Problem zu tun hat, hab ich eben einen Adapter Upload gemacht. Hat nichts geändert.
Habe eben noch ein Zigbee Backup eingespielt von vorgestern. Auch ohne Erfolg.
-
@david-g Nur so ein verdacht weil ich ähnliche Meldungen hatte nach dem Node.js 14 Update:
schon maliobroker rebuild zigbee --install
versucht? Bei mir hat er den auch nach Upgrades von JS-Controller neu kompilieren wollen.
Weist du noch ob du Node.js in dem Zuge mit upgegraded hast? -
@bananajoe @David-G
Dann würde ich vorher allerdings noch die neueste Version von nodeJS installieren. Wenn eh schon rebuildet wird... -
Nachtrag: tja, aber da steht ganz klar was von bindings in deinem Logs.
Ich hab bei mir mal geschaut ,den Pfad/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsmann
gibt es bei mir gar nicht, der zigbee-herdsman Ordner liegt bei mir direkt im /opt/iobroker/node_modules Ordner
-
Nodejs hab ich nicht bewusst upgedatet.
Bin nach dieser Anleitung vorgegangen.
https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye?_=1638334513500Hier der Log vom rebuild.
Hat nichts gebracht......Last login: Tue Nov 30 23:11:41 2021 from 192.168.99.77 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@iobroker:~ $ iobroker rebuild zigbee --install npm install --loglevel error --production (System call1) in "/opt/iobroker/node_modules/iobroker.zigbee" Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import ast ImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindings gyp ERR! node -v v14.18.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@9.2.5 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.5 install 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: npm ERR! /home/iobroker/.npm/_logs/2021-12-01T04_53_18_917Z-debug.log Rebuild zigbee done pi@iobroker:~ $
EDIT:
Hab grad mal ganz frech die Instanz und den Adapter gelöscht.
Hab ja ein Backup von Zigbee.Beim neuen installieren bricht er nun mit einem Fehler ab:
ERROR: Process exited with code 25 weniger mehr $ iobroker add zigbee auto --host iobroker NPM version: 6.14.15 npm install iobroker.zigbee@1.6.6 --loglevel error --prefix "/opt/iobroker" (System call) Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@9.2.5 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.5 install 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: npm ERR! /home/iobroker/.npm/_logs/2021-12-01T06_09_25_754Z-debug.log host.iobroker Cannot install iobroker.zigbee@1.6.6: 1 ERROR: Process exited with code 25
-
which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
free -ht
-
@thomas-braun sagte in Zigbee startet nicht mehr:
which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
Last login: Wed Dec 1 07:21:43 2021 from 192.168.99.77 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@iobroker:~ $ 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 v14.18.1 v14.18.1 6.14.15 OK:1 http://archive.raspberrypi.org/debian bullseye InRelease Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB] OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease Es wurden 15,0 kB in 1 s geholt (15,0 kB/s). Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. OK:1 http://archive.raspberrypi.org/debian bullseye InRelease OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. nodejs: Installiert: 14.18.1-deb-1nodesource1 Installationskandidat: 14.18.2-deb-1nodesource1 Versionstabelle: 14.18.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages *** 14.18.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 12.22.5~dfsg-2~11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages pi@iobroker:~ $ pi@iobroker:~ $
free -ht
Last login: Wed Dec 1 07:37:08 2021 from 192.168.99.77 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@iobroker:~ $ free -ht gesamt benutzt frei gemns. Puffer/Cache verfügbar Speicher: 3,7Gi 1,9Gi 610Mi 14Mi 1,2Gi 2,2Gi Swap: 999Mi 2,0Mi 997Mi Gesamt: 4,7Gi 1,9Gi 1,6Gi pi@iobroker:~ $
-
-
Der war mir eine Zeit lang mal vollgelaufen als er kleiner war.
War zum testen wie es sich verhält wenn er größer ist.
Könnte ich mal wieder ändern.... -
@thomas-braun sagte in Zigbee startet nicht mehr:
@david-g
nodeJS auf die letzte Version bringen.Erledigt
Last login: Wed Dec 1 07:48:46 2021 from 192.168.99.77 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@iobroker:~ $ 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 v14.18.2 v14.18.2 6.14.15 OK:1 http://archive.raspberrypi.org/debian bullseye InRelease OK:2 https://deb.nodesource.com/node_14.x bullseye InRelease OK:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen. OK:1 http://archive.raspberrypi.org/debian bullseye InRelease OK:2 https://deb.nodesource.com/node_14.x bullseye InRelease OK:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen. nodejs: Installiert: 14.18.2-deb-1nodesource1 Installationskandidat: 14.18.2-deb-1nodesource1 Versionstabelle: *** 14.18.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.5~dfsg-2~11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages pi@iobroker:~ $
Bein installieren des Adapters kommt jetzt
ERROR: Process exited with code 25 weniger mehr $ iobroker add zigbee auto --host iobroker NPM version: 6.14.15npm install iobroker.zigbee@1.6.6 --loglevel error --prefix "/opt/iobroker" (System call) Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named astgyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! @serialport/bindings@9.2.5 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.5 install 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:npm ERR! /home/iobroker/.npm/_logs/2021-12-01T06_54_07_681Z-debug.log host.iobroker Cannot install iobroker.zigbee@1.6.6: 1 ERROR: Process exited with code 25
-
@bananajoe es kommt drauf an welche version man hat .. das ist also richtig
@David-G dir hats den serialport zerhauen
machmal
adapter stop
dann in der console
rm -R /opt/iobroker/node_modules/zigbee-herdsman rm -R /opt/iobroker/node_modules/zigbee-herdsman-converters rm -R /opt/iobroker/node_modules/@serialport rm -R /opt/iobroker/node_modules/serialport rm -R /opt/iobroker/node_modules/iobroker.zigbee
zurück zum Admin und dann adapter von GIT installieren https://github.com/ioBroker/ioBroker.zigbee/wiki/GIT-install
adapter starten .. wartenund nix anderes .. sonst sind die Geräte aus iobroker weg.. nur das was ich geschrieben habe
-
@arteck sagte in Zigbee startet nicht mehr:
@David-G dir hats den serialport zerhauen
machmal
adapter stop
Alle Adapter stop?
Zigbee hab ich ja garnicht erst installiert.Darf ich danach ein vorher funktionierendes Backup einspielen, falls die Geräte weg sind?
Falls nein, wäre nicht soooo schlimm.
Bin mit Zigbee noch am Anfang.EDIT:
Hab die Ordner jetzt mit den entsprechenden Befehlen gelöscht.
Allerdings gab es nur die mit serialport. Die anderen wurden vermutlich beim Löschen des Adapters entfernt.pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/zigbee-herdsmann rm: das Entfernen von '/opt/iobroker/node_modules/zigbee-herdsmann' ist nicht möglich: Datei oder Verzeichnis nicht gefunden pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/zigbee-herdsman-converters rm: das Entfernen von '/opt/iobroker/node_modules/zigbee-herdsman-converters' ist nicht möglich: Datei oder Verzeichnis nicht gefunden pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/@serialport pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/serialport pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/iobroker.zigbee rm: das Entfernen von '/opt/iobroker/node_modules/iobroker.zigbee' ist nicht möglich: Datei oder Verzeichnis nicht gefunden pi@iobroker:~ $
Leider keine Besserung. Adapter lässt sich nicht installieren.
Ist glaube auch von den Fehlern her gleich:
$ iobroker url https://github.com/ioBroker/ioBroker.zigbee --host iobroker install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714 NPM version: 6.14.15npm install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714 --loglevel error --prefix "/opt/iobroker" (System call) Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! @serialport/bindings@9.2.7 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.7 install 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:npm ERR! /home/iobroker/.npm/_logs/2021-12-01T14_54_32_040Z-debug.log host.iobroker Cannot install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714: 1 ERROR: Process exited with code 25
EDIT 2:
Hab einen Adapter der jetzt regelmäßig abstürzt.
Scheinbar hat der auch ein Problem mit den bindingsTypeError: this.getSpecialValues is not a function at Object.formatBinding (/opt/iobroker/node_modules/iobroker.lovelace/lib/bindings.js:168:42) at /opt/iobroker/node_modules/iobroker.lovelace/lib/server.js:2582:50 at runNextTicks (internal/process/task_queues.js:60:5) at processImmediate (internal/timers.js:437:9)
Mittlerweile hat sich die Fehlermeldung geändert:
$ iobroker url https://github.com/ioBroker/ioBroker.zigbee --host iobroker install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714 NPM version: 6.14.15 npm install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714 --loglevel error --prefix "/opt/iobroker" (System call) Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Linux 5.10.63-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! @serialport/bindings@9.2.7 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.7 install 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: npm ERR! /home/iobroker/.npm/_logs/2021-12-01T18_42_47_410Z-debug.log host.iobroker Cannot install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714: 1 ERROR: Process exited with code 25
-
Warum eigentlich die Version aus git?
Nimm was aus den Repos. -
Macht keinen Unterschied vom Fehlerbild.
Wollte nicht direkt nachdem ich mit Zigbee anfange so einen großen Versionssorung machen. -
?
Die Version aus git ist die 'böse', die kleine Kätzchen fressen kann.
Gerade als einstieg nimmt man eine Version aus stable. Testen kannst du dann später.iobroker add zigbee
liefert?
-
Hab sie genommen weil einige hier im Forum die Produktiv nutzen und es scheinbar keine Probleme gibt.
Hoffe mal, mein Problem liegt nicht daran. -
git-Versionen sind nie produktiv.
-
Okay, verstanden.
Jedoch wäre es schön jetzt wieder auf das ursprüngliche Thema zu kommen.EDIT: Hab eben deinen Befehl übersehen. Teste ich grad.
-
@thomas-braun sagte in Zigbee startet nicht mehr:
iobroker add zigbee
liefert?
pi@iobroker:~ $ iobroker add zigbee NPM version: 6.14.15 npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call) Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import ast ImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings gyp ERR! node -v v14.18.2 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import ast ImportError: No module named ast gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Linux 5.10.63-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindings gyp ERR! node -v v14.18.2 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@9.0.4 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@9.0.4 install 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: npm ERR! /home/iobroker/.npm/_logs/2021-12-01T20_54_28_658Z-debug.log host.iobroker Cannot install iobroker.zigbee@1.5.6: 1 pi@iobroker:~ $
Anbei das erwähnte log aus Zeile 51.
2021-12-01T20_54_28_658Z-debug.log