📢 Notifications & Announcements

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

GitHub Link Click Here

State your trigger and spread the word :speech_balloon: :sound:

Like this blueprint? Consider hitting the :heart: button below :+1:

Version: 1.1 :fire:

:warning:You must be on Home Assistant Version 2024.6 or later.

Need help? :eyes: See our FAQ: Click Here

:newspaper: The Automation Process:

  • Trigger Options:

    • Specify the state change of one or more entities that will initiate the automation from a dropdown list. You can also specify your own custom state if it is not available from the dropdown list.
    • State Change Options: The available state changes include:
      • General States: Button or any state, ON, OFF, Unavailable or Unknown
      • Location-Based States: Home or Not Home
      • Numeric States: Numeric state above, Numeric state below or Numeric state above & below
  • Notification Options:

    • Opt to send messages to one or multiple devices. Compatible with Apple iOS and Android devices.
    • Opt to display your notifications directly within the Home Assistant user interface (UI).
    • Opt to send Text-to-Speech Announcement to your selected media players.
  • Time-Based Automation:

    • Specify precise start and end times along with weekday selections to define when the automation can run.
  • Custom Conditions:

    • Enter any custom conditions to further customize the automation process.

:rocket: CHANGELOG

  • Version: 1.1 - 26 July-24 - Added collapsible sections and notification options for iOS and Android.
  • Version: 1.0 - 11 May-24 - Initial release

:shield: MY OTHER BLUEPRINTS

:bulb: Sensor Light - Motion Sensor - Door Sensor - Sun Elevation - LUX Value - Scenes - Time
:infinity: Sensor Light Add On - Media & Movie Lights - House Alarm Lights - Smoke Alarm Lights & Exhaust Fans + More
:shower: Bathroom Humidity Exhaust Fan
:low_battery: Low Battery Notifications & Actions
:vibration_mode: Appliance Notifications & Actions - Washing Machine - Clothes Dryer - Dish Washer - ETC
:calendar: Calendar Notifications & Actions
:round_pushpin: State Notifications & Actions
:robot: Android Notification Channel Manager
:toilet: Toilet Exhaust Fan with time delay
:hourglass_flowing_sand: Entity - Run ON Timer
:stopwatch: Trigger - Run ON Timer
:gear: Turn Light, Switch or Scene On & Off with Trigger Conditions
:magic_wand: Manual light control with auto OFF
:door: Closet, Pantry, and Cupboard Lighting
:timer_clock: Timer
:thermometer: Temperature Control Exhaust Fan
:snowflake: Temperature Control Exhaust Fan - Inverted
:eight_spoked_asterisk: Toggle Switch - Turn ON & OFF Entities
:nazar_amulet: Press Button - Turn ON & OFF Entities
:on: Switch - Turn ON & OFF Entities

Like this blueprint? Consider hitting the :heart: button below :+1:

8 Likes

FAQ

Below are the FAQ question and some tips.

Q: How can I set what triggered the notification in the message.

A: Please follow these steps Click Here

Q: What are the notification options on iOS and Android devices

A: Please Click Here

Initial release 1.0

I have been using this blueprint every day for over a year now and I thought I would clean it up and share it with the community. Hope you like it.

Some use cases:

  1. Dinner is ready call: I have created a button helper and put it into a dashboard. When dinner is ready we push the button that notifies everyone’s phones and they all come running. I have set the time condition so if I accidentally press the button at night they all don’t get woken up… Don’t ask me how I know this :pensive: I have now set the time options from 5pm to 9pm every day. Out of those hours it will be blocked :wink: :+1:
  2. Fridge High Temp: If the fridge goes above 7 deg we get a notification.
  3. Location-Based States If your children go to school and you would like to know when they get home. Again you can set the time options so you don’t get messages all the time.
  4. Water Leak Sensors: Have a water leak? Get notified.
  5. Plants Moisture Level: When do you need to water the plants? Get notified.
  6. Doorbell: Someone at the door? Get notified.
  7. Person: Welcome home message only at night.

You get the idea.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

FAQ - How can I set what triggered the notification in the message.

You may have multiple entities used for your trigger as it help reduce down the amount of automation you have but you still would like to customize the message so you know what happened. They could be;

  • Sensors that keep going unavailable
  • Water leak sensors
  • Plants moisture sensors
  • Etc

Lets look at how we can report what happened.

We will use this code in our message. It will report the friendly name of the entity in your message that triggered the automation.

{{ states[trigger.entity_id].attributes.friendly_name }}

This is how it would look in your message.

Now you will know what triggered the automation. You can use this in any message so your UI or Text-to-Speech message will work to.

Enjoy

Blacky :smiley:

Back to FAQ: Click Here

1 Like

ohhh that’s great.

Few suggestion (to discuss):

  1. notification via speaker based on presence (a) via zone.home to allow speaker to be used only if person are at home b) via motion-presence sensor to select media_player closed). Example: tts message to be sent only to room x-y that are occupied.
  2. being able to set speaker sound for every message and generally speaker volume based on time of the day. Example: volume is 0.2 early morning then in set to 0.5 for some critical notification and then restore to 0.2 for other cases (wake up music for example)
    2a) being able to silence speakers during night or nap tipe
    2b) being able to skip DND for critical notifications (example for safety reason “the fridge is unpowered” )
  3. add also telegram/signal to receive text message so we can have a general log of what happened in a range of time
  4. able to add image to notification (example meteo alert with radar image)
  5. being able to restore music after the announcement is ended

@Jokerigno

Thanks for your suggestions, I will add them to my list.

Blacky :smiley:

1 Like

Hi @Blacky added points 2a and 2b to the wishlist. :slight_smile:

@Jokerigno

2a you can use the time.

The rest I have been busy.

Blacky :smiley:

Sure I just thought to add to the hypothetical roadmap but absolutely I don’t want to rush

Great work. Can you suggest if I can send Critical Notification to Mobile ?

@lmanchanda75

Thanks for your suggestion I will add this on the list to do.

Blacky :smiley:

1 Like

FAQ - A Guide to Notification Options on iOS and Android Devices

:apple: iOS ONLY OPTIONS

What are Notification Interruption Levels on iOS?

On devices running iOS 15 and later, you can configure the interruption level for your notifications to ensure they are delivered according to your preferences. This feature allows you to choose how notifications are presented and how they interrupt your activities.

Interruption level Breaks through Focus Overrides Ring/Silent switch on iPhone and iPad
Default No No
Critical Notification Yes Yes
Time Sensitive Notification Yes - Must be enabled in focus No
Quiet notifications without waking screen No No

:robot: ANDROID ONLY OPTIONS

What are High Priority Notifications?

Notifications will appear immediately in most cases. However, in some cases (such as when the phone is stationary or when the screen has been turned off for a prolonged period of time), default notifications will not ring the phone until the screen is turned on. High priority notifications are designed to alert you to important events or updates that require your immediate attention, ensuring they are received promptly even in these situations.

What are Sticky Notifications?

Sticky notifications are a type of notification that remain on your device’s notification shade until they are manually dismissed by the user. Unlike regular notifications, which can disappear when they are tapped, sticky notifications ensure that important messages are persistently visible until you actively clear or swipe them away, ensuring that critical information stays visible until addressed.

Notification Channels

What are Notification Channels?

Notification channels are a feature for Android devices only. They allow you to categorize notifications, making it easier to manage and prioritize them. Each channel can have its own settings, such as notification style, sound, vibration, blink light, app icon badges, locked screen, and do not disturb, ensuring that you receive notifications in the manner most appropriate for each type of notification you receive.

How Do I Create a Notification Channel?

Before creating channels, it is best to consider what channels you would like to have for your notifications. This will help you structure it correctly, as once you create a channel, it can be removed but will never be deleted unless you reset your app. Taking the time to consider how you would like it structured will help you in the long run.

Some ideas for a channel structure are as follows:

You could just set the notification type. Emergency, General Notification, Dinner Ready, Time for Bed, Appliance Finished, etc.

Or maybe something like this.

  1. Critical
  • Sound and pop-up.
  • Vibrate.
  • Blink light.
  • Locked screen.
  • Ignore Do Not Disturb.
  • Description : Notifications for emergency situations (e.g., fire alarm, flood alert, smoke detector, carbon monoxide detector, security breaches).
  1. High
  • Sound and pop-up.
  • Vibrate.
  • Locked screen.
  • Ignore Do Not Disturb.
  • Description : Notifications for reminders (e.g., upcoming appointment, power outage, rubbish reminder).
  1. General (Default)
  • Sound.
  • Vibrate.
  • Description : Notifications for general updates (e.g., appliance finished, battery low).
  1. Low
  • Silent.
  • Vibrate.
  • Description : Notifications for less critical updates (e.g., appliance started, unavailable sensor, battery low).
  1. Minimal
  • Silent and minimized.
  • Description : Notifications for non-urgent updates (e.g., reminder, Home Assistant update avalible).

To create a new channel, simply enter a name in the input. When your automation sends the first notification, it will create the channel on your device. After the channel is created, you can customize its notification settings to your preference directly on your device.

How Do I Edit a Notification Channel?

There are a few ways to do this:

  1. On your device, go into Settings > Notifications > Home Assistant and you will see categories. These are your channels. Select the one you would like to customize and make your adjustments.
  2. When a notification is received, slowly slide it to the left and you will see a settings icon. Click on it, and it will take you to categories. These are your channels. Select the one you would like to customize and make your adjustments.

How Do I Delete a Notification Channel?

I have a blueprint that will help you remove a notification channel. See link below.

:robot: Android Notification Channel Manager

Hope this helps to explain some of the settings :face_with_monocle:

Enjoy

Blacky :smiley:

Back to FAQ: Click Here

Initial release 1.1

:new: New Feature

  • Collapsible Sections - Added collapsible sections to the blueprint. This enhancement improves the blueprint user interface by making it cleaner and more organized, allowing sections to be collapsed.

    :warning: This feature was introduced in Home Assistant 2024.6, so you must have this version or later for the blueprint to work.

:apple: New Feature For iOS

  • Interruption Level - On devices running iOS 15 and later, you can now configure the interruption level for your notifications to ensure they are delivered according to your preferences. Choose the desired interruption level from the dropdown list. Critical and time-sensitive notifications must be turned ON within the Home Assistant App, and time-sensitive notifications must be allowed in your Focus settings.

:robot: New Feature For Android

  • High Priority notifications ensure that you receive important alerts immediately. These notifications bypass normal delivery delays and are delivered instantly to your device.

  • Sticky Notification ensure that important alerts are not dismissed when selected. They remain on your notification screen until you actively clear or swipe them away, ensuring that critical information stays visible until addressed.

  • Notification Channel allow you to easily organize different notification settings, including notification sounds, vibrations, and other device-specific features. Before crating a channel make sure you understand them and how they work. I have a FAQ that as information on channels, click here.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning: