AnyGlow Coming soon to the App Store

Turn LED lights on and off on a schedule

LED strip lights can switch themselves on and off at set times in two ways. Many controllers have a timer built in, and it keeps working with your phone switched off or in another room. For lights without one, an iPhone Shortcuts automation can send the command at the right moment, as long as the phone can reach the light. Here’s how to set up both, and what a power cut does to each.

Which way fits your light

The controller’s timerA Shortcuts automation
Runs onThe light’s controllerYour iPhone
Phone needed at that timeNoYes: for a Bluetooth light, within Bluetooth range
How many timesWhat the controller holds: one on and one off time, or up to six timersAs many automations as you make
After a power cutSome controllers forget it until an app sets it againStill there, on the phone

Use the controller’s timer when it has one. ELK and Keepsmile controllers hold one on and one off time, so for anything more, such as a third time of day or a color at a set time, add Shortcuts automations.

Set the controller’s built-in timer

The timer lives in the controller, the small box between the power supply and the strip. The app that came with the light sets it: the app sends the phone’s current time first, then the on and off times, and from then on the controller switches the light by itself. No phone is needed after that.

What the timer can hold depends on the controller:

Controller (app on the box)What its timer holds
ELK-BLEDOM and MELK (Lotus Lantern, Lotus Lamp X, duoCo Strip, Magic-Lantern)One on time and one off time, each on the weekdays you pick, or just once
Keepsmile (Bluetooth names such as KS03~)One on time and one off time, each on the weekdays you pick
Magic Home and Zengge (Magic Home Pro, Surplife, ZENGGE)Up to six timers. Each one turns the light off, turns it on (also in a color, a white or an effect), or fades it up or down like a sunrise or sunset, on the weekdays you pick or once

Some newer Magic Home and Zengge firmware uses a timer format we couldn’t find documented anywhere, so its timers may differ from this. Not sure which controller you have? Its Bluetooth name tells you: see Which app does my LED strip use?

To set a weekday wake-up and a nightly off time:

  1. Close the light’s app on every other phone. Bluetooth controllers usually take one connection at a time.
  2. Stand near the light and open the app it came with.
  3. Open the light’s timer or schedule settings.
  4. Set the on time, for example 7:00 AM, Monday through Friday.
  5. Set the off time, for example 11:30 PM, every day.
  6. Save, then close the app so the light is free for other phones.

To check it, set the off time two minutes ahead, put your phone in another room and watch the light.

After a power cut, or when the clocks change

A timer is only as good as the controller’s clock. The Lotus Lamp X protocol notes, written from a MELK-OA10 lamp, say the lamp has no real-time clock, and that its timer survived a brief power loss but not one of 30 seconds or more. AnyGlow treats all ELK controllers the same way. After a long power cut, such a light misses its times until an app sets the clock and the timer again.

  • If the light hangs on a wall switch or a power strip you turn off, set the timer again in the app after a long power cut. Other controllers may behave differently, but if a light misses its time after the power was out, setting the timer again is the fix.
  • When daylight saving time starts or ends, watch the next timer. The clock commands documented for ELK and Magic Home controllers carry the local time and no time zone, so as far as we can tell a controller can’t know the clocks changed. If a timer runs an hour off after a clock change, set it again.

Lights without a timer: a Shortcuts automation

The Shortcuts app can run an action at a set time on its own. An automation runs only on the device where it’s turned on. On iOS 26 it doesn’t sync to your other devices; on iOS 27 they get a copy that is switched off. On iOS 26:

  1. Open Shortcuts and tap Automation. If you’ve made an automation before, tap + in the top right corner.
  2. Tap Create Personal Automation, then Time of Day.
  3. Choose the time, for example 11:30 PM. Under Repeat, choose Daily, or Weekly and the days you want. Choose Run Immediately where the options end, so the automation doesn’t ask you first. Then tap Next.
  4. Start a blank automation, tap Add Action, and look for your light’s app in the Apps list.
  5. Pick the action, such as turning the light off, then tap Next and Done.

Without Run Immediately, Shortcuts asks first: when the time comes, you get a notification asking you to run the automation. To change that later, tap the automation in the Automation tab, turn off Ask Before Running, tap Don’t Ask, then Done. Apple’s guide uses the name Ask Before Running; since iOS 17 the choice in the trigger options reads Run Immediately.

On iOS 27, Apple’s guide says automations are added to a shortcut. Make a shortcut with your light’s action first. Then tap the shortcut, tap Edit, then Automation, and choose a trigger such as Time of Day. To let it run without asking, tap the shortcut, tap Edit, then the Info button, then tap Privacy and enable Allow Running When Locked.

Know the limits before you rely on it:

  • The app has to offer actions. Shortcuts can only use actions an app gives it. If your light’s app has no actions in the Apps list, an automation can’t reach the light through it.
  • Some actions may still ask. Apple’s guide notes that you may also need to set individual actions to run automatically. If yours asks, change that action’s setting.
  • For a Bluetooth light, the phone has to be near it. A Bluetooth light is controlled from the phone, so your iPhone must be within Bluetooth range when the automation runs. If you’re out, the light stays as it was.
  • The light has to be free. While another phone has the light’s app open, the automation can’t connect. LED strip won’t connect to the app? has the fixes.
  • Test it once with the phone locked. Set an automation two minutes ahead, lock the iPhone and watch the light.

Or schedule the power with a smart plug

A smart plug that works with Apple Home can switch the light’s power at set times. With a home hub, such as a HomePod or an Apple TV, the Home app can switch an accessory at a time of day. In the Home app, tap +, then Add Automation, then A Time of Day Occurs, and pick the time, the days and the plug.

This only works if the light comes back on by itself when its power returns. Try it first: with the light on, unplug it, wait a few seconds and plug it back in. And don’t combine a smart plug with an ELK controller’s own timer, because cutting the power can clear that timer.

Schedules in AnyGlow

AnyGlow, our iPhone app, sets these controller timers from each light’s Schedule screen, free for up to 5 lights. ELK-BLEDOM, MELK and Keepsmile lights with names such as KS03~ get one on and one off time; some other ELK names have the same timer in beta, listed in the ELK-BLEDOM guide. Magic Home Wi-Fi and Zengge Bluetooth controllers with classic firmware get up to six timers, and they are in beta in AnyGlow 1.0. For lights without a built-in timer, or whose timer AnyGlow doesn’t set yet, such as HappyLighting’s Triones lights, AnyGlow offers Shortcuts actions and ready-made recipes. The actions need AnyGlow Pro, except All Lights Off, which is free, and your iPhone has to be within Bluetooth range of the light, or on the same Wi-Fi network for a Magic Home Wi-Fi light.

Sources