Eliminating the "Popcorn Effect" When Toggling Grouped Aqara Lights in Home Assistant

When controlling multiple Aqara lights through Home Assistant, either via HomeKit or Matter integration, there’s a common annoyance: the “popcorn effect.”
This is when lights in a group turn on or off one-by-one in rapid succession, instead of all at once. The delay is usually visible and can feel unpolished.

This happens because Aqara’s native light groups aren’t exposed to Home Assistant — so many people create Group Helpers in Home Assistant to control multiple bulbs at once. But since Home Assistant sends individual commands to each bulb, the popcorn effect appears.

Fortunately, Aqara recently added a feature in their app that lets you export scenes through the Matter integration. If you create a scene that controls the grouped lights directly in the Aqara app, those lights toggle simultaneously without popcorn effect — and the scene can then be triggered in Home Assistant.


Step 1 – Create a Group in the Aqara App

  1. Open the Aqara app.
  2. Group your lights together (for example: “Office Lights”).
  • This group will be controlled within Aqara’s ecosystem, which handles simultaneous toggling.


Step 2 – Create Two Aqara Scenes (On & Off)

  1. In the Aqara app, create:
  • Scene 1: Turn on the grouped lights.
  • Scene 2: Turn off the grouped lights.
  1. Make sure these scenes reference the group, not the individual bulbs.

Example:

  • Office Main On – Turns all “Office Lights” on at once.
  • Office Main Off – Turns all “Office Lights” off at once.


Step 3 – Sync the Scenes to Matter

  1. Go to Scene Sync in the Aqara app.
  2. At the bottom of the screen, tap Add Sync.
  3. Select your two scenes (“Office Main On” and “Office Main Off”).
  4. These will now be exposed to Home Assistant through the Matter integration.


Step 4 – Use the Scenes in Home Assistant

Once synced, the scenes appear as Matter scenes in Home Assistant. You can now call these directly — but to make them behave like a normal light switch, we’ll create a template light entity.


Step 5 – Create a Template Light in Home Assistant

  1. Go to Settings → Devices & Services → Helpers in Home Assistant.
  2. Create a Template Light.
  3. State Template: Pick one of the real bulbs from the group to determine the light’s on/off state. This returns true if that bulb is on, and false if it’s off.

Example:

  1. Actions:
  • Turn On Action: Call the Aqara “Office Main On” scene.
  • Turn Off Action: Call the Aqara “Office Main Off” scene.
  1. Save your template light.

Step 6 – Enjoy No More Popcorn Effect

Now you can toggle your grouped lights instantly through the Aqara scenes, all from Home Assistant, without seeing them turn on one at a time.

12 Likes

@david Thank you for sharing this insightful guide on eliminating the “popcorn effect” when controlling grouped Aqara lights in Home Assistant. It’s fantastic to see how you’ve harnessed the power of Aqara’s recent feature updates to improve the user experience. By leveraging the ability to export scenes through the Matter integration, you’ve effectively streamlined the process, ensuring that lights toggle simultaneously without the common delay.

Creating groups and scenes directly in the Aqara app, and then syncing them with Home Assistant, is a clever workaround. This not only enhances the smoothness of light toggling but also maintains the integrity of the Aqara ecosystem’s capabilities. Your detailed steps and illustrative images make it easy for others to follow along and implement these changes themselves.

Your contribution is valuable to the community, and it’s precisely this kind of sharing that helps everyone get the most out of their smart home setups. Keep up the great work, and we look forward to more of your innovative solutions!

Great sharing! Thanks! :clap:

@david Thanks for sharing this detailed and practical solution to the “popcorn effect” when controlling grouped Aqara lights in Home Assistant! It’s a common pain point for many users, and your step-by-step guide—from creating groups and scenes in the Aqara app to syncing them via Matter and setting up a template light in Home Assistant—provides a clear, actionable workaround. This not only eliminates the annoying sequential toggling but also integrates smoothly with Home Assistant, making the smart home experience feel more seamless.

Your contribution is really valuable for the community, especially those who want to refine their setup. Looking forward to more of your insights and tips!