node-red-contrib-zigbee2mqtt-devices 0.19.6

Nodes to interact with zigbee2mqtt for Node-RED

npm install node-red-contrib-zigbee2mqtt-devices

Zigbee2MQTT Nodes for Node-RED

npm img GitHub license

This project contains Node-RED nodes that allow you to build Smart Home scenarios with your Zigbee devices connected to ZigBee2MQTT.


Available Nodes

Many nodes are available right now, and there are still new node ideas that will be added in the near future. Here is a list of the currently available ones:

Getting started

Have a look at the getting started guide.. All you need are some already paired Zigbee lamps and an installed Node-RED. What are you waiting for? Find out now how easy it is to get started.


The documentation for the project is located in the docs folder.

You need some addition help?

Join the Discord server for a more in depth support or problems that aren't metioned anywhere :)


You want to contribute?

That's easy! Feel free to post suggestions, adding documentation or add new features. Every support is welcome!

If you feel very generous and want to contribute with coffee, you sure can:

Buy me a coffee


Release: 0.19.6 13 Nov 2022


Bug fixes:

  • Bridge did not connect in newer z2m versions because z2m changed the format of 'bridge/state' from string to JSON.
  • Shelly 2.5 did not connect to the broker, because it used an old configuration node.
  • Shelly 2.5 node did not unsubscribe from the old channel with no full redeploy.

Behind the scenes

  • Add mocha and first-unit test examples
  • Add integration tests to test with a real MQTT broker

Release: 0.19.5 - 14 Mar 2022

Bug fixes:

  • Hosting the Node-RED UI under a different root path than http://localhost:1880/ resulted in failing web requests to load the device list. For example, when the UI was set to http://localhost:1880/admin or Node-RED was running as a Home Assistant plugin.
  • Fixed a bug where the configured device name gets deleted, when the device list couldn't be loaded. Further details in #105 and #119

Release: 0.19.4 - 01 Jan 2022

Happy new year to all!

Bug fixes:

  • @itupsk fixed the issue #114, where we forgot a null check on the ikea bugfix in the last release. Thanks a lot!
  • Also fixed the same issue in hue, scenic and sonoff devices

Release: 0.19.3 - 30 Dec 2021


  • Documented additional settings for upgrading to mosquitto 2.0 in the getting started guide.
  • Documented Mirek scale.

Bug fixes:

  • Not set property on Ikea Remote device caused a complete Node-Red restart
  • Not set property on Hue Remote device caused a complete Node-Red restart
  • Preventive measure: Check action for empty string in scenic remote and sonnoff buttons

Release: 0.19.2 - 12 Mar 2021

Bug fixes:

  • Local node-red installation with nodejs 12 had a problem to load the node-red dependency. Removed it for now as it is only used for logging.

Release: 0.19.1 - 8 Mar 2021

Bug fixes:

  • Better handling for invalid MQTT messages from z2m. Sometimes a required/expected property is missing or empty which caused an error.
  • Hue Dimmer switch crashed NodeRED because the power status with no action came with no action.

Behind the scenes

  • Removed some unnecessary files from the package, reducing the size from 324 kB to 229 kB
  • Removed vulnerable dependencies
  • Updated and thinned out dependencies so the installation will be faster
  • Dev feature: Cleaned up npm build scripts so there are no warnings, and they behave the same on Windows, Linux, and macOS.

Release: 0.19.0 - 23 Jan 2021


  • Two new example flows, from the getting started guide
  • Documentation overview page
  • Documented examples
  • Show switch to manual button if the device-list request failed.
  • Added deviceName to the ouput of the climate-sensor. Resolves #75
  • Added separateOuputs option the the climate sensor. Resolves #75

Older changelogs

You can find all the release notes at the Release-Page

Node Info

Version: 0.19.6
Updated 2 months, 2 weeks ago
License: MIT
Rating: 5.0 6




174 in the last week


  • bridge-log
  • zigbee2mqtt-bridge-config
  • zigbee2mqtt-device-config
  • eurotronic-spirit
  • hue-dimmer-switch
  • ikea-dimmer
  • ikea-remote
  • ikea-dimmer-v2
  • scenic-foh-switch
  • sonoff-button
  • tasmota
  • tint-remote
  • generic-lamp
  • send-messages
  • button-switch
  • device-status
  • get-lamp-state
  • shelly-config
  • shelly-25
  • ota-update
  • override-state
  • override-brightness
  • override-temperature
  • override-color
  • override-action
  • scene-in
  • scene-selector
  • contact-sensor
  • occupancy-sensor
  • climate-sensor


  • node-red
  • zigbee2mqtt
  • smart home