Use Blueprint to quickly complete automated settings in Home Assistant, and use Google Assistant to achieve voice notifications – Home Assistant Step-by-Step Tutorial EP 4

Previous articleThrough a simple example, we will teach you how to perform automation settings in Home Assistant. Today, we will use the automation setting "notify when the washing machine is finished" to introduce how to use the Blueprint function to quickly complete the automation settings, allowing you to No more worrying about how to set triggers, conditions, and actions! (If you’re lazy, you’ll be even more lazy! 🤣) At the same time, it can be paired with Google Assistant to achieve the effect of voice reminder!


First let’s get to know Blueprint

Blueprints are automated setting templates. Home Assistant has officially launched a small number of Blueprints, but more are shared by Home Assistant community netizens. You can quickly complete your own automated settings through these Blueprints shared by everyone.

Home Assistant Blueprint Fourm:https://community.home-assistant.io/c/blueprints-exchange/53

Here you can find all kinds of Blueprints. Through everyone's efforts, all kinds of automated setting Blueprints you can think of are available here!


Step 1. Import the "Appliance has finished" Blueprint

In today's example of "notifying when the washing machine is ready", we will use the Blueprint "Appliance has finished".

Step 1-1. "Settings" ➜ "Automation and Scenarios" ➜ "Blueprint" ➜ "Search for more Blueprints"

It will then be linked to Blueprint Exchange Forum

Home Assistant 選擇 Blueprint 設定智慧家庭自動化

Step 1-2. Find the “Appliance has finished” Blueprint

查詢 Blueprint
選擇 Blueprint

Step 1-3. Import the "Appliance has finished" Blueprint

Find the "IMPORT BLUEPRINT" button in Fourm, operate it in sequence, and finally you will see the "Appliance has finished" Blueprint in the Blueprint list.

載入 Blueprint
載入 Blueprint
載入 Blueprint
載入 Blueprint
載入 Blueprint

Step 2. Use the “Appliance has finished” Blueprint for automated settings

If you don’t know how to enter this automatic setting list screen, you can refer to the previous article:https://neiltw.com/home-assistant-automation-setup-guide/

Step 2-1. Click "Add Automation" ➜ Select "Appliance has finished"

使用 Blueprint 設定自動化

Step 2-2. Set “Power Sensor”

Select the device used to monitor the power consumption of the washing machine in "Power Sensor"

使用 Blueprint 設定自動化

Step 2-2. Monitoring value setting

  • Starting power threshold: The power threshold above which the device is assumed to be started. My setting here is 30 W
  • Starting hysteresis: How long does it take for the power to exceed the threshold before it is really started? My setting is 5 minutes
  • Finishing power threshold: If the power threshold is below this threshold, the device is assumed to have finished. I set 3 W
  • Finishing hysteresis: How long does it take for the power to be below the threshold before it is truly finished? I set 5 minutes

The above values can be adjusted depending on the situation. The above settings are the settings I am currently trying to best suit our home.

使用 Blueprint 設定自動化

Step 2-3. Action when setting is completed

使用 Blueprint 設定自動化

Here I have set three actions:

  1. "Notification: Send a notification": Send push notifications to family members' mobile phones.
  2. "Media Player: Set volume": Set the volume of the smart speaker that will play the voice notification next (to avoid the original volume being too high or too low).
  3. "Text-to-speech(TTS): Say a TTS message with google_translate": Play voice notifications from smart speakers through the Google Assistant service.

Step 2-3-1. Set "Notification: Send a notification"

  • "Service" select "Notification: Send a notification"
  • Fill in the text you like in "Message" and "Title"
使用 Blueprint 設定自動化
自動化通知訊息展示

Step 2-3-2. Set "Media Player: Set volume"

  • "Services" select "Media Player: Set volume"
  • "Target" selects your smart speaker via device or entity
  • "Level" sets the desired volume. I set it to 0.6, which is 60%.
使用 Blueprint 設定自動化語音通知

Step 2-3-3. Set "Text-to-speech(TTS): Say a TTS message with google_translate"

  • "Service" select "Text-to-speech(TTS): Say a TTS message with google_translate"
  • "entity_id" select your smart speaker
  • "Message" fill in the content you want to be notified by voice
  • "Language" fills in the desired voice language, here I fill in "zh-tw"
使用 Blueprint 設定自動化語音通知

Step 2-4. Set the start action

  • "Service" select "Notification: Send a notification"
  • Fill in the text you like in "Message" and "Title"
使用 Blueprint 設定自動化手機推播訊息

The above are the steps to use Blueprint to quickly complete automation settings. From now on, you no longer have to worry about how to properly set triggers, judgment conditions, and actions. Use Blueprint to integrate your own suitable smart devices and set automation in this way ( Automation) is even easier!

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

you might like

recent discussions

you might like