NEWS
SONOFF ZigBee 3.0 USB DONGLE PLUS
-
moin
alles wieder auf Ausgangsfirmware geflasht .
Leider immer noch das selbe Problem.
hier die Einstellungen :
iobroker:
proxmox:
lxc.cgroup2.devices.allow: c 188:0 rwm
lxc.mount.entry: /dev/bus/usb/001/006 dev/bus/usb/001/006 none bind,optional,create=>
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=filelg
m0skit0Edit:
habe mal zum Test einen raspberry pi mit iobroker aufgesetzt, nur den zigbee Adapter installiert und auf Version 1.6.3 aktualisiert, hier bekomme ich den selben Fehler
und ich bekomme diese Fehlermeldung:
Zeit
Nachricht
zigbee.0 2021-10-24 06:40:38.716 error unhandled promise rejection: Cannot read property 'getClients' of undefined zigbee.0 2021-10-24 06:40:38.714 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). zigbee.0 2021-10-24 06:40:24.252 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined zigbee.0 2021-10-24 06:33:11.709 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined zigbee.0 2021-10-24 06:25:52.015 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined zigbee.0 2021-10-24 06:25:37.513 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined zigbee.0 2021-10-24 06:24:43.394 error Error herdsman start zigbee.0 2021-10-24 06:24:43.393 error Failed to start Zigbee zigbee.0 2021-10-24 06:24:43.391 error Starting zigbee-herdsman problem : "No path provided and failed to auto detect path" zigbee.0 2021-10-24 06:24:36.941 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined zigbee.0 2021-10-24 06:24:33.108 error Error herdsman start zigbee.0 2021-10-24 06:24:33.107 error Failed to start Zigbee zigbee.0 2021-10-24 06:24:33.105 error Starting zigbee-herdsman problem : "No path provided and failed to auto detect path" zigbee.0 2021-10-24 06:24:31.808 error Serial port not selected! Go to settings page. zigbee.0 2021-10-24 06:23:58.287 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined
der Stick defekt ?
lg
m0skit0 -
Bitte in CodeTags setzen.
Und den device Link im Adapter setzen:
error Serial port not selected! Go to settings page.
-
hallo Thomas
ich finde da kein device link oder meinst du den reiter com port ?
der steht auf: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_5a3bf7cd0094eb119a3fa75b3d98b6d1-if00-port0
jetz kommt das:
zigbee.0 2021-10-24 10:31:06.683 info Installed Version: iobroker.zigbee@1.6.3 zigbee.0 2021-10-24 10:31:05.504 info Starting Zigbee npm ... zigbee.0 2021-10-24 10:31:05.216 info starting. Version 1.6.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.7, js-controller: 3.3.18 host.raspberrypi 2021-10-24 10:30:59.013 info instance system.adapter.zigbee.0 started with pid 746 host.raspberrypi 2021-10-24 09:30:56.542 info instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) zigbee.0 2021-10-24 09:30:55.961 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2021-10-24 09:30:55.957 info terminating zigbee.0 2021-10-24 09:30:55.940 info Zigbee: disabling joining new devices.
zigbee.0 2021-10-24 09:30:02.659 error getGroups: caught error: TypeError: Cannot read property 'getGroups' of undefined
-
@m0skit0
Und jetzt probierst du noch den richtigen Typ in Zigbee Adapter Einstellungen auszuwählen.... -
@dimaiv
Schön wenn einer mal alles anschaut
Wenn man Z-Stack auf dem Stick hat, dann sollte man das auch so einstellen. -
-
@m0skit0
Jou, kompliziert wirds nur, wenn man zu viel fummelt -
naja es ist ja erstmal nur der raspberry wo es jetzt geht nun muss es noch auf dem proxmox/iobroker funktionieren
aber du hast schon recht ich wusste nicht mehr was ich wo geändert habe - linux Anfänger Probleme
aber ich bin froh das man hier hilfe bekommt
Edit:
wie zu erwarten, geht es unter proxmox/iobroker nichtegal ob ich ttyUSB0 oder ttyUSB1 oder usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_5a3bf7cd0094eb119a3fa75b3d98b6d1-if00-port0
eingebe kommt immer der Fehler:
zigbee.0 2021-10-24 11:29:51.627 error Error herdsman start zigbee.0 2021-10-24 11:29:51.627 error Failed to start Zigbee zigbee.0 2021-10-24 11:29:51.627 error Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyUSB1'" zigbee.0 2021-10-24 11:29:51.624 info Starting Zigbee npm ... zigbee.0 2021-10-24 11:29:51.623 info Try to reconnect. 1 attempts left zigbee.0 2021-10-24 11:29:41.625 info Installed Version: iobroker.zigbee@1.6.3
diesmal habe ich aber alles so eingestellt wie im raspberry
-
@m0skit0 ausser du hast den usb port nicht weitergeleitet
-
...bei mir mit neuem Stick folgenderFehler:
host.iobroker 2021-10-24 11:36:39.067 info Restart adapter system.adapter.zigbee.0 because enabled host.iobroker 2021-10-24 11:36:39.067 error instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker 2021-10-24 11:36:39.066 error Caught by controller[1]: at processImmediate (internal/timers.js:464:21) host.iobroker 2021-10-24 11:36:39.066 error Caught by controller[1]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:232:37) host.iobroker 2021-10-24 11:36:39.066 error Caught by controller[1]: at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5634:34) host.iobroker 2021-10-24 11:36:39.065 error Caught by controller[1]: at Zigbee.emit (domain.js:475:12) host.iobroker 2021-10-24 11:36:39.065 error Caught by controller[1]: at Zigbee.emit (events.js:412:35) host.iobroker 2021-10-24 11:36:39.065 error Caught by controller[1]: at Developer.onMessage (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:46:26) host.iobroker 2021-10-24 11:36:39.065 error Caught by controller[1]: at Developer.sendToZigbee (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:103:49) host.iobroker 2021-10-24 11:36:39.064 error Caught by controller[1]: TypeError: Cannot read property 'getDevice' of undefined host.iobroker 2021-10-24 11:36:39.063 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: zigbee.0 2021-10-24 11:36:38.449 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
-
lxc.cgroup2.devices.allow: c 188:0 rwm lxc.mount.entry: /dev/bus/usb/001/014 dev/bus/usb/001/014 none bind,optional,create=> lxc.mount.entry: /dev/ttyUSB1 /dev/ttyUSB1 none bind,optional,create=file
in Proxmox
-
Und wie sehen die Einstellungen im Adapter aus?
-
@thomas-braun
com: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_1469408ef193eb1180efaa5b3d98b6d1-if00-port0Typ: TI-Z...
-
-
@hm_krause
Die erweiterte PAN-Id sollte anders lauten.
Kann aber sein, dass dann neugepairt werden muss. -
@thomas-braun
mit geänerter ID, immer noch:host.iobroker 2021-10-24 12:23:29.249 info Restart adapter system.adapter.zigbee.0 because enabled host.iobroker 2021-10-24 12:23:29.248 error instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker 2021-10-24 12:23:29.247 error Caught by controller[1]: at processImmediate (internal/timers.js:464:21) host.iobroker 2021-10-24 12:23:29.247 error Caught by controller[1]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:232:37) host.iobroker 2021-10-24 12:23:29.246 error Caught by controller[1]: at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5634:34) host.iobroker 2021-10-24 12:23:29.246 error Caught by controller[1]: at Zigbee.emit (domain.js:475:12) host.iobroker 2021-10-24 12:23:29.246 error Caught by controller[1]: at Zigbee.emit (events.js:412:35) host.iobroker 2021-10-24 12:23:29.245 error Caught by controller[1]: at Developer.onMessage (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:46:26) host.iobroker 2021-10-24 12:23:29.245 error Caught by controller[1]: at Developer.sendToZigbee (/opt/iobroker/node_modules/iobroker.zigbee/lib/developer.js:103:49) host.iobroker 2021-10-24 12:23:29.244 error Caught by controller[1]: TypeError: Cannot read property 'getDevice' of undefined host.iobroker 2021-10-24 12:23:29.243 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: zigbee.0 2021-10-24 12:23:28.609 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
-
@hm_krause
Dann fällt mir dazu konkret auch nichts mehr ein.
Versionen von nodeJS und des Adapters? NodeJS senkrecht installiert? -
@thomas-braun said in SONOFF ZigBee 3.0 USB DONGLE PLUS:
NodeJS senkrecht installiert?
NodeJS senkrecht installiert?
----keine Ahnung----
-
@hm_krause
zigbee v 1.6.3 -
which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && apt policy nodejs