Zigbee2MQTT groups and scenes do different jobs. A group lets several devices respond to one command; a scene recalls saved settings. You can use them together to bring a room’s lights to different brightnesses and colors with one scene recall.
Current Zigbee2MQTT can also expose stored device and group scenes to Home Assistant through MQTT discovery. If a scene is missing, check discovery and the stored scene before building a workaround. The old report that scenes never become Home Assistant entities no longer describes the released implementation.
This guide covers Zigbee2MQTT’s native groups and scenes. For the broader integration decision, see our Zigbee2MQTT-vs-ZHA comparison for Aqara devices.
Groups control devices together; scenes recall settings
Think of a group as an address for a set of compatible device endpoints. Send an on/off or brightness command to that address and the members can act together. A scene instead stores selected settings under a scene number: for example, one lamp at low brightness and another at a warmer color temperature.
A scene can belong to one device or a group. With a group scene, each participating light can hold its own settings for the same scene ID. Recalling it does not require every light to end up at an identical brightness or use the same transition.
Creating a group and finding it in Home Assistant
Create groups in the Zigbee2MQTT frontend, through zigbee2mqtt/bridge/request/group/add, or in configuration.yaml. Static group keys are numerical strings, such as '1', with a friendly_name. Add the devices or endpoints that should respond, then send commands to zigbee2mqtt/GROUP_FRIENDLY_NAME/set. The official group guide explains creation, membership and group-state options.
The group address is carried in the Zigbee command, and receiving endpoints use their own group membership to decide whether to act. Zigbee2MQTT also keeps membership information for configuration and discovery; it is not absent from the process. Group addressing reduces repeated commands compared with addressing every light separately.
With Zigbee2MQTT’s Home Assistant integration enabled and Home Assistant connected to the same MQTT broker, nonempty groups can be discovered as entities according to their members’ supported capabilities. A group of lights can appear as a light; supported switches and covers have their own mappings. Adding arbitrary sensors to a group does not create a useful combined sensor entity.
A group entity changing state is not proof that every member received the command. Zigbee2MQTT maintains a group state, with options such as whether it reports off only when all members are off. If one light misses a command, check that endpoint’s membership and supported commands as well as radio coverage, interference and power. A missed command alone does not establish a mesh fault or guarantee a useful per-device delivery error.
Storing scenes with scene_store and scene_add
scene_store saves the current supported settings on a device or group. scene_add specifies settings in the command itself and can include a transition. Both go to zigbee2mqtt/FRIENDLY_NAME/set. Check that the device supports Zigbee scenes and the particular attributes: the presence of an on/off entity alone does not guarantee full scene support.
These are separate MQTT messages to the lamp’s set topic. Publish one JSON object at a time; the labels are explanations, not part of the payload.
Store the current settings as scene 1:
{"scene_store": 1}
Recall scene 1:
{"scene_recall": 1}
Remove scene 1, or remove all scenes on this target:
{"scene_remove": 1}
{"scene_remove_all": ""}
For an explicit scene, put the settings inside a scene_add object. This example saves scene 3 with a three-second transition:
{
"scene_add": {
"ID": 3,
"name": "Evening",
"transition": 3,
"state": "ON",
"brightness": 254,
"color_temp": 370
}
}
The API accepts a scene ID, optional name and transition in seconds, plus supported state attributes. Brightness uses Zigbee2MQTT’s 0–254 scale. Color temperature is in mireds; use a value within the lamp’s actual range rather than assuming every documented API value is valid on every bulb. Use either color_temp or color, not both. A color may use hue/saturation, x/y coordinates or a hex string. Attributes omitted from scene_add are left unchanged when that scene is recalled.
Create the scene with scene_add and the transition you want, then use scene_store with the same ID. The documented behavior is that the stored values replace the scene’s values while its transition remains. Reusing an ID otherwise overwrites the existing scene; choose IDs deliberately.
To customize one light within a group scene, send scene_add or scene_store to that light’s topic with the scene ID and the group’s numeric group_id. The group’s later recall uses that light’s stored settings. This is how one group recall can produce different colors, brightnesses and transition times on different lights. The scene documentation gives the payload forms.
If a stored scene is missing from Home Assistant
Scene discovery exists in released Zigbee2MQTT 2.14.3: its Home Assistant extension creates MQTT scene discovery entries for stored scenes on device endpoints and groups. It also refreshes discovery when scenes change. The historical issue #18481 was closed in January 2024, with a later commenter confirming scenes appeared after restarting the add-on. Its original symptom is useful history, not evidence of a current permanent limitation.
- Recall the scene in the Zigbee2MQTT frontend first. Confirm it is saved under the intended device or group and the expected scene ID.
- Check that Zigbee2MQTT’s
homeassistantconfiguration hasenabledset totrue, and that Home Assistant’s MQTT integration uses the same broker and discovery prefix. Use the nested YAML example in the integration guide. - Look for the scene in Home Assistant’s MQTT integration entities, including disabled entities. Search by the scene’s name rather than assuming a particular generated entity ID.
- If discovery is stale, restart Zigbee2MQTT and inspect its startup/discovery logs and the broker’s scene configuration messages. An empty group or a device whose interview/support is incomplete needs attention before expecting normal discovery.
If an entire device is absent from Home Assistant, broaden the check to MQTT discovery, disabled entities, interview results and the device definition. An external converter is one possible factor for unsupported hardware, not the usual explanation for every missing entity.
Calling a scene directly through MQTT
You can recall a scene with Home Assistant’s documented mqtt.publish action whether or not you use its discovered scene entity. This is a supported combination of two documented APIs, not an unofficial service syntax. For scene 2 on a group named living_room_group, the MQTT payload is:
{"scene_recall": 2}
In Home Assistant’s action editor, use this action block, or insert the list item under an automation or script’s actions/sequence:
action: mqtt.publish
data:
topic: zigbee2mqtt/living_room_group/set
payload: '{"scene_recall": 2}'
qos: 0
retain: false
Replace the base topic, group name and ID with your own values. Keep scene commands non-retained so a later reconnect does not replay an old recall. The MQTT action documentation covers the fields. Calling the discovered scene through scene.turn_on is also available; it ultimately publishes the recall payload.
If you intentionally manage scene entities yourself, Home Assistant’s MQTT Scene integration supports a command topic and payload. For example, merge this entry into your existing MQTT configuration rather than creating a duplicate top-level mqtt key:
mqtt:
- scene:
name: Living room evening
unique_id: living_room_evening_manual
command_topic: zigbee2mqtt/living_room_group/set
payload_on: '{"scene_recall": 2}'
retain: false
Use a manual entity only when you need one: configuring it alongside an automatically discovered version can leave two entries for the same scene. If you rename a group or change a scene ID, update any hand-written MQTT action or entity accordingly.
Zigbee2MQTT groups and scenes versus Home Assistant helpers
Zigbee2MQTT’s native groups and scenes address Zigbee devices. Home Assistant groups and scenes work with entities and can combine integrations. This makes an HA scene useful for a Zigbee lamp, Wi-Fi socket and media player in the same routine.
| Feature | Zigbee2MQTT native groups/scenes | Home Assistant groups/scenes |
|---|---|---|
| Commands | Group addressing can control compatible Zigbee members with one group command | Applies actions or states through the selected entities’ integrations; traffic depends on those targets |
| HA visibility | Supported groups and stored scenes can be discovered over MQTT | Helpers and scenes created in HA are available there directly |
| Best fit | Coordinated Zigbee lights and reducing repeated radio commands | Combining integrations or keeping scene settings in HA |
Avoid assuming Home Assistant always sends one Zigbee unicast at a time. It operates through integrations, and a target can itself be a Zigbee2MQTT group. An HA scene targeting several individual MQTT lights has different radio behavior from one that targets a native group entity. The group address and targets, rather than the dashboard button, determine the useful traffic comparison.
For coordinator setup, our SMLIGHT SLZB-06 Zigbee2MQTT guide covers an Ethernet-connected option. Coordinator placement still matters when using group commands; grouping does not repair weak radio coverage.
FAQ
Why are my Zigbee2MQTT scenes missing from Home Assistant? Current releases support scene discovery. Check that the scene works in Zigbee2MQTT, then check MQTT discovery, broker settings and disabled entities. Do not assume the historical discovery gap still applies.
Should I use Zigbee2MQTT groups or HA groups? Native Zigbee groups are useful when compatible Zigbee devices should act together with fewer repeated commands. HA groups are useful for entity-level organization and combining integrations; they can also contain native group entities.
Can each light have different settings in a group scene? Yes, when supported: store or add the scene for each light with the group’s ID, then recall that scene on the group.
Can scene_store save a fade? Set the transition with scene_add first, then overwrite the same scene ID with scene_store as documented.
Does MQTT recall need the internet? It does not require a vendor cloud when Home Assistant, the broker and Zigbee2MQTT run locally. They still need to be running and able to communicate. Direct Zigbee bindings are a separate way to remove those services from some control paths.
Sources and local-operation limits
The commands above follow Zigbee2MQTT’s group/scene API and Home Assistant’s MQTT documentation. Scene discovery was checked against the released 2.14.3 implementation on 1 November 2026. Device scene capacity, supported attributes and transition behavior still depend on the lights’ firmware. A local broker and controller keep this control path local; a separately hosted broker or remote service changes that deployment assumption.
