šŸŽ›ļø

Announce Sonos Alarm by Talvish

This blueprint is used to add a script that will announce when the next alarm is set on the specified Sonos speaker. If the alarm is less than two hours away it will indicate how long until it rings. Otherwise the alarm will indicate the time when the alarm is set using a 12 hour format (e.g. 1 AM vs 1 PM). If it cannot find an alarm it will indicate that as well.
The script will gracefully handle when speakers are in groups, and restore playing music after it announces the alarm.
This is helpful as part of an automation when going to bed so you don't need to use a phone app to see when/if an alarm is set.
I recommend setting the mode to parallel if you will use this script on more than one speaker.

21
Stars
8.5K
Views
2.4K
Imports

Import to Home Assistant

Click to import this blueprint directly into your Home Assistant instance.

Configuration

Requires 0 inputs to configure

Source Code

View on GitHub

Related Blueprints

More device control automations you might like

View all
šŸŽ›ļø
Device Control
simple
3 inputs

Motion-activated Light

Turn on a light when motion is detected.
entity
target
number
82.5K1.3K2.7K
by home-assistanthome-assistant/core
šŸŽ›ļø
Device Control
medium
3 inputs

Example Automation Blueprint

A description for the blueprint Version: yyyy.mm.dd
entity
device
1.2K3.1K3.2K
šŸŽ›ļø
Device Control
medium
5 inputs

On-Off schedule with state persistence

On-Off schedule with state persistence

A simple on-off schedule, with the addition of state persistence across disruptive events, making sure the target device is always in the expected state. šŸ“• Full documentation regarding this blueprint is available here. šŸš€ This blueprint is part of the Awesome HA Blueprints project. ā„¹ļø Version 2021.10.26
target
time
text
+1
1.2K10.4K1.5K
šŸŽ›ļø
Device Control
complex
15 inputs

Simple Safe Scheduler

Simple Safe Scheduler

Scheduling a periodic action in Home Assistant might be trickier than what it looks at first glance. Not only the available automation triggers are limited to only time-based schedules (requiring the user to either use template triggers or install additional integrations for more complex scheduling options), but they also do not guarantee that the automation is executed at the provided time. As an example, let's assume automation A is scheduled to run at 12:00. If the Home Assistant server goes down at 11:59 due to a disruptive event (e.g. power outage, planned maintenance, hardware failure etc.) and comes back up at 12:01, the A automation run scheduled for 12:00 would simply be skipped, without any warning to the user. The Simple Safe Scheduler blueprint tries to mitigate scheduling limitations in Home Assistant by providing an easy interface to configure periodic actions, with built-in safety checks to ensure the action actually runs even in case of a disruptive event. The configured automation acts as a simple scheduler, allowing to flexibly program any kind of action based on the following parameters:
  • Time of the day (dynamically provided as an input_datetime entity);
  • Day of the week (multiple days can be selected);
  • Week frequency (allowing to schedule the action to run i.e. every 2 weeks).
In addition, the blueprint implements useful checks to make sure that, in case of a disruptive event (e.g power outage, Home Assistant server outage etc.) happening at the scheduled automation run time, the action is executed as soon as the system restores its state. These checks can be configured to be performed both when Home Assistant boots up and when a custom event is fired (e.g. from another automation or integration). Such safety checks might be particularly important for critical automations, which need to run as close as possible to the scheduled time (e.g. watering plants, configuring an alarm system, etc.). šŸ“• Full documentation regarding this blueprint is available here. šŸš€ This blueprint is part of the Awesome HA Blueprints project. ā„¹ļø Version 2021.10.22
action
entity
number
+2
1.2K10.7K1.3K
šŸŽ›ļø
Device Control
medium
5 inputs

Wake-up light alarm with sunrise effect

A wake-up light alarm with a brightness and color temperature sunrise effect using an existing timestamp sensor as source. Requires date_time_iso sensor in configuration!
entity
number
action
5277.3K1.8K