NEWS
Synology- mal wieder Zigbee - CC2531 USB, Gelöst
-
Hi,
ich hatte einen Stromausfall und zack war die NAS aus.
Seitdem wird der Zigbee Stick nicht mehr gelb.zigbee.0 2020-03-26 22:53:35.167 error (10500) Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0' at Znp.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsma zigbee.0 2020-03-26 22:53:35.166 error (10500) Failed to start Zigbee zigbee.0 2020-03-26 22:53:34.950 info (10500) Starting Zigbee... zigbee.0 2020-03-26 22:53:34.949 info (10500) Try to reconnect. 1 attempts left zigbee.0 2020-03-26 22:53:24.949 error (10500) Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0' at Znp.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsma zigbee.0 2020-03-26 22:53:24.948 error (10500) Failed to start Zigbee zigbee.0 2020-03-26 22:53:24.601 info (10500) Starting Zigbee... zigbee.0 2020-03-26 22:53:24.573 info (10500) starting. Version 1.0.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.18.1 zigbee.0 2020-03-26 22:53:19.637 info (8671) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason zigbee.0 2020-03-26 22:53:19.636 info (8671) terminating zigbee.0 2020-03-26 22:53:19.634 error at process._tickCallback (internal/process/next_tick.js:68:7)) zigbee.0 2020-03-26 22:53:19.634 error at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:297:33) zigbee.0 2020-03-26 22:53:19.634 error at Controller.stop (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:169:16) zigbee.0 2020-03-26 22:53:19.634 error at __awaiter (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:4:12) zigbee.0 2020-03-26 22:53:19.634 error at new Promise (<anonymous>) zigbee.0 2020-03-26 22:53:19.634 error at /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:8:71 zigbee.0 2020-03-26 22:53:19.634 error at Generator.next (<anonymous>) zigbee.0 2020-03-26 22:53:19.634 error at Controller.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:173:49) zigbee.0 2020-03-26 22:53:19.634 error at Function.all (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/group.js:76:15) zigbee.0 2020-03-26 22:53:19.634 error at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/group.js:64:55) zigbee.0 2020-03-26 22:53:19.634 error (8671) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null zigbee.0 2020-03-26 22:53:19.627 info (8671) Zigbee: disabling joining new devices. zigbee.0 2020-03-26 22:53:19.623 info (8671) cleaned everything up... zigbee.0 2020-03-26 22:53:19.622 info (8671) Got terminate signal TERMINATE_YOURSELF
der stick wird gefunden im System
lsusb |__usb1 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub |__1-2 0451:16a8:0009 02 2.00 12MBit/s 50mA 2IFs (Texas Instruments TI CC2531 USB CDC __0X00124B0018ED2183) |__1-4 f400:f400:0100 00 2.00 480MBit/s 200mA 1IF (Synology DiskStation 7F00877D96CA6084) |__usb2 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
ich habe dem "ttyACM0" chmod 777 verpasst -nix geht.
crwxrwxrwx 1 root root 166, 0 Mar 26 23:01 ttyACM0
Mensch wie mich dieses Zigbee Ding nervt, alle paar Wochen verbringe ich Stunden damit.
Für Hilfestellung bin ich wirklich sehr dankbar.
-
@dos1973 lass mal fen fixer drüber laufen
curl -sL https://iobroker.net/fix.sh | bash -
-
@arteck
nee, leider klappt das auch nicht. -
der Stick nicht durchgereicht..
oder genau so und nicht anders..sonst kaputt
dann adapter stopp
folgende Ordner löschen
rm -R /opt/iobroker/node_modules/iobroker.zigbee/node_modules rm -R /opt/iobroker/node_modules/zigbee-herdsman rm -R /opt/iobroker/node_modules/@serialport
dann von git neu installieren.. danach sollte es wieder tun...
du hast ein serialport problem.. nicht /dev/ttyACM0.. die Rechtevergabe auf den /dev/ttyACM0 hilft da nicht
-
@arteck
nochmals bitte - das sonst kaputt verwirrt michso die Reihenfolge korrekt?
- Stick abstecken?
- adapter stop
- ordner löschen
- git install
- stick wieder drinstecken
-
@dos1973 jo
-
@arteck
leider nicht erfolgreich.
ich habe bis jetzt nichts an den Rechte o.ä versucht.Habe nur in den Einstellungen den COM Anschlußnahmen ausgewählt --> /dev/ttyACM0
zigbee.0 2020-03-27 10:55:53.721 error (16039) Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/zn zigbee.0 2020-03-27 10:55:53.719 error (16039) Failed to start Zigbee zigbee.0 2020-03-27 10:55:53.495 info (16039) Starting Zigbee... zigbee.0 2020-03-27 10:55:53.494 info (16039) Try to reconnect. 1 attempts left zigbee.0 2020-03-27 10:55:43.494 error at binding.open.then.err (/opt/iobroker/node_modules/@serialport/stream/lib/index.js:242:12) zigbee.0 2020-03-27 10:55:43.494 error at SerialPort._error (/opt/iobroker/node_modules/@serialport/stream/lib/index.js:198:14) zigbee.0 2020-03-27 10:55:43.494 error at SerialPort.serialPort.open (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:111:49) zigbee.0 2020-03-27 10:55:43.494 error at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:4:12) zigbee.0 2020-03-27 10:55:43.494 error at new Promise (<anonymous>) zigbee.0 2020-03-27 10:55:43.494 error at /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:8:71 zigbee.0 2020-03-27 10:55:43.494 error at Generator.next (<anonymous>) zigbee.0 2020-03-27 10:55:43.494 error at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:113:32) zigbee.0 2020-03-27 10:55:43.494 error (16039) Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0' zigbee.0 2020-03-27 10:55:43.493 error (16039) Failed to start Zigbee zigbee.0 2020-03-27 10:55:43.144 info (16039) Starting Zigbee... zigbee.0 2020-03-27 10:55:43.114 info (16039) starting. Version 1.0.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.18.1 host.iobroker 2020-03-27 10:55:40.831 info instance system.adapter.zigbee.0 started with pid 16039 host.iobroker 2020-03-27 10:55:40.812 info "system.adapter.zigbee.0" enabled host.iobroker 2020-03-27 10:55:39.647 info instance system.adapter.zigbee.0 terminated with code 156 (156) host.iobroker 2020-03-27 10:55:39.647 error Caught by controller[2]: (node:15673) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proc host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[1]: (node:15673) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:7226:22) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at Zigbee.emit (events.js:198:13) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:320:41) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:302:20) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:186:42) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:123:43) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:200:49) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:215:31) host.iobroker 2020-03-27 10:55:39.646 error Caught by controller[0]: at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:16) host.iobroker 2020-03-27 10:55:39.645 error Caught by controller[0]: at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:200:55) host.iobroker 2020-03-27 10:55:39.645 error Caught by controller[0]: (node:15673) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getEntries' of null zigbee.0 2020-03-27 10:55:39.111 info (15673) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason zigbee.0 2020-03-27 10:55:39.110 info (15673) terminating zigbee.0 2020-03-27 10:55:39.110 error at process._tickCallback (internal/process/next_tick.js:68:7)) zigbee.0 2020-03-27 10:55:39.110 error at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:306:33) zigbee.0 2020-03-27 10:55:39.110 error at Controller.stop (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:166:16) zigbee.0 2020-03-27 10:55:39.110 error at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:4:12) zigbee.0 2020-03-27 10:55:39.110 error at new Promise (<anonymous>) zigbee.0 2020-03-27 10:55:39.110 error at /opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:8:71 zigbee.0 2020-03-27 10:55:39.110 error at Generator.next (<anonymous>) zigbee.0 2020-03-27 10:55:39.110 error at Controller.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:170:49) zigbee.0 2020-03-27 10:55:39.110 error at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:76:15) zigbee.0 2020-03-27 10:55:39.110 error at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:64:55) zigbee.0 2020-03-27 10:55:39.110 error (15673) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null zigbee.0 2020-03-27 10:55:39.107 info (15673) Zigbee: disabling joining new devices. zigbee.0 2020-03-27 10:55:39.101 info (15673) cleaned everything up...
-
@dos1973 zumindest ist jetzt adapter technisch alles ok
Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0'
ist immer noch dein problem
was sagt
ls -l /dev/serial/by-id
-
@arteck sagte in mal wieder Zigbee - CC2531 USB:
ls -l /dev/serial/by-id
root@iobroker:/opt/iobroker/node_modules# ls -l /dev/serial/by-id ls: Zugriff auf '/dev/serial/by-id' nicht möglich: Datei oder Verzeichnis nicht gefunden root@iobroker:/opt/iobroker/node_modules#
gibt es nicht?!?
-
@dos1973 dann wird der Stick nicht durchgereicht... zumindest nicht bis zum container..
-
@arteck ich boote mal den container durch
-
@arteck
nein, auch ein Reboot hilft nicht./dev/serial/ gibt es nicht.
-
Hinweis .
Der Befehl ... funktioniert nicht bei einer Synology !ls -l /dev/serial/by-id
Hatte ich auch letztens das Problem , obwohl ich schon das neue Image von buanet habe .
Lösche mal die beiden Dateien und starte die Synology neu -
-
nein, auch das funktioniert nicht.
ttyACM0 wurde nach den Neustart wieder angelegt.
Ein chmod 777 darauf bringt auch nichts... (meine das hat u.a früher mal geklappt)zigbee.0 2020-03-27 11:43:48.131 error (2534) Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp zigbee.0 2020-03-27 11:43:48.130 error (2534) Failed to start Zigbee zigbee.0 2020-03-27 11:43:47.887 info (2534) Starting Zigbee... zigbee.0 2020-03-27 11:43:47.886 info (2534) Try to reconnect. 1 attempts left zigbee.0 2020-03-27 11:43:37.885 error at binding.open.then.err (/opt/iobroker/node_modules/@serialport/stream/lib/index.js:242:12) zigbee.0 2020-03-27 11:43:37.885 error at SerialPort._error (/opt/iobroker/node_modules/@serialport/stream/lib/index.js:198:14) zigbee.0 2020-03-27 11:43:37.885 error at SerialPort.serialPort.open (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:111:49) zigbee.0 2020-03-27 11:43:37.885 error at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:4:12) zigbee.0 2020-03-27 11:43:37.885 error at new Promise (<anonymous>) zigbee.0 2020-03-27 11:43:37.885 error at /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:8:71 zigbee.0 2020-03-27 11:43:37.885 error at Generator.next (<anonymous>) zigbee.0 2020-03-27 11:43:37.885 error at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:113:32) zigbee.0 2020-03-27 11:43:37.885 error (2534) Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0' zigbee.0 2020-03-27 11:43:37.884 error (2534) Failed to start Zigbee zigbee.0 2020-03-27 11:43:37.453 info (2534) Starting Zigbee...
-
Hast du das neue Image ( 4.1.0 ) ???
-
@Glasfaser hat sich da nicht was im Docker geändert.. seid letzten update.. ??
-
Ja , seit der Version 4.1.0 braucht nichts gemacht werden , wird ja mit dem Eintrag im Container Docker erledigt ( Bild siehe oben ).
Funktioniert auch zu 100 % -
puh, wie bekomme ich das raus?
lädt er das nicht automatisch - wenn latest drin ist?
-
Hier wird die Version angezeigt :