How can I make Aqara T2 bulbs choose the correct color temperature when they turn ON?

I’m trying to recreate one specific part of Apple Home’s Adaptive Lighting behavior directly in Aqara Home using Automation 2.0.

I currently have four Aqara T2 bulbs, and what I’d like is actually quite simple:

Whenever a bulb is turned on, it should automatically choose the appropriate color temperature for the current time of day.

For example:

  • 06:00–10:00 → 3500–4000 K
  • 10:00–17:00 → 4500–5000 K
  • 17:00–21:00 → around 3000 K
  • 21:00–00:00 → around 2700 K
  • Night → very warm white, possibly with lower brightness

The important part is that I don’t want scheduled automations to change every light at fixed times .

For example, if I manually set a bulb to 3000 K at 16:55, I don’t necessarily want an automation to force it to another temperature at 17:00.

Instead, I’d like the logic to work more like this:

Bulb turns ON → check current time → apply the appropriate color temperature.

This way, lights that are already on would be left alone, while any light switched on later would automatically start with the correct setting for that time of day.

Has anyone built something like this using Aqara Home Automation 2.0?

I’m wondering what the cleanest structure would be:

  • One automation per bulb with several time conditions?
  • Separate automations for each time period?
  • Scenes combined with time conditions?
  • Is there any way to create reusable logic so I don’t have to duplicate the same rules for all four T2 bulbs?
  • Can the automation detect that a bulb was just turned on manually, rather than reacting to every state change?
  • Is there a good way to handle brightness separately from color temperature?

The goal is not necessarily to perfectly copy Apple Adaptive Lighting. I mainly want the bulbs to start at a natural color temperature based on the time of day , while still allowing manual control afterwards without the automation constantly fighting the user.

If anyone has implemented something similar with T2 bulbs and Automation 2.0, I’d be very interested to see how you structured it.

5 Likes

Hello, I use this scheme. See lesson 8 Automation 2.0, lesson 9, (blitz topic of the addition to lesson 4) using group control of lamps using scenes . If something is unclear, write, I will help. Everything works as you described, very stably.

4 Likes