WLED Countdown Timer

This is a blueprint to do a countdown timer on WLED powered strips. It:

  • makes a new segment (of whatever length you choose)
  • displays a coloured bar on it that gradually grows over the given duration
  • plays another animation for a while to signal the end of the time.

Note: it does require that the WLED devices have MQTT switched on, and the dev_name input needs the MQTT IDs (where the MQTT topic is mqtt//api)

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

File: https://raw.githubusercontent.com/mo-seph/ha_blueprints/refs/heads/main/scripts/countdown_mqtt.yaml

1 Like

Cool! I just did similar about 2 weeks ago but used Node Red. I only setup a 5 minute version for now but will add 10, 15, and 20 minute versions in near future. They help giving kids time limits or warning until bedtime.

1 Like

Hello dmr,

Thanks for contributing to the community with a new Blueprint.

I have a suggestion for you. Many people who are not familiar with directory structures will have problems installing this without the Home Assistant MY tools.

Adding a MY link for this Blueprint to your top post would help them a lot.

Here is the link to make that.
Create a link – My Home Assistant

1 Like

Done! It’s up on github now, with a button link.

Hi @dmr,

I tried to set this up and it doesn´t work, but I´m pretty sure it´s because I´m doing something wrong, could you please check what I need to change in my setup:

I just found the issue, as I was using WLED-ID instead of only the ID in the field dev_name.

Now that it´s working I have another question. It would be really cool to be able to dinamically set the duration from an automation, for example to say “hey google, set a timer for 7 minutes”, is there any way to do this?

I haven’t looked into this, but scripts can expose variables that are called when they are run, so it should be possible.

1 Like