Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. Zigbee adapter stopped running

    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

    Zigbee adapter stopped running

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ap2017 @Asgothian last edited by

      @asgothian
      Not sure how to check which USB port is which, don't know Linux enough.

      Nothing is connected to USB ports except MySensors gateway, Zwave adapter and Zigbee adapter.

      There is certainly a chance that Zigbee adapter failed, but it was working fine for many months, this is not new setup. I think that it uses firmware version 20190608.

      Asgothian 1 Reply Last reply Reply Quote 0
      • A
        ap2017 @Thomas Braun last edited by ap2017

        @thomas-braun
        Thank you found where is PAN-id, changing it caused many new error messages even after reboot, so I restored the default one.

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

          @thomas-braun
          I changed all serial ports definitions with /dev/serial/by-id settings. MySensors and Zwave (USB) adapters work, but Zwave still does not

          2022-07-14 20:45:46.201 - error: zigbee.0 (3605) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
          2022-07-14 20:45:46.202 - error: zigbee.0 (3605) Failed to start Zigbee
          2022-07-14 20:45:46.202 - error: zigbee.0 (3605) Error herdsman start
          
          ap@AP-Tiny:~$ ls -l /dev/serial/by-id
          total 0
          lrwxrwxrwx 1 root root 13 Jul 14 18:07 usb-0658_0200-if00 -> ../../ttyACM0
          lrwxrwxrwx 1 root root 13 Jul 14 20:38 usb-1a86_USB2.0-Serial-if00-port0 -> ../../ttyUSB0
          lrwxrwxrwx 1 root root 13 Jul 14 20:43 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E2EC73-if00 -> ../..                 /ttyACM1
          
          

          f0278359-cf51-413c-9314-d18753da7b1a-image.png

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

            @thomas-braun
            Nobody responded if it is important that serialport version of Zigbee is older than serialport of other adapters (assuming that 9.2.8 is a version number)

            ap@AP-Tiny:/opt/iobroker$ npm list serialport
            [sudo] password for ap:
            iobroker.inst@2.0.3 /opt/iobroker
            ├─┬ iobroker.discovery@3.0.5
            │ └── serialport@10.4.0
            ├─┬ iobroker.mysensors@3.0.0
            │ └── serialport@10.4.0 deduped
            ├─┬ iobroker.zigbee@1.7.5
            │ └─┬ zigbee-herdsman@0.14.34
            │   └── serialport@9.2.8
            └─┬ iobroker.zwave2@2.6.0
              └─┬ zwave-js@9.6.0
                ├─┬ @zwave-js/serial@9.6.0
                │ └── serialport@10.4.0 deduped
                └── serialport@10.4.0 deduped
            
            
            1 Reply Last reply Reply Quote 0
            • Asgothian
              Asgothian Developer @ap2017 last edited by

              @ap2017 sagte in Zigbee adapter stopped running:

              @asgothian
              Not sure how to check which USB port is which, don't know Linux enough.

              Nothing is connected to USB ports except MySensors gateway, Zwave adapter and Zigbee adapter.

              There is certainly a chance that Zigbee adapter failed, but it was working fine for many months, this is not new setup. I think that it uses firmware version 20190608.

              Please test:

              remove the MySensors gateway and the Zwave adapter and see if the zigbee adapter starts. Please be on the lookout for the first log message containing Starting zigbee-herdsman problem :, ignoring all messages after info: zigbee.0 (2610) Try to reconnect. as they will point you to a wrong direction.

              If the zigbee adapter starts in this configuration there might be some interference between either the mysensors gateway and the zigbee stick or the zwave stick and the zigbee stick. If it does not start in this configuration, the firmware on the stick has become corrupted and should be refreshed.

              The Zigbee-Herdsman Library which is used by the zigbee adapter requires a specific serialport library version, which is why it is completely normal to have a separate installation of the serial port library.

              A.

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

                @asgothian
                I disabled MySensors and Zwave then restarted controller. Here is what I am getting:

                2022-07-15 15:49:58.005 - error: zigbee.0 (20495) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                2022-07-15 15:49:58.006 - error: zigbee.0 (20495) Failed to start Zigbee
                2022-07-15 15:49:58.006 - error: zigbee.0 (20495) Error herdsman start
                
                Asgothian 1 Reply Last reply Reply Quote 0
                • Asgothian
                  Asgothian Developer @ap2017 last edited by

                  @ap2017 Please reread my previous post and check for the correct message. I am 99% certain that this message is the one i explicitly told you was a false flag.

                  A.

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

                    @asgothian

                    2022-07-15 18:26:04.695 - info: zigbee.0 (25872) Starting Zigbee npm ...
                    2022-07-15 18:26:04.921 - info: zigbee.0 (25872) Installed Version: iobroker.zigbee@1.7.5
                    2022-07-15 18:26:09.726 - info: mysensors.0 (21245) STARTED
                    2022-07-15 18:26:09.726 - info: mysensors.0 (21245) STARTED
                    2022-07-15 18:26:24.873 - error: zigbee.0 (25872) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
                    2022-07-15 18:26:24.875 - error: zigbee.0 (25872) Failed to start Zigbee
                    2022-07-15 18:26:24.875 - error: zigbee.0 (25872) Error herdsman start
                    2022-07-15 18:26:34.876 - info: zigbee.0 (25872) Try to reconnect. 1 attempts left
                    2022-07-15 18:26:34.877 - info: zigbee.0 (25872) Starting Zigbee npm ...
                    2022-07-15 18:26:34.889 - info: zigbee.0 (25872) Installed Version: iobroker.zigbee@1.7.5
                    2022-07-15 18:26:34.989 - error: zigbee.0 (25872) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                    2022-07-15 18:26:34.990 - error: zigbee.0 (25872) Failed to start Zigbee
                    2022-07-15 18:26:34.990 - error: zigbee.0 (25872) Error herdsman start
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @ap2017 last edited by

                      @ap2017

                      I quote:

                      If it does not start in this configuration, the firmware on the stick has become corrupted and should be refreshed.

                      So try to reflash the Firmware.

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

                        @thomas-braun After reflashing the firmware Zigbeee adapter started to behave differently. It works for some seconds then shuts down with error code. After restarting the adapter is does it again - works for a short time then shuts down with error code. I received another stick, reflashed it as well, but system behaves same way.

                        2022-07-17 21:10:10.373 - info: zigbee.0 (2538) Zigbee started
                        2022-07-17 21:10:12.539 - info: admin.0 (1256) ==> Connected system.user.admin from ::ffff:192.168.1.244
                        2022-07-17 21:10:21.356 - warn: zigbee.0 (2538) DeviceAvailability:Failed to ping 0x90fd9ffffe2bad6b TRADFRI bulb E26 W opal 1000lm
                        2022-07-17 21:10:40.020 - warn: zigbee.0 (2538) Device '0x90fd9ffffe2baf88' announced itself
                        2022-07-17 21:10:40.023 - error: zigbee.0 (2538) 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().
                        2022-07-17 21:10:40.024 - error: zigbee.0 (2538) unhandled promise rejection: Cannot read properties of undefined (reading 'color_options')
                        2022-07-17 21:10:40.024 - error: zigbee.0 (2538) TypeError: Cannot read properties of undefined (reading 'color_options')
                        at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19)
                        at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26)
                        at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18)
                        at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54)
                        at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18)
                        2022-07-17 21:10:40.025 - error: zigbee.0 (2538) Cannot read properties of undefined (reading 'color_options')
                        2022-07-17 21:10:40.028 - info: zigbee.0 (2538) cleaned everything up...
                        2022-07-17 21:10:40.056 - info: zigbee.0 (2538) Zigbee: disabling joining new devices.
                        2022-07-17 21:10:40.528 - info: zigbee.0 (2538) terminating
                        2022-07-17 21:10:40.529 - warn: zigbee.0 (2538) Terminated (UNCAUGHT_EXCEPTION): Without reason
                        2022-07-17 21:10:41.035 - warn: zigbee.0 (2538) get state error: Connection is closed.
                        2022-07-17 21:10:41.101 - error: host.AP-Tiny instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        2022-07-17 21:10:41.102 - info: host.AP-Tiny Restart adapter system.adapter.zigbee.0 because enabled
                        2022-07-17 21:10:41.102 - warn: host.AP-Tiny Do not restart adapter system.adapter.zigbee.0 because restart loop detected
                        2022-07-17 21:10:43.459 - info: mysensors.0 (2199) STARTED
                        2022-07-17 21:10:43.460 - info: mysensors.0 (2199) STARTED
                        2022-07-17 21:10:48.629 - info: admin.0 (1256) <== Disconnect system.user.admin from ::ffff:192.168.1.244
                        
                        Asgothian 1 Reply Last reply Reply Quote 0
                        • Asgothian
                          Asgothian Developer @ap2017 last edited by

                          @ap2017 Please see here for cause and temporary fix:

                          https://forum.iobroker.net/topic/55346/zigbee-stürzt-beim-schalten-von-birnen-über-shalter-ab/7?_=1658123566370

                          A.

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

                            @asgothian
                            Thanks if I can figure out how to edit file in terminal mode...

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

                              @ap2017 you should be able to use the "nano" command. You may have to use sudo to be able to write the file, or have to modify the access rights via sudo chmod a+w

                              A.

                              A 2 Replies Last reply Reply Quote 0
                              • A
                                ap2017 @Asgothian last edited by

                                @asgothian I did not have a chance to manually change the code, but noticed new version of adapter just released with fixed IKEA interface. Unfortunately it does not work for me, see log. It starts fine adapter is operational but it is not able to ping devices

                                2022-07-24 18:48:09.741 - info: host.AP-Tiny stopInstance system.adapter.zigbee.0 (force=false, process=true)
                                2022-07-24 18:48:09.745 - info: zigbee.0 (2399) Got terminate signal TERMINATE_YOURSELF
                                2022-07-24 18:48:09.746 - info: zigbee.0 (2399) cleaned everything up...
                                2022-07-24 18:48:09.755 - info: zigbee.0 (2399) Zigbee: disabling joining new devices.
                                2022-07-24 18:48:09.792 - info: host.AP-Tiny stopInstance system.adapter.zigbee.0 send kill signal
                                2022-07-24 18:48:10.237 - info: zigbee.0 (2399) terminating
                                2022-07-24 18:48:10.238 - info: zigbee.0 (2399) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                2022-07-24 18:48:10.795 - info: host.AP-Tiny instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2022-07-24 18:48:12.834 - info: host.AP-Tiny instance system.adapter.zigbee.0 started with pid 2431
                                2022-07-24 18:48:14.205 - info: zigbee.0 (2431) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                2022-07-24 18:48:14.356 - info: zigbee.0 (2431) starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.16.0, js-controller: 4.0.23
                                2022-07-24 18:48:14.401 - info: zigbee.0 (2431) delete old Backup files. keep only last 10
                                2022-07-24 18:48:14.402 - info: zigbee.0 (2431) Starting Zigbee npm ...
                                2022-07-24 18:48:14.633 - info: zigbee.0 (2431) Installed Version: iobroker.zigbee@1.7.6
                                2022-07-24 18:48:15.005 - info: zigbee.0 (2431) Coordinator firmware version: {"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}}
                                2022-07-24 18:48:15.009 - info: zigbee.0 (2431) Disable LED
                                2022-07-24 18:48:15.010 - info: zigbee.0 (2431) Unable to disable LED, unsupported function.
                                2022-07-24 18:48:15.011 - info: zigbee.0 (2431) --> transmitPower : normal
                                2022-07-24 18:48:15.018 - info: zigbee.0 (2431) Currently 15 devices are joined:
                                2022-07-24 18:48:15.037 - info: zigbee.0 (2431) 0x90fd9ffffe2bad6b (addr 43852): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router)
                                2022-07-24 18:48:15.041 - info: zigbee.0 (2431) 0x00158d00044678ff (addr 48528): WXKG12LM - Xiaomi Aqara wireless switch (with gyroscope) (EndDevice)
                                2022-07-24 18:48:15.041 - info: zigbee.0 (2431) 0x00124b001f90ed15 (addr 54998): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
                                2022-07-24 18:48:15.042 - info: zigbee.0 (2431) 0xd0cf5efffedaa37c (addr 43246): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router)
                                2022-07-24 18:48:15.042 - info: zigbee.0 (2431) 0x000b57fffebcfc39 (addr 38662): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router)
                                2022-07-24 18:48:15.043 - info: zigbee.0 (2431) 0x00124b0022658a2b (addr 33323): SNZB-01 - SONOFF Wireless button (EndDevice)
                                2022-07-24 18:48:15.043 - info: zigbee.0 (2431) 0xd0cf5efffe7d475c (addr 30129): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router)
                                2022-07-24 18:48:15.044 - info: zigbee.0 (2431) 0x00158d00045a362e (addr 24701): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice)
                                2022-07-24 18:48:15.045 - info: zigbee.0 (2431) 0xbc33acfffeff263f (addr 65507): SM-AZ713 - UseeLink Smart water/gas valve (Router)
                                2022-07-24 18:48:15.046 - info: zigbee.0 (2431) 0x90fd9ffffe2baf88 (addr 53737): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router)
                                2022-07-24 18:48:15.046 - info: zigbee.0 (2431) 0x000b57fffe8b9e9c (addr 56023): LED1650R5 - IKEA TRADFRI LED bulb GU10 400 lumen, dimmable (Router)
                                2022-07-24 18:48:15.047 - info: zigbee.0 (2431) 0x00124b0022419f47 (addr 23822): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
                                2022-07-24 18:48:15.047 - info: zigbee.0 (2431) 0xccccccfffe939035 (addr 18190): E1525/E1745 - IKEA TRADFRI motion sensor (EndDevice)
                                2022-07-24 18:48:15.048 - info: zigbee.0 (2431) 0x04cf8cdf3c79009e (addr 52418): GZCGQ01LM - Xiaomi MiJia light intensity sensor (EndDevice)
                                2022-07-24 18:48:15.048 - info: zigbee.0 (2431) 0x00158d0006ea578f (addr 63873): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice)
                                2022-07-24 18:48:15.049 - info: zigbee.0 (2431) Zigbee started
                                2022-07-24 18:48:38.963 - info: mysensors.0 (2339) STARTED
                                2022-07-24 18:48:38.963 - info: mysensors.0 (2339) STARTED
                                2022-07-24 18:49:01.024 - info: admin.0 (1527) ==> Connected system.user.admin from ::ffff:192.168.1.244
                                2022-07-24 18:49:19.328 - info: admin.0 (1527) <== Disconnect system.user.admin from ::ffff:192.168.1.244
                                2022-07-24 18:49:23.126 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x00124b001f90ed15 SA-003-Zigbee
                                2022-07-24 18:49:23.750 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0xd0cf5efffedaa37c TRADFRI bulb E26 W opal 1000lm
                                2022-07-24 18:49:24.226 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x000b57fffebcfc39 TRADFRI bulb E26 W opal 1000lm
                                2022-07-24 18:49:33.874 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0xd0cf5efffe7d475c TRADFRI bulb E26 W opal 1000lm
                                2022-07-24 18:49:34.415 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x000b57fffe8b9e9c TRADFRI bulb GU10 W 400lm
                                2022-07-24 18:49:34.858 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x90fd9ffffe2baf88 TRADFRI bulb E26 W opal 1000lm
                                2022-07-24 18:49:35.014 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x00124b0022419f47 SA-003-Zigbee
                                
                                1 Reply Last reply Reply Quote 0
                                • A
                                  ap2017 @Asgothian last edited by

                                  @asgothian Do you still recommend to manually edit the file or the latest adapter update incorporate all the changes?

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

                                    @ap2017 the latest version should contain the edit.

                                    A.

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

                                      @asgothian It does not work for me see my message from July 24

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

                                        @ap2017 Please check if you have duplicate zigbee-herdsman-converters libraries installed, or if their permissions do not allow overwriting.

                                        if need be, follow this method:

                                        • stop the zigbee adapter
                                        • remove the zigbee-herdsman-converters library
                                        • remove the zigbee-herdsman library
                                        • reinstall the zigbee adapter.

                                        A.

                                        A 2 Replies Last reply Reply Quote 0
                                        • A
                                          ap2017 @Asgothian last edited by

                                          @asgothian Thanks, but it I don't know how to:

                                          • remove the zigbee-herdsman-converters library
                                          • remove the zigbee-herdsman library
                                          • reinstall the zigbee adapter. How to reinstall? Delete and then install new adapter? Will all devices configuration stay?
                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            ap2017 @ap2017 last edited by

                                            @ap2017 Please help

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            528
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            zigbee
                                            5
                                            43
                                            3241
                                            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