Skip to content

Use the MLED-1 in Home Assistant

Difficulty: Level 1

Home Assistant talks to your Apollo MLED-1 through its built-in WLED integration, over your own network. Once it's added, your strip is a light you can put on a dashboard, ask your voice assistant to change, and run from automations. By the end of this guide, the MLED-1 is in Home Assistant and turns on by itself at sunset.

Before you start

Put the MLED-1 on the same network as Home Assistant. The getting started guide walks you through it.

Add the MLED-1

Home Assistant discovers the MLED-1 on its own once it's on your Wi-Fi.

1. Go to Settings → Devices & services.

Open your Home Assistant instance and show your integrations.

2. Under Discovered, find WLED and click Add, then Submit.

3. Choose an Area if you like, then click Finish.

Your MLED-1 now has its own device page. Find it under Settings → Devices & services → WLED.

Not discovered?

Add it by hand: click Add integration, search for WLED, and type the MLED-1's IP address or hostname as the Host. See find the IP address and hostname.

Open your Home Assistant instance and start setting up a new integration.

The entities

The device page groups the MLED-1's entities into Controls, Configuration, and Diagnostic.

The MLED-1's device page in Home Assistant, with the light, Preset, Playlist, and Next playlist entry under Controls, and Speed, Intensity, Color palette, Nightlight, and the sync switches under Configuration

In the entity IDs below, apollo_mled_1 is the device name Home Assistant gives the MLED-1. If you renamed it, yours start with your own name.

Entity What it does
Light (light.apollo_mled_1) Turns the strip on and off and sets brightness, color, and effect.
Preset Picks one of the presets saved on the MLED-1.
Playlist Starts one of the playlists saved on the MLED-1.
Next playlist entry Skips to the next preset in the running playlist.
Color palette Sets the palette for the effect.
Speed and Intensity Set the effect's speed and intensity sliders (0 to 255).
Nightlight Starts the timer that fades the strip out. See fade out with the timer.
Sync send and Sync receive Share changes with other WLED lights. See sync WLED devices.
Reverse Runs the effect the other way along the strip.
Freeze Pauses the effect where it is.
Live override Only matters while another app streams light data to the MLED-1. 0 shows the stream, 1 shows the MLED-1's own look until the stream ends, and 2 shows its own look until the next restart.
Audio reactive Turns on WLED's sound-reactive effects. They need a sound source, which the MLED-1 doesn't have built in, so leave it off.
Firmware Shows the installed firmware and tells you when a new MLED-1 release is out. See update or reflash.
Restart Restarts the MLED-1.
Estimated current What WLED estimates the strip is drawing, in mA.
Max current The brightness limiter's setting, in mA. See set the brightness limiter.
LED count The number of LEDs WLED is set for.
IP The MLED-1's IP address.

A few more diagnostic sensors (uptime, free memory, and Wi-Fi signal) are disabled by default. To turn one on, click the entities not shown line under Diagnostic, select the sensor, click the gear icon, and turn on Enabled.

Preset and Playlist show Unavailable at first

Preset and Playlist stay Unavailable until you save a preset (or a playlist) on the MLED-1. That's normal. Save one with the presets and playlists guide, and they come alive within a few seconds.

Segments in Home Assistant

With more than one segment, Home Assistant adds a light for each segment, plus a main light for the whole strip. Speed, Intensity, Color palette, and Reverse show up once per segment.

Control it from the light card

Click the light on the device page or a dashboard to open its controls. Set brightness and color there, and pick an effect from the Effect list.

Example: turn the strip on at sunset

This automation turns your strip on in warm orange, at 60% brightness, 15 minutes before sunset.

1. Go to Settings → Automations & scenes and click Create automation, then Create new automation.

Open your Home Assistant instance and show your automations.

2. Click the three dots in the top right and choose Edit in YAML.

3. Paste the YAML below over what's there.

Strip on at sunset
alias: MLED-1 on at sunset
description: Turns the LED strip on in warm orange before sunset.
triggers:
  - trigger: sun
    event: sunset
    offset: "-00:15:00"
actions:
  - action: light.turn_on
    target:
      entity_id: light.apollo_mled_1
    data:
      brightness_pct: 60
      rgb_color: [255, 160, 0]
      effect: Solid
mode: single

4. If your light's entity ID isn't light.apollo_mled_1, replace it with yours. Open the light, click the gear icon, and copy its Entity ID.

5. Click Save.

To check it now, open the automation's three-dot menu and choose Run actions. The strip turns on in warm orange.

Make it your own

  • Run an effect: change Solid to an effect name from the light's Effect list, such as Candle or Rainbow.
  • Use a preset instead: replace the light.turn_on action with the one below, using the name of a preset saved on the MLED-1.
  • Turn it off at bedtime: add a second automation with a Time trigger and the light.turn_off action.
Start a saved preset
actions:
  - action: select.select_option
    target:
      entity_id: select.apollo_mled_1_preset
    data:
      option: Movie night

Next step: control it from your phone

Your MLED-1 is part of your smart home. For quick changes away from Home Assistant, the WLED app puts the full WLED page on your phone.

WLED app

Join our Discord if you need more help!