# Pls help me with Zigbee dongle CC2531 and NR4

**URL:** <https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548>\
**Category:** General\
**Created:** [30 October 2025 22:42 UTC](https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548 "2025-10-30T22:42:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiovanniG](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Post date:** [30 October 2025 22:42 UTC](https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548/1 "2025-10-30T22:42:15Z")

</div>

Hi, I bought in past a CC2531 dongle and probably I bought it already flashed, I would test a Zigbee Tuya button for start a NR automation, I can find a ton of infos about this chip but I'm afraid it's hard to find the right infos for my case.

I'm running NR on Win10, I can recognize the dongle as COM serial port @9600 boud, is it correct?  
I tried to install Zigbee contrib module but it returns error, probably is not compatible with my nodejs version? The project is abandoned, they recomend to switch to Zigbee2mqtt but then I need a bridge between COM port and IP protocol, I've found [Koenkk](https://github.com/Koenkk) [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt) project but Igot an error when instlaling it (pnpm not found)

```auto
Error: Command failed: pnpm run prepack
"pnpm" non e riconosciuto come comando interno o esterno,
 un programma eseguibile o un file batch.

```

so which other chances I have to get button events on NR? Thank you!

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [30 October 2025 23:18 UTC](https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548/2 "2025-10-30T23:18:40Z")

</div>

If you follow the documentation here [Windows | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/installation/05_windows.html#install-a-usb-to-uart-bridge-virtual-com-port-driver) you should install Node.js 22 LTS from their website. This includes corepack which when run (corepack enable) installs pnpm.

I haven't done this but I would think that this must work.

You will also have to install an MQTT broker, this is also mentioned on the above page.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [31 October 2025 05:04 UTC](https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548/3 "2025-10-31T05:04:47Z")

</div>

if node-red is already running on this system, you can use `npm install` instead.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 October 2025 07:14 UTC](https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548/4 "2025-10-31T07:14:16Z")

</div>

Ditch the 2531, they are rubbish and were superceded long ago by the CC2652.

Then install zigbee2mqtt as others have suggested.

---

<div class="post-metadata">

**Author:** ![GiovanniG](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Post date:** [31 October 2025 08:54 UTC](https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548/5 "2025-10-31T08:54:15Z")

</div>

Thank you mates for help, really appreciated! I've menaged to install pnpm using this: npm install -g pnpm  
anyway I needed also to update nodejs to the latest version.  
Now it's running, I need to connect a MQTT broker, I'll do it shortly

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 January 2026 08:54 UTC](https://discourse.nodered.org/t/pls-help-me-with-zigbee-dongle-cc2531-and-nr4/99548/6 "2026-01-29T08:54:45Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
