Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. Zigbee adapter stopped working FIXED

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    848

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Zigbee adapter stopped working FIXED

Scheduled Pinned Locked Moved ioBroker general
zigbee
41 Posts 4 Posters 8.0k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AsgothianA Asgothian

    @ap2017 No. this only means that the /dev/ttyACM1 is actually the adapter of the stick. The question is if any other process is using it.

    A.

    A Offline
    A Offline
    ap2017
    wrote on last edited by
    #11

    @Asgothian Not sure how to check it. I only have three hardware related adapters: zWave which is on ACM0, mySensors on USB0 and zigbee on ACM1. As I mention before, if I disable zigbee, zWave runs fine on ACM1.

    1 Reply Last reply
    0
    • AsgothianA Asgothian

      @ap2017 No. this only means that the /dev/ttyACM1 is actually the adapter of the stick. The question is if any other process is using it.

      A.

      A Offline
      A Offline
      ap2017
      wrote on last edited by
      #12

      @Asgothian Interesting that if I try to use other port like S1, getting different error message

      "Error: Error while opening serialport 'Error: Error: Input/output error setting custom baud rate of 115200' at Znp.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbe"

      1 Reply Last reply
      0
      • AsgothianA Asgothian

        @ap2017 No. this only means that the /dev/ttyACM1 is actually the adapter of the stick. The question is if any other process is using it.

        A.

        A Offline
        A Offline
        ap2017
        wrote on last edited by
        #13

        @Asgothian Running ioBroker fixer did not help:

        sudo iobroker stop
        curl -sL https://iobroker.net/fix.sh | bash -
        sudo iobroker start

        1 Reply Last reply
        0
        • AsgothianA Asgothian

          @ap2017 No. this only means that the /dev/ttyACM1 is actually the adapter of the stick. The question is if any other process is using it.

          A.

          A Offline
          A Offline
          ap2017
          wrote on last edited by ap2017
          #14

          @Asgothian During npm rebuild received bunch of errors associated with serial port, see log. Could it be related to my problem?
          2020-09-23T02_39_28_639Z-debug.log

          AsgothianA 1 Reply Last reply
          0
          • A ap2017

            @Asgothian During npm rebuild received bunch of errors associated with serial port, see log. Could it be related to my problem?
            2020-09-23T02_39_28_639Z-debug.log

            AsgothianA Offline
            AsgothianA Offline
            Asgothian
            Developer
            wrote on last edited by
            #15

            @ap2017
            It should not. You have an old version of the serial port library (6.2.2) still installed. The zigbee-adapter should use serial port 9.x
            Can you check NPM List if it is still present ?
            You might see a large number of "extraneous" packages listed.
            I would suggest to run "npm prune --dry-run" to see what is removed if you prune, and - unless packages are removed you consider needed - follow it up with an "npm prune"

            A.

            ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
            "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

            A 1 Reply Last reply
            1
            • AsgothianA Asgothian

              @ap2017
              It should not. You have an old version of the serial port library (6.2.2) still installed. The zigbee-adapter should use serial port 9.x
              Can you check NPM List if it is still present ?
              You might see a large number of "extraneous" packages listed.
              I would suggest to run "npm prune --dry-run" to see what is removed if you prune, and - unless packages are removed you consider needed - follow it up with an "npm prune"

              A.

              A Offline
              A Offline
              ap2017
              wrote on last edited by
              #16

              @Asgothian Pardon my ignorance, how do I check NPM list? In terms of pruning, I have no idea what do I needs. I have very rudimentary knowledge of command line controls, I am one of those users who appreciate very much object level system configuration. That is why I like ioBroker, it seems to me well though through for this purpose. As always, thank you for your time and help.

              Thomas BraunT AsgothianA 2 Replies Last reply
              0
              • A ap2017

                @Asgothian Pardon my ignorance, how do I check NPM list? In terms of pruning, I have no idea what do I needs. I have very rudimentary knowledge of command line controls, I am one of those users who appreciate very much object level system configuration. That is why I like ioBroker, it seems to me well though through for this purpose. As always, thank you for your time and help.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #17

                @ap2017

                cd /opt/iobroker
                npm list serialport
                

                Should look similar to

                pi@raspberrypi:/opt/iobroker $ npm list serialport
                iobroker.inst@2.0.3 /opt/iobroker
                └─┬ iobroker.zigbee@1.2.1
                  └─┬ zigbee-herdsman@0.12.117
                    └── serialport@9.0.1
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                A 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @ap2017

                  cd /opt/iobroker
                  npm list serialport
                  

                  Should look similar to

                  pi@raspberrypi:/opt/iobroker $ npm list serialport
                  iobroker.inst@2.0.3 /opt/iobroker
                  └─┬ iobroker.zigbee@1.2.1
                    └─┬ zigbee-herdsman@0.12.117
                      └── serialport@9.0.1
                  
                  A Offline
                  A Offline
                  ap2017
                  wrote on last edited by
                  #18

                  @Thomas-Braun said in Zigbee adapter stopped working:

                  npm list serialport

                  Here we go:

                  c4d5d82b-44c4-43ad-b489-5d9a5d94fad6-image.png

                  1 Reply Last reply
                  0
                  • A ap2017

                    @Asgothian Pardon my ignorance, how do I check NPM list? In terms of pruning, I have no idea what do I needs. I have very rudimentary knowledge of command line controls, I am one of those users who appreciate very much object level system configuration. That is why I like ioBroker, it seems to me well though through for this purpose. As always, thank you for your time and help.

                    AsgothianA Offline
                    AsgothianA Offline
                    Asgothian
                    Developer
                    wrote on last edited by
                    #19

                    @ap2017 I apologise. I should have put quotes around the "npm list", as that was the command i wanted you to check.

                    As you can see, there is an extra serialport library installed, but each adapter has (should have) a usable version, so you should be able to remove the extra one.

                    npm prune should get rid of it.

                    A.

                    ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                    "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                    A 2 Replies Last reply
                    0
                    • AsgothianA Asgothian

                      @ap2017 I apologise. I should have put quotes around the "npm list", as that was the command i wanted you to check.

                      As you can see, there is an extra serialport library installed, but each adapter has (should have) a usable version, so you should be able to remove the extra one.

                      npm prune should get rid of it.

                      A.

                      A Offline
                      A Offline
                      ap2017
                      wrote on last edited by
                      #20

                      @Asgothian No problem. I run the following, but still have same extraneous serial library 6..2.2 when run "npm list serialport"

                      cd /opt/iobroker
                      npm prune --dry-run
                      sudo reboot

                      AsgothianA 1 Reply Last reply
                      0
                      • AsgothianA Asgothian

                        @ap2017 I apologise. I should have put quotes around the "npm list", as that was the command i wanted you to check.

                        As you can see, there is an extra serialport library installed, but each adapter has (should have) a usable version, so you should be able to remove the extra one.

                        npm prune should get rid of it.

                        A.

                        A Offline
                        A Offline
                        ap2017
                        wrote on last edited by
                        #21

                        @Asgothian As previously, keep getting these errors:

                        zigbee.0 2020-09-24 10:39:10.082 error (2461) Error: Error while opening serialport 'Error: Error: Device or resource busy, cannot open /dev/ttyACM1' at Znp.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-he
                        zigbee.0 2020-09-24 10:39:10.081 error (2461) Failed to start Zigbee
                        zigbee.0 2020-09-24 10:39:09.975 info (2461) Starting Zigbee...
                        zigbee.0 2020-09-24 10:39:09.974 info (2461) Try to reconnect. 1 attempts left
                        zigbee.0 2020-09-24 10:38:59.972 error (2461) Error: Failed to connect to the adapter (Error: Cannot request when znp has not been initialized yet) at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/z
                        zigbee.0 2020-09-24 10:38:59.972 error (2461) Failed to start Zigbee

                        1 Reply Last reply
                        0
                        • A ap2017

                          @Asgothian No problem. I run the following, but still have same extraneous serial library 6..2.2 when run "npm list serialport"

                          cd /opt/iobroker
                          npm prune --dry-run
                          sudo reboot

                          AsgothianA Offline
                          AsgothianA Offline
                          Asgothian
                          Developer
                          wrote on last edited by
                          #22

                          @ap2017
                          Of course.. the "npm prune --dry-run" only lists what it would do. This is to ensure that it doesn't get rid of something you want to keep
                          once you checked the list, you can do "npm prune" (without the dry run)

                          a Reboot is not needed..

                          A.

                          ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                          "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                          A 1 Reply Last reply
                          0
                          • AsgothianA Asgothian

                            @ap2017
                            Of course.. the "npm prune --dry-run" only lists what it would do. This is to ensure that it doesn't get rid of something you want to keep
                            once you checked the list, you can do "npm prune" (without the dry run)

                            a Reboot is not needed..

                            A.

                            A Offline
                            A Offline
                            ap2017
                            wrote on last edited by
                            #23

                            @Asgothian The unwanted serial driver 6.2.2 disappeared after pruning, but it did not help to resolve the main issue, see errors below. I rebooted controller after pruning, just in case.

                            c66f51c5-44a8-48ad-a01d-23b798bd1f64-image.png

                            00b80659-4d3b-45b9-9ec2-0bbe6a6baabf-image.png

                            AsgothianA 1 Reply Last reply
                            0
                            • A ap2017

                              @Asgothian The unwanted serial driver 6.2.2 disappeared after pruning, but it did not help to resolve the main issue, see errors below. I rebooted controller after pruning, just in case.

                              c66f51c5-44a8-48ad-a01d-23b798bd1f64-image.png

                              00b80659-4d3b-45b9-9ec2-0bbe6a6baabf-image.png

                              AsgothianA Offline
                              AsgothianA Offline
                              Asgothian
                              Developer
                              wrote on last edited by
                              #24

                              @ap2017
                              Unfortunately, that is what i expected. Now you should no longer get any errors on an npm rebuild, but i have the feeling that is not the error. I am starting to think that the firmware on the Zigbee Board / Stick is not responding correctly.

                              As long as there is a message that the zigbee library cannot be initialized, the issue is most likely hardware related.

                              A.

                              ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                              "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                              Thomas BraunT 1 Reply Last reply
                              0
                              • AsgothianA Asgothian

                                @ap2017
                                Unfortunately, that is what i expected. Now you should no longer get any errors on an npm rebuild, but i have the feeling that is not the error. I am starting to think that the firmware on the Zigbee Board / Stick is not responding correctly.

                                As long as there is a message that the zigbee library cannot be initialized, the issue is most likely hardware related.

                                A.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #25

                                @ap2017
                                Please stop the zwave Adapater and reboot. I may happen that the zwo adapters do block the port.
                                And I see a duplicate entry in the zwave entry. I think that only one entry should show there.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                A 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @ap2017
                                  Please stop the zwave Adapater and reboot. I may happen that the zwo adapters do block the port.
                                  And I see a duplicate entry in the zwave entry. I think that only one entry should show there.

                                  A Offline
                                  A Offline
                                  ap2017
                                  wrote on last edited by ap2017
                                  #26

                                  @Thomas-Braun I stopped both zwave and zigbee and rebooted, here is list of serial ports:

                                  ce95bb59-7db6-4273-bb47-9fec159789dd-image.png

                                  As I mentioned before, when zigbee is off, zwave works fine on both ports ACM0 and ACM1, so it looks like system works properly with ports.

                                  What would be next step, try to uninstall and reinstall zigbee adapter again? Re-flash CC2531 dongle? Thank you.

                                  AsgothianA 1 Reply Last reply
                                  0
                                  • A ap2017

                                    @Thomas-Braun I stopped both zwave and zigbee and rebooted, here is list of serial ports:

                                    ce95bb59-7db6-4273-bb47-9fec159789dd-image.png

                                    As I mentioned before, when zigbee is off, zwave works fine on both ports ACM0 and ACM1, so it looks like system works properly with ports.

                                    What would be next step, try to uninstall and reinstall zigbee adapter again? Re-flash CC2531 dongle? Thank you.

                                    AsgothianA Offline
                                    AsgothianA Offline
                                    Asgothian
                                    Developer
                                    wrote on last edited by
                                    #27

                                    @ap2017
                                    No.

                                    Please verify if the Zigbee Adapter will start when

                                    • no zwave sticks are connected to the system
                                    • no zwave adapter is running.

                                    A.

                                    ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                                    "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                                    A 1 Reply Last reply
                                    0
                                    • AsgothianA Asgothian

                                      @ap2017
                                      No.

                                      Please verify if the Zigbee Adapter will start when

                                      • no zwave sticks are connected to the system
                                      • no zwave adapter is running.

                                      A.

                                      A Offline
                                      A Offline
                                      ap2017
                                      wrote on last edited by
                                      #28

                                      @Asgothian Sorry, how do I check if zigbee adapter started?

                                      AsgothianA 1 Reply Last reply
                                      0
                                      • A ap2017

                                        @Asgothian Sorry, how do I check if zigbee adapter started?

                                        AsgothianA Offline
                                        AsgothianA Offline
                                        Asgothian
                                        Developer
                                        wrote on last edited by
                                        #29

                                        @ap2017 Watch the log for an entry that the zigbee adapter started successfully, alternatively, watch the green light in the instance list.

                                        ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                                        "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                                        A 2 Replies Last reply
                                        0
                                        • AsgothianA Asgothian

                                          @ap2017 Watch the log for an entry that the zigbee adapter started successfully, alternatively, watch the green light in the instance list.

                                          A Offline
                                          A Offline
                                          ap2017
                                          wrote on last edited by ap2017
                                          #30

                                          @Asgothian Of course, I did not pay attention that you asked to disable zwave, not zigbee. Unplugging zwave dongle and disabling zwave adapter did not help. FYI, zigbee behaves same way for ACM0 and ACM1 ports

                                          f906dc71-851d-4757-b064-8455622fb7de-image.png

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          803

                                          Online

                                          32.6k

                                          Users

                                          82.1k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe