# Zigbee2mqtt Groups Scenes in Node-Red

**URL:** <https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [20 February 2023 12:27 UTC](https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459 "2023-02-20T12:27:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![EcarDK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ecardk/32/76058_2.png) [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Post date:** [20 February 2023 12:27 UTC](https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459/1 "2023-02-20T12:27:29Z")

</div>

Hallo All  
I need some help

In Home Assistant - Zigbee2mqtt I have made a group. In Node-Red I can use the node "call service" and Domain "light" and service "turn\_on" to turn the light in the group ON.

In Zigbee2MQTT groups, can I also create scenes. Scenes ID0, ID1, ID2.... and so on.  
I just don't know how to call, such a scene in Node-Red. What node to use or what script.

Is there a friend who can help with this?`

Thank you

---

<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:** [20 February 2023 13:02 UTC](https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459/2 "2023-02-20T13:02:28Z")

</div>

I think you can use [the `scene_recall` property](https://www.zigbee2mqtt.io/guide/usage/scenes.html#recall-scene). I have never used it, so take it as a wild guess - if this is the correct property I find the naming confusing.

In node-red you would use a mqtt-out node, topic: `zigbee2mqtt/[GROUP_OR_DEVICE_FRIENDLY_NAME]/set` and set the payload to a json object as described in the z2m docs. (eg. `{"scene_recall": SCENE_ID}`)

---

<div class="post-metadata">

**Author:** ![EcarDK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ecardk/32/76058_2.png) [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Post date:** [20 February 2023 14:13 UTC](https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459/3 "2023-02-20T14:13:24Z")

</div>

ahhh..

I don't understand what to do? :-S

When I use the mqtt out it is missing a Server

![Udklip](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5d0fdee0136ba18afb76ec0feeb66acef9f3410c.png)

I have set up Mosquitto broker in Home Assistant., but is it not showing under servers.

---

<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:** [20 February 2023 14:51 UTC](https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459/4 "2023-02-20T14:51:59Z")

</div>

The form states: "Add new mqtt-broker"....click the pencil.

---

<div class="post-metadata">

**Author:** ![EcarDK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ecardk/32/76058_2.png) [@EcarDK](https://discourse.nodered.org/u/EcarDK)\
**Post date:** [20 February 2023 15:41 UTC](https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459/5 "2023-02-20T15:41:09Z")

</div>

I got it to work. Thx for you help

---

<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:** [6 March 2023 15:41 UTC](https://discourse.nodered.org/t/zigbee2mqtt-groups-scenes-in-node-red/75459/6 "2023-03-06T15:41:11Z")

</div>

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