{"id":1561,"date":"2024-03-22T13:00:00","date_gmt":"2024-03-22T12:00:00","guid":{"rendered":"https:\/\/sascha-brockel.de\/?p=1561"},"modified":"2024-04-28T04:24:08","modified_gmt":"2024-04-28T02:24:08","slug":"smart-alarm-clock-with-home-assistant","status":"publish","type":"post","link":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/","title":{"rendered":"Smart alarm clock with Home Assistant - create a morning routine"},"content":{"rendered":"<p class=\"yoast-reading-time__wrapper\"><span class=\"yoast-reading-time__icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-icon=\"clock\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" style=\"display:inline-block;vertical-align:-0.1em\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"><\/path><\/svg><\/span><span class=\"yoast-reading-time__spacer\" style=\"display:inline-block;width:1em\"><\/span><span class=\"yoast-reading-time__descriptive-text\">Expected Reading Time:  <\/span><span class=\"yoast-reading-time__reading-time\">8<\/span><span class=\"yoast-reading-time__time-unit\"> minutes<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For detailed instructions and explanations of all configuration options, I recommend watching the YouTube video linked below. This video goes into detail about each individual setting, providing you with comprehensive instructions on how to set everything up correctly. Any code from the video can be found in this article, so you can use it directly without having to type it out.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#Was_ist_Home_Assistant\" >What is Home Assistant?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#Warum_ein_smarter_Wecker\" >Why a smart alarm clock?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#Was_ist_ein_Blueprint\" >What is a blueprint?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#Wie_fuge_ich_einen_Blueprint_auserhalb_der_Community_hinzu\" >How do I add a blueprint outside the community?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#Smarter_Wecker_Blueprint_fur_Home_Assistant\" >Blueprint smart alarm clock for Home Assistant<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#Umsetzung_im_YouTube-Video\" >YouTube video implementation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#Fazit\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-was-ist-home-assistant\"><span class=\"ez-toc-section\" id=\"Was_ist_Home_Assistant\"><\/span>What is Home Assistant?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Home Assistant is an open-source platform for home automation that aims to connect all devices in the home and control them centrally. It was developed to provide a unified user interface and simple, flexible control for a wide range of smart home devices from different ecosystems. Here are some points in favor of Home Assistant:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Compatibility<\/strong>Home Assistant supports thousands of devices and services from various manufacturers, including lighting, air conditioning, heating, cameras, weather sensors, voice assistants and more.<\/li>\n\n\n\n<li><strong>Local control<\/strong>Unlike many commercial smart home platforms that rely on cloud services, Home Assistant runs locally on your network. This means increased privacy and reliability, as your smart home devices work even without an active internet connection.<\/li>\n\n\n\n<li><strong>Automation and scenes<\/strong>One of the main features of Home Assistant is the ability to create complex automations and scenarios. For example, you can have lights turn on automatically when it gets dark, or turn on the heating when the temperature drops below a certain level.<\/li>\n\n\n\n<li><strong>Simple user interface<\/strong>Home Assistant offers a user-friendly interface that makes it easy to monitor and control devices. This interface is fully customizable.<\/li>\n\n\n\n<li><strong>Integration with voice assistants<\/strong>Home Assistant can be integrated with voice assistants such as Amazon Alexa or Google Assistant to enable voice-controlled control of your smart home devices.<\/li>\n\n\n\n<li><strong>Open source and community-driven<\/strong>Since Home Assistant is open source, it is supported by an active community that is constantly developing new integrations and improving existing ones.<\/li>\n\n\n\n<li><strong>Data protection and security<\/strong>As a locally running platform, Home Assistant has the advantage that the data remains within its own network. This protects privacy and increases security compared to cloud-based solutions.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In summary, Home Assistant is a powerful and flexible solution for those who want to design their own smart home and control their devices centrally, regardless of the manufacturer or ecosystem.<\/p>\n\n\n\n<div class=\"atkp-container atkp-grid_3_columns-box  atkp-template-grid_3_columns\">\n            <div class=\"atkp-clearfix atkp-box-3-cols\">\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41TA8VVlYsL._SL160_.jpg\"\n                                 alt=\"SONOFF Zigbee 3.0 USB Dongle Plus,Zigbee Gateway TI CC2652P + CP2102N Zigbee USB Stick,Zigbee Hub for ZHA in Home Assistant or Zigbee2MQTT,Open HAB etc.\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B09KXTCMSC?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">SONOFF Zigbee 3.0 USB Dongle Plus,Zigbee Gateway TI CC2652P + CP2102N Zigbee USB Stick,Zigbee Hub for ZHA in Home Assistant or Zigbee2MQTT,Open HAB etc.*<\/a>\n                                                <div class=\"atkp-author\">by SONOFF<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: $24.90\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B09KXTCMSC?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/31kHS28+J0L._SL160_.jpg\"\n                                 alt=\"SONOFF Zigbee Gateway, ZBDongle-E 3.0 USB Dongle Plus,EFR32MG21 + CH9102F\/CP2102N Zigbee USB-Stick EFR32MG21 Coordinator for ZHA in Home Assistant or Zigbee2MQTT,Open HAB etc.\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0B6P22YJC?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">SONOFF Zigbee Gateway, ZBDongle-E 3.0 USB Dongle Plus,EFR32MG21 + CH9102F\/CP2102N Zigbee USB-Stick EFR32MG21 Coordinator for ZHA in Home Assistant or Zigbee2MQTT,Open HAB etc.*<\/a>\n                                                <div class=\"atkp-author\">by SONOFF<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 19.99\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0B6P22YJC?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/218101KFwlL._SL160_.jpg\"\n                                 alt=\"SONOFF Zigbee 3.0 USB Dongle Plus MG24, Zigbee Gateway with EFR32MG24, Thread &amp; Zigbee USB stick, Zigbee Controller for Home Assistant or Zigbee2MQTT\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0FMJD288B?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">SONOFF Zigbee 3.0 USB Dongle Plus MG24, Zigbee Gateway with EFR32MG24, Thread &amp; Zigbee USB stick, Zigbee Controller for Home Assistant or Zigbee2MQTT*<\/a>\n                                                <div class=\"atkp-author\">by SONOFF<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 30.52\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0FMJD288B?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                    <\/div>\n            <\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-warum-ein-smarter-wecker\"><span class=\"ez-toc-section\" id=\"Warum_ein_smarter_Wecker\"><\/span>Why a smart alarm clock?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This innovative solution offers you a customized option for an efficient morning routine. By allowing you to set customized actions before your alarm, it creates a seamless transition into the day. The flexibility to control the timing of your wake-up alarm and restrict actions based on your personal preferences and location maximizes your productivity and comfort when waking up. The integration of sunset and sunrise times optimizes your natural circadian rhythm and promotes a smooth start to the day. You can raise blinds as a precaution or use light to imitate the glow of the sun in winter to better wake you from sleep.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-was-ist-ein-blueprint\"><span class=\"ez-toc-section\" id=\"Was_ist_ein_Blueprint\"><\/span>What is a blueprint?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A blueprint in Home Assistant is a template or blueprint for automating procedures or processes in your smart home system. It is a structured configuration file that contains ready-made automation logic that you can reuse to complete specific tasks. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A blueprint defines the various input parameters, conditions, triggers and actions required for a specific automation. By using a blueprint, you can quickly and easily customize an automation by simply changing the input parameters instead of creating the entire configuration from scratch. This enables efficient and flexible automation of smart home processes in Home Assistant.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One advantage of using an existing blueprint in Home Assistant is the time saved and the simplified configuration. As the blueprint already contains ready-made automation logic, you don't have to start from scratch and create the entire configuration yourself. Instead, you can simply adjust the predefined input parameters to adapt the automation to your specific requirements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This saves time and effort when creating automations and allows you to integrate new functions into your smart home system quickly and efficiently. In addition, using an existing blueprint often also offers a certain level of security and reliability, as it has been tested and possibly improved by other users.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-wie-fuge-ich-einen-blueprint-ausserhalb-der-community-hinzu\"><span class=\"ez-toc-section\" id=\"Wie_fuge_ich_einen_Blueprint_auserhalb_der_Community_hinzu\"><\/span>How do I add a blueprint outside the community?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To create a blueprint directly in your Home Assistant instance without the user interface, you need to edit the configuration files manually. Here is a step-by-step guide:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Open the configuration files<\/strong>Connect via SSH or a similar tool to the server on which Home Assistant is running. Navigate to the directory containing the Home Assistant configuration files.<\/li>\n\n\n\n<li><strong>Navigate to the correct directory<\/strong>: Go to the directory <code>blueprints<\/code> within the Home Assistant configuration directory. If this directory does not exist, create it.<\/li>\n\n\n\n<li><strong>Create a new file for the blueprint<\/strong>: Within the directory <code>blueprints<\/code> create a new file with the extension <code>.yaml<\/code>. The name of the file should be a description of the blueprint, e.g. <code>wake_up.yaml<\/code>.<\/li>\n\n\n\n<li><strong>Edit the YAML file<\/strong>Open the newly created file in a text editor and insert the blueprint code. Make sure that the structure and syntax of the YAML code is correct, as YAML is very sensitive to indentations and characters.<\/li>\n\n\n\n<li><strong>Save the file<\/strong>Save the file after inserting the blueprint code and close the text editor.<\/li>\n\n\n\n<li><strong>Check the configuration<\/strong>Perform a check of the Home Assistant configuration to ensure that there are no errors. You can do this with the command <code>ha core check<\/code> if you have the Home Assistant CLI. However, you can also perform the check in the user interface.<\/li>\n\n\n\n<li><strong>Start or update Home Assistant<\/strong>Restart or update Home Assistant for the changes to take effect. This may vary depending on your installation method.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">After these steps, the Blueprint should be successfully created and available in your Home Assistant instance. You can now use the Blueprint ID to reference and use it in your automations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-smarter-wecker-blueprint-fur-home-assistant\"><span class=\"ez-toc-section\" id=\"Smarter_Wecker_Blueprint_fur_Home_Assistant\"><\/span>Blueprint smart alarm clock for Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This blueprint is an extension of the blueprint <a href=\"https:\/\/community.home-assistant.io\/t\/wake-up-to-configurable-actions-at-next-alarm-android\/438300\" target=\"_blank\" rel=\"noreferrer noopener\">W<\/a><a href=\"https:\/\/community.home-assistant.io\/t\/wake-up-to-configurable-actions-at-next-alarm-android\/438300\">ake up to configurable actions at next alarm (android)<\/a> from the Home Assistant community. This is deprecated, but still works perfectly!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>blueprint:\n  name: Wake up to configurable actions at next alarm (Android)\n  description: Wakes you up to configurable actions at your phones next alarm with\n    an offset\n  domain: automation\n  author: saschabrockel\n  source_url: https:\/\/community.home-assistant.io\/t\/wake-up-to-configurable-actions-at-next-alarm-android\/438300\n  input:\n    offset:\n      name: Offset\n      description: Set an offset in seconds to the next alarm. When (before) the action\n        should run\n      selector:\n        number:\n          min: 0.0\n          max: 3600.0\n          mode: box\n          step: 1.0\n          unit_of_measurement: Seconds\n    alarm_source:\n      name: Alarm Source\n      description: Select the alarm source\n      selector:\n        entity:\n          integration: mobile_app\n          device_class:\n          - timestamp\n          multiple: false\n    alarm_package:\n      name: Alarm Package\n      description: Enter the package that has to be the trigger of the next alarm\n      default: \"com.sec.android.app.clockpackage\"\n      selector:\n        text:\n    alarm_helper:\n      name: Alarm Helper\n      description: Select the date time helper\n      selector:\n        entity:\n          integration: input_datetime\n          multiple: false\n    location:\n      name: Location\n      description: Location where the person need to be for the action(s) to run\n      selector:\n        entity:\n          integration: zone\n          multiple: false\n    sunset_sunrise_active:\n      name: Sunset Sunrise\n      description: Only run during night time (between sun set and sun rise)\n      default: false\n      selector:\n        boolean: {}\n    people:\n      name: People\n      description: Actions only when this person is in the location specified\n      selector:\n        entity:\n          integration: person\n          multiple: false\n    actions:\n      name: Actions\n      description: Actions to run before alarm goes off\n      default: []\n      selector:\n        action: {}\nvariables:\n  offset: !input 'offset'\n  sunset_sunrise_active: !input 'sunset_sunrise_active'\ntrigger:\n- platform: time\n  at: !input 'alarm_helper'\n  id: wake_up\n- platform: state\n  entity_id:\n  - !input 'alarm_source'\n  id: helper_update\ncondition:\n- condition: state\n  entity_id: !input 'alarm_source'\n  attribute: Package\n  state: !input 'alarm_package'\naction:\n- choose:\n  - conditions:\n    - condition: trigger\n      id: helper_update\n    - condition: template\n      value_template: '{{ trigger.to_state.state not in [\"unknown\", \"unavailable\"]\n        }}'\n    sequence:\n    - service: input_datetime.set_datetime\n      data:\n        timestamp: '{{ (as_timestamp(trigger.to_state.state) |int ) - (offset)}}'\n      target:\n        entity_id: !input 'alarm_helper'\n  - conditions:\n    - condition: trigger\n      id: wake_up\n    - condition: zone\n      entity_id: !input 'people'\n      zone: !input 'location'\n    - condition: or\n      conditions:\n      - condition: template\n        value_template: '{{ sunset_sunrise_active == false }}'\n      - condition: sun\n        before: sunrise\n        after: sunset\n    sequence: !input 'actions'\n  default: []\nmode: single\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This blueprint in Home Assistant allows you to configure actions to be performed before your Android phone's next alarm. Here is an explanation of the different sections:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Blueprint metadata:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>name<\/code>: The name of the blueprint.<\/li>\n\n\n\n<li><code>description<\/code>: A brief description of what the Blueprint does.<\/li>\n\n\n\n<li><code>domain<\/code>: The area to which the blueprint belongs, in this case <code>automation<\/code>.<\/li>\n\n\n\n<li><code>author<\/code>: The author of the Blueprint.<\/li>\n\n\n\n<li><code>source_url<\/code>: The URL under which the blueprint can be found.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Inputs:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>offset<\/code>An offset in seconds to specify when the action should be executed before the alarm.<\/li>\n\n\n\n<li><code>alarm_source<\/code>The source of the alarm, usually a mobile device connected to the Home Assistant app.<\/li>\n\n\n\n<li><code>alarm_package<\/code>: The package (the app) that triggers the next alarm.<\/li>\n\n\n\n<li><code>alarm_helper<\/code>: A date and time helper used to store the time of the next alarm.<\/li>\n\n\n\n<li><code>location<\/code>: The location where the person must be in order for the actions to be executed.<\/li>\n\n\n\n<li><code>sunset_sunrise_active<\/code>An option to specify whether the actions should only be executed during the night (between sunset and sunrise).<\/li>\n\n\n\n<li><code>people<\/code>The person for whom the actions are to be executed.<\/li>\n\n\n\n<li><code>actions<\/code>The actions to be performed before the alarm.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Variables:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>offset<\/code>Value of the offset entered.<\/li>\n\n\n\n<li><code>sunset_sunrise_active<\/code>Value of the input for the \"Sunset\/sunrise active\" option.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Trigger:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>time<\/code>: The trigger is based on the time spent in the <code>alarm_helper<\/code>-input is defined.<\/li>\n\n\n\n<li><code>state<\/code>: The trigger occurs when the condition of the <code>alarm_source<\/code>-entity changes.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Conditions:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Checks whether the status of the alarm corresponds to that in the <code>alarm_package<\/code>-The package matches the package specified in the<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Action (Actions):<\/strong>\n<ul class=\"wp-block-list\">\n<li>Checks various conditions, including the time (<code>wake_up<\/code>-trigger), the location and sunset\/sunrise conditions before the actions are executed.<\/li>\n\n\n\n<li>If all conditions are met, the defined actions are executed.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Mode:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>single<\/code>This means that the blueprint is only executed once when the triggers occur.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In summary, this blueprint allows configuring actions to be performed before the next alarm of an Android phone in Home Assistant with various customization options such as offset, alarm source, location, sunset\/sunrise activity, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"youtube\"><span class=\"ez-toc-section\" id=\"Umsetzung_im_YouTube-Video\"><\/span>YouTube video implementation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Never oversleep again: smart alarm clock with Home Assistant! Creating a morning routine\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/9Pop7macc28?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-fazit\"><span class=\"ez-toc-section\" id=\"Fazit\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In an increasingly connected world, a smart alarm clock is the perfect way to optimize your morning routine and make your day more productive. With the flexibility to set customized actions before your alarm, you can experience a smooth transition into the day and increase your productivity. The integration of sunset and sunrise times synchronizes your natural circadian rhythm and supports an energetic start to the day. In addition, the use of home assistant blueprints like this one enables customized automation that meets your personal needs and offers you maximum convenience. A smart alarm clock is not just a gadget, but an indispensable tool for an optimized wake-up experience and a successful start to the day.<\/p>\n\n\n\n<div id=\"jp-block-themeisle-blocks-font-awesome-icons-8c6d8bc1\" class=\"wp-block-themeisle-blocks-font-awesome-icons jp-block-themeisle-blocks-font-awesome-icons\"><span class=\"wp-block-themeisle-blocks-font-awesome-icons-container\"><a href=\"https:\/\/sascha-brockel.de\/en\/#contact\" target=\"_self\" rel=\"noopener noreferrer\"><i class=\"fas fa-business-time\"><\/i><\/a><\/span><\/div>\n\n\n\n<h4 id=\"jp-block-themeisle-blocks-advanced-heading-baa7fa4c\" class=\"wp-block-themeisle-blocks-advanced-heading jp-block-themeisle-blocks-advanced-heading-baa7fa4c jp-block-themeisle-blocks-advanced-heading ticss-116fe371\">Interested, but lack time or knowledge?<\/h4>\n\n\n\n<p id=\"jp-block-themeisle-blocks-advanced-heading-16f35f43\" class=\"wp-block-themeisle-blocks-advanced-heading jp-block-themeisle-blocks-advanced-heading-16f35f43 jp-block-themeisle-blocks-advanced-heading ticss-0e2b851d\">No problem. Contact me and we will discuss your requirements. No matter if business or private.<\/p>\n\n\n\n<div id=\"jp-block-themeisle-blocks-button-group-77e0455a\" class=\"wp-block-themeisle-blocks-button-group wp-block-buttons align-center jp-block-themeisle-blocks-button-group jp-block-buttons\">\n<div id=\"jp-block-themeisle-blocks-button-c6fb3687\" class=\"wp-block-themeisle-blocks-button wp-block-button jp-block-themeisle-blocks-button jp-block-button\"><a href=\"https:\/\/sascha-brockel.de\/en\/#contact\" target=\"_self\" rel=\"noopener noreferrer\" class=\"wp-block-button__link\"><i class=\"fas fa-fw fa-phone-volume margin-right\"><\/i><span>Contact<\/span><\/a><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Warum ein smarter Wecker? Diese innovative L\u00f6sung bietet dir eine ma\u00dfgeschneiderte M\u00f6glichkeit f\u00fcr eine effiziente Morgenroutine. Indem sie es dir erm\u00f6glicht, individuelle Aktionen vor deinem Weckalarm festzulegen, schafft sie einen nahtlosen \u00dcbergang in den Tag. Die Flexibilit\u00e4t, den Zeitpunkt deines Weckalarms zu steuern und Aktionen basierend auf deinen pers\u00f6nlichen Vorlieben [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1564,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[32],"tags":[46,28],"class_list":["post-1561","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-smart-home","tag-home-assistant","tag-smart-home"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Smarter Wecker mit Home Assistant - Morgenroutine erstellen - Sascha Brockel<\/title>\n<meta name=\"description\" content=\"Optimiere deine Morgenroutine mit einem intelligenten Wecker \u00fcber Home Assistant. Entdecke smarte Weckfunktionen f\u00fcr deinen Start in den Tag!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Smarter Wecker mit Home Assistant - Morgenroutine erstellen\" \/>\n<meta property=\"og:description\" content=\"Optimiere deine Morgenroutine mit einem intelligenten Wecker \u00fcber Home Assistant. Entdecke smarte Weckfunktionen f\u00fcr deinen Start in den Tag!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/\" \/>\n<meta property=\"og:site_name\" content=\"Sascha Brockel\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-22T12:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T02:24:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/03\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"4032\" \/>\n\t<meta property=\"og:image:height\" content=\"2688\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sascha Brockel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@saschabrockel\" \/>\n<meta name=\"twitter:site\" content=\"@saschabrockel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sascha Brockel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/\"},\"author\":{\"name\":\"Sascha Brockel\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"headline\":\"Smarter Wecker mit Home Assistant &#8211; Morgenroutine erstellen\",\"datePublished\":\"2024-03-22T12:00:00+00:00\",\"dateModified\":\"2024-04-28T02:24:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/\"},\"wordCount\":1153,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"image\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1\",\"keywords\":[\"Home Assistant\",\"Smart Home\"],\"articleSection\":[\"Smart Home\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#respond\"]}],\"copyrightYear\":\"2024\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/\",\"url\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/\",\"name\":\"Smarter Wecker mit Home Assistant - Morgenroutine erstellen - Sascha Brockel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1\",\"datePublished\":\"2024-03-22T12:00:00+00:00\",\"dateModified\":\"2024-04-28T02:24:08+00:00\",\"description\":\"Optimiere deine Morgenroutine mit einem intelligenten Wecker \u00fcber Home Assistant. Entdecke smarte Weckfunktionen f\u00fcr deinen Start in den Tag!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1\",\"width\":4032,\"height\":2688,\"caption\":\"Smarter Alarm mit Home Assistant\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/smart-alarm-clock-with-home-assistant\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/sascha-brockel.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smarter Wecker mit Home Assistant &#8211; Morgenroutine erstellen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#website\",\"url\":\"https:\\\/\\\/sascha-brockel.de\\\/\",\"name\":\"Sascha Brockel\",\"description\":\"Fortschritt kennt keine Grenzen\",\"publisher\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sascha-brockel.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\",\"name\":\"Sascha Brockel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"width\":709,\"height\":945,\"caption\":\"Sascha Brockel\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\"},\"sameAs\":[\"https:\\\/\\\/sascha-brockel.de\\\/\",\"https:\\\/\\\/www.instagram.com\\\/saschabrockel\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sascha-brockel-b20725164\\\/\",\"https:\\\/\\\/x.com\\\/saschabrockel\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCogo25FboCahP7s8--HDuIQ\"]}]}<\/script>\n<meta property=\"og:video\" content=\"https:\/\/www.youtube.com\/embed\/9Pop7macc28\" \/>\n<meta property=\"og:video:type\" content=\"text\/html\" \/>\n<meta property=\"og:video:duration\" content=\"457\" \/>\n<meta property=\"og:video:width\" content=\"480\" \/>\n<meta property=\"og:video:height\" content=\"270\" \/>\n<meta property=\"ya:ovs:adult\" content=\"false\" \/>\n<meta property=\"ya:ovs:upload_date\" content=\"2024-03-22T12:00:00+00:00\" \/>\n<meta property=\"ya:ovs:allow_embed\" content=\"true\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Smart alarm clock with Home Assistant - Create a morning routine - Sascha Brockel","description":"Optimize your morning routine with a smart alarm clock via Home Assistant. Discover smart alarm functions for your start to the day!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/","og_locale":"en_US","og_type":"article","og_title":"Smarter Wecker mit Home Assistant - Morgenroutine erstellen","og_description":"Optimiere deine Morgenroutine mit einem intelligenten Wecker \u00fcber Home Assistant. Entdecke smarte Weckfunktionen f\u00fcr deinen Start in den Tag!","og_url":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/","og_site_name":"Sascha Brockel","article_published_time":"2024-03-22T12:00:00+00:00","article_modified_time":"2024-04-28T02:24:08+00:00","og_image":[{"width":4032,"height":2688,"url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/03\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1","type":"image\/jpeg"}],"author":"Sascha Brockel","twitter_card":"summary_large_image","twitter_creator":"@saschabrockel","twitter_site":"@saschabrockel","twitter_misc":{"Written by":"Sascha Brockel","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#article","isPartOf":{"@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/"},"author":{"name":"Sascha Brockel","@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"headline":"Smarter Wecker mit Home Assistant &#8211; Morgenroutine erstellen","datePublished":"2024-03-22T12:00:00+00:00","dateModified":"2024-04-28T02:24:08+00:00","mainEntityOfPage":{"@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/"},"wordCount":1153,"commentCount":0,"publisher":{"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"image":{"@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/03\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1","keywords":["Home Assistant","Smart Home"],"articleSection":["Smart Home"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#respond"]}],"copyrightYear":"2024","copyrightHolder":{"@id":"https:\/\/sascha-brockel.de\/en\/#organization"}},{"@type":"WebPage","@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/","url":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/","name":"Smart alarm clock with Home Assistant - Create a morning routine - Sascha Brockel","isPartOf":{"@id":"https:\/\/sascha-brockel.de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#primaryimage"},"image":{"@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/03\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1","datePublished":"2024-03-22T12:00:00+00:00","dateModified":"2024-04-28T02:24:08+00:00","description":"Optimize your morning routine with a smart alarm clock via Home Assistant. Discover smart alarm functions for your start to the day!","breadcrumb":{"@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#primaryimage","url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/03\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1","contentUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/03\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1","width":4032,"height":2688,"caption":"Smarter Alarm mit Home Assistant"},{"@type":"BreadcrumbList","@id":"https:\/\/sascha-brockel.de\/en\/smart-alarm-clock-with-home-assistant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/sascha-brockel.de\/"},{"@type":"ListItem","position":2,"name":"Smarter Wecker mit Home Assistant &#8211; Morgenroutine erstellen"}]},{"@type":"WebSite","@id":"https:\/\/sascha-brockel.de\/#website","url":"https:\/\/sascha-brockel.de\/","name":"Sascha Brockel","description":"Progress knows no boundaries","publisher":{"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sascha-brockel.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970","name":"Sascha Brockel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","contentUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","width":709,"height":945,"caption":"Sascha Brockel"},"logo":{"@id":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1"},"sameAs":["https:\/\/sascha-brockel.de\/","https:\/\/www.instagram.com\/saschabrockel\/","https:\/\/www.linkedin.com\/in\/sascha-brockel-b20725164\/","https:\/\/x.com\/saschabrockel","https:\/\/www.youtube.com\/channel\/UCogo25FboCahP7s8--HDuIQ"]}]},"og_video":"https:\/\/www.youtube.com\/embed\/9Pop7macc28","og_video_type":"text\/html","og_video_duration":"457","og_video_width":"480","og_video_height":"270","ya_ovs_adult":"false","ya_ovs_upload_date":"2024-03-22T12:00:00+00:00","ya_ovs_allow_embed":"true"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/03\/pexels-miriam-alonso-7622514-scaled.jpg?fit=4032%2C2688&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/1561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/comments?post=1561"}],"version-history":[{"count":8,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/1561\/revisions"}],"predecessor-version":[{"id":1651,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/1561\/revisions\/1651"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/media\/1564"}],"wp:attachment":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/media?parent=1561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/categories?post=1561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/tags?post=1561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}