Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee Adapter Failed to start

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Zigbee Adapter Failed to start

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      skylike last edited by

      Systemdata Bitte Ausfüllen
      Hardwaresystem: RasPi 4 B
      Arbeitsspeicher: 2GB
      Festplattenart: SD-Karte
      Betriebssystem: Raspbian Buster
      Node-Version: 10.19.0
      Nodejs-Version: 10.19.0
      NPM-Version: 6.14.4
      Installationsart: Manuell
      Image genutzt: Ja
      Ort/Name der Imagedatei: https://www.raspberrypi.org/downloads/raspbian/

      Hi,
      leider kreige ich den ZigBee Adapter nicht komplett ans Laufen.

      In den Pi habe ich den CC2531 Stick gepackt (aktuell USB 3 Port). Dieser wird auch als solches erkannt:
      13:36 usb-Texas_Instruments_TI_CC2531_USB_CDC___0XF830021BD181FFFF-if00 -> ../../ttyACM0

      Installiert hatte ich bereits ZigBee 1.0.3, 1.0.0 und zuletzt auch 1.0.4 per npm. Am Ende scheitert es immer mit folgenden Logeinträgen:

      host.SmartHome	2020-04-07 14:32:03.366	info	Restart adapter system.adapter.zigbee.0 because enabled
      host.SmartHome	2020-04-07 14:24:25.399	info	Update repository "default" under "http://download.iobroker.net/sources-dist.json"
      host.SmartHome	2020-04-07 14:24:21.910	info	Restart adapter system.adapter.zigbee.0 because enabled
      host.SmartHome	2020-04-07 14:24:21.910	error	instance system.adapter.zigbee.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      host.SmartHome	2020-04-07 14:24:21.909	error	Caught by controller[2]: (node:16127) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proce
      host.SmartHome	2020-04-07 14:24:21.909	error	Caught by controller[1]: (node:16127) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by r
      host.SmartHome	2020-04-07 14:24:21.909	error	Caught by controller[0]: at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:7226:22)
      host.SmartHome	2020-04-07 14:24:21.908	error	Caught by controller[0]: at Zigbee.emit (events.js:198:13)
      host.SmartHome	2020-04-07 14:24:21.908	error	Caught by controller[0]: at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:317:41)
      host.SmartHome	2020-04-07 14:24:21.904	error	Caught by controller[0]: at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:293:20)
      host.SmartHome	2020-04-07 14:24:21.904	error	Caught by controller[0]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:181:42)
      host.SmartHome	2020-04-07 14:24:21.903	error	Caught by controller[0]: at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:123:43)
      host.SmartHome	2020-04-07 14:24:21.903	error	Caught by controller[0]: at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:195:49)
      host.SmartHome	2020-04-07 14:24:21.903	error	Caught by controller[0]: at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:216:31)
      host.SmartHome	2020-04-07 14:24:21.902	error	Caught by controller[0]: at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:16)
      host.SmartHome	2020-04-07 14:24:21.902	error	Caught by controller[0]: at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:200:55)
      host.SmartHome	2020-04-07 14:24:21.901	error	Caught by controller[0]: (node:16127) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getEntries' of null
      zigbee.0	2020-04-07 14:24:20.039	warn	(16127) Got terminate signal. Checking desired PID: 16312 vs own PID 16127
      zigbee.0	2020-04-07 14:24:20.016	info	(16127) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
      zigbee.0	2020-04-07 14:24:20.014	info	(16127) terminating
      zigbee.0	2020-04-07 14:24:20.013	error	(16127) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.
      zigbee.0	2020-04-07 14:24:20.008	info	(16127) Zigbee: disabling joining new devices.
      zigbee.0	2020-04-07 14:24:19.998	info	(16127) cleaned everything up...
      zigbee.0	2020-04-07 14:24:19.995	warn	(16127) Got terminate signal. Checking desired PID: 0 vs own PID 16127
      host.SmartHome	2020-04-07 14:24:19.991	info	instance system.adapter.zigbee.0 started with pid 16312
      zigbee.0	2020-04-07 14:24:17.329	error	(16127) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/z
      zigbee.0	2020-04-07 14:24:17.327	error	(16127) Failed to start Zigbee
      zigbee.0	2020-04-07 14:24:12.033	debug	(16127) Starting zigbee-herdsman...
      zigbee.0	2020-04-07 14:24:12.033	info	(16127) Starting Zigbee...
      zigbee.0	2020-04-07 14:24:12.032	info	(16127) Try to reconnect. 1 attempts left
      zigbee.0	2020-04-07 14:24:02.028	error	(16127) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStack
      zigbee.0	2020-04-07 14:24:02.027	error	(16127) Failed to start Zigbee
      host.SmartHome	2020-04-07 14:23:49.973	info	Restart adapter system.adapter.zigbee.0 because enabled
      host.SmartHome	2020-04-07 14:23:49.972	error	instance system.adapter.zigbee.0 terminated with code 156 (156)
      zigbee.0	2020-04-07 14:23:48.245	debug	(16127) Starting zigbee-herdsman...
      zigbee.0	2020-04-07 14:23:48.243	info	(16127) Starting Zigbee...
      zigbee.0	2020-04-07 14:23:48.209	info	(16127) starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.19.0
      host.SmartHome	2020-04-07 14:23:46.040	info	instance system.adapter.zigbee.0 started with pid 16127
      

      Im ZigBee Adapter hatte ich unter dem COM-Anschluss bereits den komplett Pfad angeben als auch "/dev/ttyACM0". Fehler bleibt der gleiche.
      Weiterhin habe ich "sudo chmod 777 /dev/ttyACM0" eingeben, ebenfalls ohne Erfolg. Nachdem ich bereits einige Threads durchgearbeitet habe und mehrmals den Adapter deinstalliert und installiert habe, weiß ich nicht mehr weiter.

      Würde mich freuen wenn jemand eine Idee hat woran es liegen könnte, aus dem Log werde ich auch nicht weiter schlau.

      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        @skylike sagte in Zigbee Adapter Failed to start:

        instance system.adapter.zigbee.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)

        1 Reply Last reply Reply Quote 0
        • hg6806
          hg6806 Most Active last edited by

          Hallo,

          ich hänge mich mal hier dran, denn mein Zigbee läuft an einem USB-Hub auch nur ganz selten.
          Hier das Debug-Log.
          Vielleicht kann ja jemand ein paar Tipps geben.

          zigbee.0	2020-04-07 20:32:06.553	error	(8457) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/zn
          zigbee.0	2020-04-07 20:32:06.552	error	(8457) Failed to start Zigbee
          zigbee.0	2020-04-07 20:32:06.360	debug	(8457) Starting zigbee-herdsman...
          zigbee.0	2020-04-07 20:32:06.360	info	(8457) Starting Zigbee...
          zigbee.0	2020-04-07 20:32:06.359	info	(8457) Try to reconnect. 1 attempts left
          zigbee.0	2020-04-07 20:31:56.356	error	(8457) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackA
          zigbee.0	2020-04-07 20:31:56.355	error	(8457) Failed to start Zigbee
          zigbee.0	2020-04-07 20:31:49.037	debug	(8457) Starting zigbee-herdsman...
          zigbee.0	2020-04-07 20:31:49.036	info	(8457) Starting Zigbee...
          zigbee.0	2020-04-07 20:31:48.999	info	(8457) starting. Version 1.0.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.19.0
          zigbee.0	2020-04-07 20:31:42.743	info	(7714) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
          zigbee.0	2020-04-07 20:31:42.741	info	(7714) terminating
          zigbee.0	2020-04-07 20:31:42.740	error	at process._tickCallback (internal/process/next_tick.js:68:7))
          zigbee.0	2020-04-07 20:31:42.740	error	at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:297:33)
          zigbee.0	2020-04-07 20:31:42.740	error	at Controller.stop (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:169:16)
          zigbee.0	2020-04-07 20:31:42.740	error	at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:4:12)
          zigbee.0	2020-04-07 20:31:42.740	error	at new Promise (<anonymous>)
          zigbee.0	2020-04-07 20:31:42.740	error	at /opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:8:71
          zigbee.0	2020-04-07 20:31:42.740	error	at Generator.next (<anonymous>)
          zigbee.0	2020-04-07 20:31:42.740	error	at Controller.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:173:49)
          zigbee.0	2020-04-07 20:31:42.740	error	at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:76:15)
          zigbee.0	2020-04-07 20:31:42.740	error	at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:64:55)
          zigbee.0	2020-04-07 20:31:42.740	error	(7714) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null
          zigbee.0	2020-04-07 20:31:42.730	info	(7714) Zigbee: disabling joining new devices.
          zigbee.0	2020-04-07 20:31:42.724	info	(7714) cleaned everything up...
          zigbee.0	2020-04-07 20:31:42.721	info	(7714) Got terminate signal TERMINATE_YOURSELF
          
          arteck 1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active @hg6806 last edited by

            @hg6806 sagte in Zigbee Adapter Failed to start:

            Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'

            1 Reply Last reply Reply Quote 0
            • hg6806
              hg6806 Most Active last edited by

              OK, was heißt das? Er kann den Stick nicht finden?

              arteck 1 Reply Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active @hg6806 last edited by

                @hg6806 der seriall port ist besetzt.. starte mal die kiste neu .. was läuft da sonst noch druff?

                hg6806 1 Reply Last reply Reply Quote 0
                • hg6806
                  hg6806 Most Active @arteck last edited by

                  @arteck
                  COM Ports? Ich kenne das unter Windows, diese sind oft blockiert, kann man aber irgdndwie "freischaufeln".
                  Habe den Pi4 mal neu gestartet, wirft aber den gleichen Fehler aus.
                  An dem Pi hängen 2 IR-Smartmeter, eine USB3-SSD und ein 4-fach-USB-Hub woran dann ein BLE5.0 Stick und der CC2531 Zigbee Stick dran ist.

                  arteck 1 Reply Last reply Reply Quote 1
                  • arteck
                    arteck Developer Most Active @hg6806 last edited by arteck

                    @hg6806 sagte in Zigbee Adapter Failed to start:

                    BLE5.0 Stick

                    der blockiert den

                    aber zeigmal

                    ls -l /dev/serial/by-id
                    
                    1 Reply Last reply Reply Quote 0
                    • hg6806
                      hg6806 Most Active last edited by

                      Here it is:

                      
                      root@raspberrypi:~# ls -l /dev/serial/by-id
                      insgesamt 0
                      lrwxrwxrwx 1 root root 13 Apr  9 10:53 usb-Silicon_Labs_CP2104_USB_to_UART_Bridg            e_Controller_01304FAA-if00-port0 -> ../../ttyUSB1
                      lrwxrwxrwx 1 root root 13 Apr  9 10:53 usb-Silicon_Labs_CP2104_USB_to_UART_Bridg            e_Controller_01304FAE-if00-port0 -> ../../ttyUSB0
                      lrwxrwxrwx 1 root root 13 Apr  9 10:53 usb-Texas_Instruments_TI_CC2531_USB_CDC__            _0X00124B00194AD7E3-if00 -> ../../ttyACM0
                      root@raspberrypi:~#
                      
                      
                      
                      
                      arteck 1 Reply Last reply Reply Quote 0
                      • arteck
                        arteck Developer Most Active @hg6806 last edited by

                        @hg6806 wo ist der BLE??

                        1 Reply Last reply Reply Quote 0
                        • hg6806
                          hg6806 Most Active last edited by

                          Das frage ich mich auch. Zumindest ist der BLE Adapter grün und zwei BLE Sensoren liefern aktuelle Daten.

                          1 Reply Last reply Reply Quote 0
                          • hg6806
                            hg6806 Most Active last edited by

                            Bin leider noch nicht weitergekommen.
                            Folgendes habe ich probiert:

                            root@raspberrypi:~# hciconfig
                            hci1:   Type: Primary  Bus: UART
                                    BD Address: DC:A6:32:0A:73:B3  ACL MTU: 1021:8  SCO MTU: 64:1
                                    UP RUNNING
                                    RX bytes:8525625 acl:0 sco:0 events:234932 errors:0
                                    TX bytes:1374 acl:0 sco:0 commands:59 errors:0
                            
                            hci0:   Type: Primary  Bus: USB
                                    BD Address: 00:1A:7D:DA:71:11  ACL MTU: 679:9  SCO MTU: 48:16
                                    DOWN
                                    RX bytes:1148 acl:0 sco:0 events:60 errors:0
                                    TX bytes:736 acl:0 sco:0 commands:60 errors:0
                            
                            root@raspberrypi:~# lsusb
                            Bus 002 Device 002: ID 174c:5136 ASMedia Technology Inc. ASM1053 SATA 3Gb/s bridge
                            Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                            Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
                            Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
                            Bus 001 Device 007: ID 0451:16a8 Texas Instruments, Inc.
                            Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
                            Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
                            Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
                            Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                            root@raspberrypi:~# bluetoothctl
                            Agent registered
                            [bluetooth]# scan on
                            Discovery started
                            [CHG] Controller DC:A6:32:0A:73:B3 Discovering: yes
                            [NEW] Device E7:2E:00:D3:20:42 LYWSD02
                            
                            

                            Dann den BLE Stick entfernt, BLE Adapter gestoppt und den Pi neu gestartet.

                            Zigbee bleibt gelb, Debug-Log:

                            
                            zigbee.0	2020-04-12 10:12:53.178	error	(2063) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/zn
                            zigbee.0	2020-04-12 10:12:53.176	error	(2063) Failed to start Zigbee
                            zigbee.0	2020-04-12 10:12:52.979	debug	(2063) Starting zigbee-herdsman...
                            zigbee.0	2020-04-12 10:12:52.979	info	(2063) Starting Zigbee...
                            zigbee.0	2020-04-12 10:12:52.978	info	(2063) Try to reconnect. 1 attempts left
                            zigbee.0	2020-04-12 10:12:42.977	error	(2063) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackA
                            zigbee.0	2020-04-12 10:12:42.974	error	(2063) Failed to start Zigbee
                            zigbee.0	2020-04-12 10:12:35.663	debug	(2063) Starting zigbee-herdsman...
                            zigbee.0	2020-04-12 10:12:35.661	info	(2063) Starting Zigbee...
                            zigbee.0	2020-04-12 10:12:35.627	info	(2063) starting. Version 1.0.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.19.0
                            zigbee.0	2020-04-12 10:12:13.440	info	(1823) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                            zigbee.0	2020-04-12 10:12:13.439	info	(1823) terminating
                            zigbee.0	2020-04-12 10:12:13.438	error	at process._tickCallback (internal/process/next_tick.js:68:7))
                            zigbee.0	2020-04-12 10:12:13.438	error	at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:297:33)
                            zigbee.0	2020-04-12 10:12:13.438	error	at Controller.stop (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:169:16)
                            zigbee.0	2020-04-12 10:12:13.438	error	at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:4:12)
                            zigbee.0	2020-04-12 10:12:13.438	error	at new Promise (<anonymous>)
                            zigbee.0	2020-04-12 10:12:13.438	error	at /opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:8:71
                            zigbee.0	2020-04-12 10:12:13.438	error	at Generator.next (<anonymous>)
                            zigbee.0	2020-04-12 10:12:13.438	error	at Controller.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:173:49)
                            zigbee.0	2020-04-12 10:12:13.438	error	at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:76:15)
                            zigbee.0	2020-04-12 10:12:13.438	error	at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:64:55)
                            zigbee.0	2020-04-12 10:12:13.438	error	(1823) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null
                            zigbee.0	2020-04-12 10:12:13.434	info	(1823) Zigbee: disabling joining new devices.
                            zigbee.0	2020-04-12 10:12:13.417	info	(1823) cleaned everything up...
                            zigbee.0	2020-04-12 10:12:13.415	info	(1823) Got terminate signal TERMINATE_YOURSELF
                            

                            Hier noch weitere Konsolenbefehle:

                            root@raspberrypi:~# ls -l /dev/serial/by-id
                            insgesamt 0
                            lrwxrwxrwx 1 root root 13 Apr 12 10:08 usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_01304FAA-if00-port0 -> ../../ttyUSB1
                            lrwxrwxrwx 1 root root 13 Apr 12 10:08 usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_01304FAE-if00-port0 -> ../../ttyUSB0
                            lrwxrwxrwx 1 root root 13 Apr 12 10:08 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00194AD7E3-if00 -> ../../ttyACM0
                            root@raspberrypi:~# lsusb
                            Bus 002 Device 002: ID 174c:5136 ASMedia Technology Inc. ASM1053 SATA 3Gb/s bridge
                            Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                            Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
                            Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
                            Bus 001 Device 005: ID 0451:16a8 Texas Instruments, Inc.
                            Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
                            Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
                            Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                            root@raspberrypi:~#
                            
                            
                            

                            Was kann ich noch tun?

                            1 Reply Last reply Reply Quote 0
                            • mickym
                              mickym Most Active last edited by mickym

                              Ich glaube - dass wir das gleiche Problem haben: https://forum.iobroker.net/topic/32137/zigbee-cc2531-stick-beim-hochfahren-des-adapters-disabled

                              Allerdings passiert es nicht immer, wenn auch mit der neuen Version gefühlt häufiger.

                              Bei mir läuft der Adapter jedoch IMMER, wenn ich den Stick im laufenden Betrieb einfach abziehe, dann wieder anstecke und NUR den Adapter neu starte.

                              1 Reply Last reply Reply Quote 0
                              • T
                                toki1973 last edited by

                                @mickym Danke für deine Rückmeldung im anderen Thread. Inzwischen ist der Status wieder grün. Allerdings bekomme ich keine Werte mehr von den Sensoren.

                                mickym 1 Reply Last reply Reply Quote 0
                                • mickym
                                  mickym Most Active @toki1973 last edited by mickym

                                  @toki1973 Hmm - bei mir funktionieren die Sensoren, es ist alles Bestens. Ist denn bei Dir der Adapter alleine auf grün gegangen oder hast Du wie ich mal den Stick abgezogen und wieder angesteckt und dann den Adapter neu gestartet?

                                  1 Reply Last reply Reply Quote 0
                                  • hg6806
                                    hg6806 Most Active last edited by

                                    @mickym So läuft es! Danke!
                                    Also immer erst Stick neu anstecken und Adapter neu starten. Dann wird es grün.
                                    Auch zusammen mit dem BLE.
                                    Wenn man aber den Pi neu startet bleibt Zigbee gelb.

                                    Ich habe das mit BLE mal ausprobiert, der BRAUCHT unbedingt ein Pi Neustart.

                                    Die Frage ist wie kann man das fixen?
                                    Kann man den Zigbee Stick oder den ganzen USB Bus resetten?

                                    mickym 1 Reply Last reply Reply Quote 0
                                    • hg6806
                                      hg6806 Most Active last edited by hg6806

                                      Hier gibt es wohl die Möglichkeit:

                                      Eine Datei usbreset erstellen und dann aufrufen
                                      Link Text

                                      Hab's noch nicht ausprobiert und hoffe es heute Abend mal zu schaffen.

                                      1 Reply Last reply Reply Quote 0
                                      • mickym
                                        mickym Most Active @hg6806 last edited by mickym

                                        @hg6806 said in Zigbee Adapter Failed to start:

                                        @mickym So läuft es! Danke!
                                        Also immer erst Stick neu anstecken und Adapter neu starten. Dann wird es grün.
                                        Auch zusammen mit dem BLE.
                                        Wenn man aber den Pi neu startet bleibt Zigbee gelb.

                                        Ich habe das mit BLE mal ausprobiert, der BRAUCHT unbedingt ein Pi Neustart.

                                        Die Frage ist wie kann man das fixen?
                                        Kann man den Zigbee Stick oder den ganzen USB Bus resetten?

                                        Meines Erachtens wird der Zigbee-Stick ja beim Adapterstart resettet und das ist aber das Problem. Wenn ich die Maschine neu boote wird der Stick resettet und die LED leuchtet. Startet der Adapter geht die LED auf dem Stick aus und dann scheint es bei mir Glücksache zu sein, ob der Adapter den wieder findet oder einen Time-Out bekommt. Jedenfalls geht die LED im Fehlerfall nicht mehr an, bis ich den Adapter physisch neu verbinde.

                                        1 Reply Last reply Reply Quote 0
                                        • hg6806
                                          hg6806 Most Active last edited by

                                          Ja, so ist es wohl.
                                          Habe mal usbreset nach der Anleitung erstellt und ausgeführt.

                                          root@raspberrypi:~# lsusb
                                          Bus 002 Device 002: ID 174c:5136 ASMedia Technology Inc. ASM1053 SATA 3Gb/s brid                                                                                                             ge
                                          Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                          Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109                                                                                                              UART Bridge Controller [CP210x family]
                                          Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109                                                                                                              UART Bridge Controller [CP210x family]
                                          Bus 001 Device 007: ID 0451:16a8 Texas Instruments, Inc.
                                          Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (                                                                                                             HCI mode)
                                          Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
                                          Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
                                          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                          root@raspberrypi:~# usbreset /dev/bus/usb/001/007
                                          Resetting USB device /dev/bus/usb/001/007
                                          Reset successful
                                          
                                          

                                          Stick wurde resettet aber zeigt nach Adapter-Neustart doch noch immer gelb an.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            toki1973 last edited by

                                            Nach entfernen des USB Sticks und Neustart der VM auf dem NUC habe ich zumindest wieder die Instanz grün. Aber die Aktualität der Sensoren wurde nur beim Neustart aktualisiert.
                                            @arteck Wie kann ich denn den Fehler eingrenzen?

                                            Ein direktes ansprechen der Adapter über die Erweiterten Einstellungen hat auch keine Antwort von einem Sensor gebracht.

                                            mickym 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            852
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            zigbee adapter cc2531
                                            10
                                            48
                                            4367
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo