Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Sonoff Zigbee Stick im Adapter nicht erkannt

    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

    Sonoff Zigbee Stick im Adapter nicht erkannt

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @vqe17235 last edited by

      @vqe17235 sagte in Sonoff Zigbee Stick im Adapter nicht erkannt:

      die firmware habe ich bisher nicht angefasst. kann ich die am raspberry auslesen?

      Bei einem 'ordentlichen' Start des Sticks/Adapters wird die ausgeworfen.
      Schaut dann so aus:

      2022-05-16 18:32:39.467  - info: zigbee.0 (37350) starting. Version 1.6.18 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.1.0, js-controller: 4.0.23
      2022-05-16 18:32:39.579  - info: zigbee.0 (37350) Starting Zigbee  npm ...
      2022-05-16 18:32:40.168  - info: zigbee.0 (37350) Installed Version: iobroker.zigbee@1.6.18
      2022-05-16 18:32:51.303  - info: zigbee.0 (37350) Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20220507}}
      2022-05-16 18:32:51.311  - info: zigbee.0 (37350) Unable to disable LED, unsupported function.
      2022-05-16 18:32:51.327  - info: zigbee.0 (37350)   --> transmitPower : normal
      2022-05-16 18:32:51.335  - info: zigbee.0 (37350) Currently no devices.
      2022-05-16 18:32:51.336  - info: zigbee.0 (37350) Zigbee started
      

      Hier steht der Stick inkl. Flash-Anleitung dabei:
      https://www.zigbee2mqtt.io/guide/adapters/#recommended

      1 Reply Last reply Reply Quote 0
      • V
        vqe17235 last edited by

        Ich habe die Firmware hier installiert:
        Z-Stack_3.x.0

        Der Stick wird jetzt so erkannt:

        pi@raspberrypi:~ $ ls -la /dev/serial/by-id
        insgesamt 0
        drwxr-xr-x 2 root root 60 17. Mai 16:12 .
        drwxr-xr-x 4 root root 80 17. Mai 16:12 ..
        lrwxrwxrwx 1 root root 13 17. Mai 16:12 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_24523334e35fec1192ca385f25bfaa52-if00-port0 -> ../../ttyUSB0
        

        Und eingestellt ist der so:
        bd6cf137-3b45-4dcb-bf7e-2a5f6c4eb0bf-image.png

        Das Log sagt folgendes:

        2022-05-17 16:20:35.935  - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
        2022-05-17 16:20:38.402  - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 1960
        2022-05-17 16:20:38.402  - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 1960
        2022-05-17 16:20:40.790  - debug: zigbee.0 (1960) Redis Objects: Use Redis connection: 127.0.0.1:9001
        2022-05-17 16:20:40.847  - debug: zigbee.0 (1960) Objects client ready ... initialize now
        2022-05-17 16:20:40.850  - debug: zigbee.0 (1960) Objects create System PubSub Client
        2022-05-17 16:20:40.852  - debug: zigbee.0 (1960) Objects create User PubSub Client
        2022-05-17 16:20:40.911  - debug: zigbee.0 (1960) Objects client initialize lua scripts
        2022-05-17 16:20:40.918  - debug: zigbee.0 (1960) Objects connected to redis: 127.0.0.1:9001
        2022-05-17 16:20:40.953  - debug: zigbee.0 (1960) Redis States: Use Redis connection: 127.0.0.1:9000
        2022-05-17 16:20:40.971  - debug: zigbee.0 (1960) States create System PubSub Client
        2022-05-17 16:20:40.972  - debug: zigbee.0 (1960) States create User PubSub Client
        2022-05-17 16:20:41.012  - debug: zigbee.0 (1960) States connected to redis: 127.0.0.1:9000
        2022-05-17 16:20:41.123  - debug: zigbee.0 (1960) Plugin sentry Initialize Plugin (enabled=true)
        2022-05-17 16:20:41.492  - info: zigbee.0 (1960) starting. Version 1.6.18 in /opt/iobroker/node_modules/iobroker.zigbee, node: v14.19.2, js-controller: 4.0.23
        2022-05-17 16:20:41.534  - debug: zigbee.0 (1960) Using zigbee-herdsman with settings: {"network":{"panID":6754,"channelList":[11],"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"extenedPanID":[88,242,222,188,90,137,132,21]},"databasePath":"/opt/iobroker/iobroker-data/zigbee_0/shepherd.db","backupPath":"/opt/iobroker/iobroker-data/zigbee_0/nvbackup.json","serialPort":{"baudRate":115200,"rtscts":false,"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_24523334e35fec1192ca385f25bfaa52-if00-port0","adapter":"zstack"},"adapter":{"forceStartWithInconsistentAdapterConfiguration":false}}
        2022-05-17 16:20:41.591  - info: zigbee.0 (1960) Starting Zigbee  npm ...
        2022-05-17 16:20:41.592  - debug: zigbee.0 (1960) Starting zigbee-herdsman...
        2022-05-17 16:20:42.096  - debug: zigbee.0 (1960) Backup /opt/iobroker/iobroker-data/zigbee_0/backup_2022_05_17-16_20_41.tar.gz success
        2022-05-17 16:20:42.105  - info: zigbee.0 (1960) Installed Version: iobroker.zigbee@1.6.18
        2022-05-17 16:20:40.790  - debug: zigbee.0 (1960) Redis Objects: Use Redis connection: 127.0.0.1:9001
        2022-05-17 16:20:40.847  - debug: zigbee.0 (1960) Objects client ready ... initialize now
        2022-05-17 16:20:40.850  - debug: zigbee.0 (1960) Objects create System PubSub Client
        2022-05-17 16:20:40.852  - debug: zigbee.0 (1960) Objects create User PubSub Client
        2022-05-17 16:20:40.911  - debug: zigbee.0 (1960) Objects client initialize lua scripts
        2022-05-17 16:20:40.918  - debug: zigbee.0 (1960) Objects connected to redis: 127.0.0.1:9001
        2022-05-17 16:20:40.953  - debug: zigbee.0 (1960) Redis States: Use Redis connection: 127.0.0.1:9000
        2022-05-17 16:20:40.971  - debug: zigbee.0 (1960) States create System PubSub Client
        2022-05-17 16:20:40.972  - debug: zigbee.0 (1960) States create User PubSub Client
        2022-05-17 16:20:41.012  - debug: zigbee.0 (1960) States connected to redis: 127.0.0.1:9000
        2022-05-17 16:20:41.123  - debug: zigbee.0 (1960) Plugin sentry Initialize Plugin (enabled=true)
        2022-05-17 16:20:41.492  - info: zigbee.0 (1960) starting. Version 1.6.18 in /opt/iobroker/node_modules/iobroker.zigbee, node: v14.19.2, js-controller: 4.0.23
        2022-05-17 16:20:41.534  - debug: zigbee.0 (1960) Using zigbee-herdsman with settings: {"network":{"panID":6754,"channelList":[11],"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"extenedPanID":[88,242,222,188,90,137,132,21]},"databasePath":"/opt/iobroker/iobroker-data/zigbee_0/shepherd.db","backupPath":"/opt/iobroker/iobroker-data/zigbee_0/nvbackup.json","serialPort":{"baudRate":115200,"rtscts":false,"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_24523334e35fec1192ca385f25bfaa52-if00-port0","adapter":"zstack"},"adapter":{"forceStartWithInconsistentAdapterConfiguration":false}}
        2022-05-17 16:20:41.591  - info: zigbee.0 (1960) Starting Zigbee  npm ...
        2022-05-17 16:20:41.592  - debug: zigbee.0 (1960) Starting zigbee-herdsman...
        2022-05-17 16:20:42.096  - debug: zigbee.0 (1960) Backup /opt/iobroker/iobroker-data/zigbee_0/backup_2022_05_17-16_20_41.tar.gz success
        2022-05-17 16:20:42.105  - info: zigbee.0 (1960) Installed Version: iobroker.zigbee@1.6.18
        2022-05-17 16:21:02.289  - error: zigbee.0 (1960) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
        2022-05-17 16:21:02.290  - error: zigbee.0 (1960) Failed to start Zigbee
        2022-05-17 16:21:02.290  - error: zigbee.0 (1960) Error herdsman start
        2022-05-17 16:21:02.289  - error: zigbee.0 (1960) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
        2022-05-17 16:21:02.290  - error: zigbee.0 (1960) Failed to start Zigbee
        2022-05-17 16:21:02.290  - error: zigbee.0 (1960) Error herdsman start
        2022-05-17 16:21:12.293  - info: zigbee.0 (1960) Try to reconnect. 1 attempts left
        2022-05-17 16:21:12.295  - info: zigbee.0 (1960) Starting Zigbee  npm ...
        2022-05-17 16:21:12.296  - debug: zigbee.0 (1960) Starting zigbee-herdsman...
        2022-05-17 16:21:12.319  - info: zigbee.0 (1960) Installed Version: iobroker.zigbee@1.6.18
        2022-05-17 16:21:12.564  - error: zigbee.0 (1960) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
        2022-05-17 16:21:12.565  - error: zigbee.0 (1960) Failed to start Zigbee
        2022-05-17 16:21:12.566  - error: zigbee.0 (1960) Error herdsman start
        2022-05-17 16:21:12.293  - info: zigbee.0 (1960) Try to reconnect. 1 attempts left
        2022-05-17 16:21:12.295  - info: zigbee.0 (1960) Starting Zigbee  npm ...
        2022-05-17 16:21:12.296  - debug: zigbee.0 (1960) Starting zigbee-herdsman...
        2022-05-17 16:21:12.319  - info: zigbee.0 (1960) Installed Version: iobroker.zigbee@1.6.18
        2022-05-17 16:21:12.564  - error: zigbee.0 (1960) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
        2022-05-17 16:21:12.565  - error: zigbee.0 (1960) Failed to start Zigbee
        2022-05-17 16:21:12.566  - error: zigbee.0 (1960) Error herdsman start
        
        

        Das Flashen wurde mit einer erfolgreichen Meldung beendet. Kann man das sonst noch irgendwie kontrollieren?

        NWH 1 Reply Last reply Reply Quote 0
        • NWH
          NWH @vqe17235 last edited by

          @vqe17235 @Thomas-Braun
          Ich möchte den Sonoff auf meinem Nas Synology zum laufen bringen.
          IOB läuft im docker am Nas.
          Wenn ich das alles mache kommt bei mir immer die Fehlermeldung

          Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'"
          

          Was kann ich machen damit der Stick läuft.
          Mit dem Pfad betreibe ich einen Conbee USB2 Stick

          /dev/ttyACM0
          

          Da läuft es auf anhieb.

          Kann mir wer helfen das der Sonnoff auch läuft?

          Asgothian Thomas Braun 2 Replies Last reply Reply Quote 0
          • Asgothian
            Asgothian Developer @NWH last edited by

            @nwh sagte in Sonoff Zigbee Stick im Adapter nicht erkannt:

            Wenn ich das alles mache kommt bei mir immer die Fehlermeldung

            Poste bitte mal alle Meldungen ab Startversuch des Adapters. Ich gehe davon aus das es weiter vorne noch weitere Meldungen gibt.

            A.

            NWH 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @NWH last edited by

              @nwh sagte in Sonoff Zigbee Stick im Adapter nicht erkannt:

              No such file or directory, cannot open /dev/ttyACM0

              Das dürfte der Wahrheit entsprechen. Die Sticks werden i. d. R. nach /dev/ttyUSB0 gehängt. Aur 'richtigen' Systemen kann man das mit

              ls -l /dev/serial/by-id
              

              sehen. Schaut bei mir so aus:

              [grothesk@manjaro ~]$ ls -l /dev/serial/by-id/
              insgesamt 0
              lrwxrwxrwx 1 root root 13 29. Apr 15:27 usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0 -> ../../ttyUSB0
              

              Aber auf dem synology/docker-Krempel funktioniert das wohl so nicht. Muss dir wer anders helfen.

              1 Reply Last reply Reply Quote 0
              • NWH
                NWH @Asgothian last edited by

                @asgothian

                Bitte sehr

                
                zigbee.0
                2022-05-28 21:22:03.420	error	Error herdsman start
                
                zigbee.0
                2022-05-28 21:22:03.420	error	Failed to start Zigbee
                
                zigbee.0
                2022-05-28 21:22:03.419	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'"
                
                zigbee.0
                2022-05-28 21:21:53.414	error	Error herdsman start
                
                zigbee.0
                2022-05-28 21:21:53.414	error	Failed to start Zigbee
                
                zigbee.0
                2022-05-28 21:21:53.414	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'"
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @NWH last edited by

                  @nwh

                  Der Start des Adapters ist länger. Schaut so oder ähnlich aus:

                  2022-05-28 21:25:35.780  - info: host.chet instance system.adapter.zigbee.0 started with pid 15887
                  2022-05-28 21:25:39.429  - info: zigbee.0 (15887) starting. Version 1.7.1 (non-npm: ioBroker/ioBroker.zigbee#a68170f00c76dc216c66d64404c374dc768a02b1) in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.2.0, js-controller: 4.0.23
                  2022-05-28 21:25:39.494  - info: zigbee.0 (15887) internal Backups are disabled
                  2022-05-28 21:25:39.500  - info: zigbee.0 (15887) Starting Zigbee  npm ...
                  2022-05-28 21:25:40.050  - info: zigbee.0 (15887) Installed Version: ioBroker/ioBroker.zigbee#a68170f00c76dc216c66d64404c374dc768a02b1
                  2022-05-28 21:25:51.022  - info: zigbee.0 (15887) Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20220507}}
                  2022-05-28 21:25:51.035  - info: zigbee.0 (15887) Unable to disable LED, unsupported function.
                  2022-05-28 21:25:51.059  - info: zigbee.0 (15887)   --> transmitPower : normal
                  2022-05-28 21:25:51.070  - info: zigbee.0 (15887) Currently no devices.
                  2022-05-28 21:25:51.072  - info: zigbee.0 (15887) Zigbee started
                  
                  NWH 1 Reply Last reply Reply Quote 0
                  • NWH
                    NWH @Thomas Braun last edited by

                    @thomas-braun Wo sehe ich das? Im Protokollfenster oder?

                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @NWH last edited by Thomas Braun

                      @nwh

                      Ich schau dazu in einem Terminal direkt ins log.

                      iobroker logs --watch | uniq
                      
                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @NWH last edited by

                        @nwh

                        Ich weiß nicht ob das beim Docker auch funktioniert, aber mach ein weiteres Terminal auf und dann mit

                        dmesg -wT
                        

                        schauen was passiert wenn der Stick ausgesteckt wird und nach einer Minute wieder eingestöpselt wird.

                        NWH 1 Reply Last reply Reply Quote 0
                        • NWH
                          NWH @Thomas Braun last edited by

                          @thomas-braun
                          Das geht nicht im Terminal vom docker bzw. kenne ich mich dabei zu wenig aus.

                          Aber das habe ich jetzt aus den Protokoll.

                          
                          zigbee.0
                          2022-05-28 21:33:22.470	info	Installed Version: iobroker.zigbee@1.6.18
                          zigbee.0
                          2022-05-28 21:33:22.464	error	Error herdsman start
                          zigbee.0
                          2022-05-28 21:33:22.463	error	Failed to start Zigbee
                          zigbee.0
                          2022-05-28 21:33:22.463	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'"
                          zigbee.0
                          2022-05-28 21:33:22.462	debug	zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with /dev/ttyACM0 and {"baudRate":115200,"rtscts":false,"autoOpen":false}
                          zigbee.0
                          2022-05-28 21:33:22.462	debug	zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6748,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[15],"extenedPanID":[255,221,221,221,221,221,221,170]},"serialPort":{"baudRate":115200,"rtscts":false,"path":"/dev/ttyACM0","adapter":"zstack"},"databasePath":"/opt/iobroker/iobroker-data/zigbee_0/shepherd.db","databaseBackupPath":null,"backupPath":"/opt/iobroker/iobroker-data/zigbee_0/nvbackup.json","adapter":{"disableLED":false,"forceStartWithInconsistentAdapterConfiguration":false},"acceptJoiningDeviceHandler":null}'
                          zigbee.0
                          2022-05-28 21:33:22.461	debug	zigbee-herdsman:adapter:zStack:znp:error Failed to determine if path is valid: 'Error: ENOENT: no such file or directory, lstat '/dev/ttyACM0''
                          zigbee.0
                          2022-05-28 21:33:22.460	debug	Starting zigbee-herdsman...
                          zigbee.0
                          2022-05-28 21:33:22.459	info	Starting Zigbee npm ...
                          zigbee.0
                          2022-05-28 21:33:22.459	info	Try to reconnect. 1 attempts left
                          
                          1 Reply Last reply Reply Quote 0
                          • NWH
                            NWH @Asgothian last edited by

                            @asgothian Kann es sein, dass es daran liegt, dass ich mit der gleichen Instanz, allerdings habe ich den Stick gewechselt.
                            Andere Frage, ich habe jetzt alles gelöscht (Instanz und Objekte), aber wenn ich wieder eine "zigbee" Instanz installiere und wieder den Conbee2 nehme sind alle angelernten Geräte wieder da. Allerdings steht bei jedem Gerät undefined. Ich kann diese auch nicht umbenennen. Zuvor ging das !
                            Muss was in im Ordner "Iobroker_Data" gelöscht werden?

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            951
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            4
                            23
                            1583
                            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